com.metamatrix.metadata.runtime.model
Class BasicModelID
java.lang.Object
com.metamatrix.metadata.runtime.model.BasicMetadataID
com.metamatrix.metadata.runtime.model.BasicModelID
- All Implemented Interfaces:
- MetadataID, ModelID, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class BasicModelID
- extends BasicMetadataID
- implements ModelID
- See Also:
- Serialized Form
Constructor Summary |
BasicModelID(java.lang.String fullName)
Call constructor to instantiate a ModelID object for the fully qualified Model name. |
BasicModelID(java.lang.String fullName,
java.lang.String version)
Call constructor to instantiate a ModelID object for the fully qualified Model name and version. |
BasicModelID(java.lang.String fullName,
java.lang.String version,
long internalUniqueID)
Call constructor to instantiate a ModelID object for the fully qualified Model name, version and an internal unique identifier. |
Method Summary |
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance. |
java.lang.String |
getUuid()
|
java.lang.String |
getVersion()
returns the version. |
java.lang.String |
getVersionDate()
|
void |
setUuid(java.lang.String uuid)
|
void |
setVersion(java.lang.String version)
|
void |
setVersionDate(java.lang.String dateString)
|
Methods inherited from class com.metamatrix.metadata.runtime.model.BasicMetadataID |
clone, compareTo, compareToByName, computeHashCode, getFullName, getName, getNameComponent, getNameComponents, getParentFullName, getPath, getUID, hashCode, hasParent, setFullName, setGroupFullName, setModelName, setName, setShortName, setUID, size, toString, updateHashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.metamatrix.metadata.runtime.api.MetadataID |
clone, compareTo, compareToByName, getFullName, getName, getNameComponent, getNameComponents, getParentFullName, getPath, hashCode, size, toString |
BasicModelID
public BasicModelID(java.lang.String fullName,
java.lang.String version,
long internalUniqueID)
- Call constructor to instantiate a ModelID object for the fully qualified Model name, version and an internal unique identifier.
BasicModelID
public BasicModelID(java.lang.String fullName,
java.lang.String version)
- Call constructor to instantiate a ModelID object for the fully qualified Model name and version.
BasicModelID
public BasicModelID(java.lang.String fullName)
- Call constructor to instantiate a ModelID object for the fully qualified Model name.
equals
public boolean equals(java.lang.Object obj)
- Returns true if the specified object is semantically equal to this instance.
- Specified by:
equals
in interface MetadataID
- Overrides:
equals
in class BasicMetadataID
- Parameters:
obj
- the object that this instance is to be compared to.
- Returns:
- whether the object is equal to this object.
getVersion
public java.lang.String getVersion()
- returns the version.
- Specified by:
getVersion
in interface ModelID
- Returns:
- String
setVersion
public void setVersion(java.lang.String version)
getUuid
public java.lang.String getUuid()
setUuid
public void setUuid(java.lang.String uuid)
getVersionDate
public java.lang.String getVersionDate()
setVersionDate
public void setVersionDate(java.lang.String dateString)
Copyright © 2009. All Rights Reserved.