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

java.lang.Object
  extended by com.metamatrix.api.core.xmi.XMIHeader.Model
Direct Known Subclasses:
XMIHeader.MetaMetaModel, XMIHeader.MetaModel
Enclosing class:
XMIHeader

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

Class that represents the "xmi.model" 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 of the model
 java.lang.String getName()
          Return the model name
 java.lang.String getVersion()
          Return the model version
 void setHref(java.lang.String href)
          Set the URI of the model
 
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 model name

Returns:
the model name

getVersion

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

Returns:
the version

getHref

public java.lang.String getHref()
Return the URI of the model

Returns:
the URI

setHref

public void setHref(java.lang.String href)
Set the URI of the model

Parameters:
href - the URI of the model

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 text

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 Model objects are equivalent, or false otherwise


Copyright © 2009. All Rights Reserved.