com.metamatrix.api.core.xmi
Class XMIHeader.Import

java.lang.Object
  extended by com.metamatrix.api.core.xmi.XMIHeader.Import
Enclosing class:
XMIHeader

public static class XMIHeader.Import
extends java.lang.Object

Class that represents the "xmi.import" tag in the header.


Method Summary
 void addContent(java.lang.String content)
          Set the content of the "xmi.model" tag
 boolean equals(java.lang.Object obj)
          Determine whether two objects are equivalent
 java.lang.String getContent()
          Return the content of the "xmi.model" tag
 java.lang.String getHref()
          Return the URI for the import
 java.lang.String getName()
          Return the import name
 java.lang.String getVersion()
          Return the import version
 void setHref(java.lang.String href)
          Set the URI for the import
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Return the import name

Returns:
the name

getVersion

public java.lang.String getVersion()
Return the import version

Returns:
the version

getHref

public java.lang.String getHref()
Return the URI for the import

Returns:
the URI

setHref

public void setHref(java.lang.String href)
Set the URI for the import

Parameters:
href - the URI

getContent

public java.lang.String getContent()
Return the content of the "xmi.model" tag

Returns:
the text

addContent

public void addContent(java.lang.String content)
Set the content of the "xmi.model" tag

Parameters:
content - the content

equals

public boolean equals(java.lang.Object obj)
Determine whether two objects are equivalent

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to be compared
Returns:
true if both Import objects are equivalent, or false otherwise


Copyright © 2009. All Rights Reserved.