com.metamatrix.metadata.runtime.model
Class BasicDataTypeID

java.lang.Object
  extended by com.metamatrix.metadata.runtime.model.BasicMetadataID
      extended by com.metamatrix.metadata.runtime.model.BasicDataTypeID
All Implemented Interfaces:
DataTypeID, MetadataID, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class BasicDataTypeID
extends BasicMetadataID
implements DataTypeID

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.model.BasicMetadataID
DELIMITER, FAKE_NAME, NOT_DEFINED, WILDCARD
 
Constructor Summary
protected BasicDataTypeID(java.lang.String fullName)
          Call constructor to instantiate a BasicDataTypeID object for the fully qualified name.
  BasicDataTypeID(java.lang.String fullName, long internalUniqueID)
          Call constructor to instantiate a BasicDataTypeID object for the fully qualified name and an internal unique identifier.
 
Method Summary
 int compareTo(java.lang.Object obj)
          Override parent method to compare UID
 boolean equals(java.lang.Object obj)
          Override parent method to compare UID
 ModelID getModelID()
          return the modelID this key is a part of.
 java.lang.String getUuid()
           
 void setModelID(ModelID id)
           
 void setUuid(java.lang.String uuid)
           
 
Methods inherited from class com.metamatrix.metadata.runtime.model.BasicMetadataID
clone, 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, compareToByName, getFullName, getName, getNameComponent, getNameComponents, getParentFullName, getPath, hashCode, size, toString
 

Constructor Detail

BasicDataTypeID

public BasicDataTypeID(java.lang.String fullName,
                       long internalUniqueID)
Call constructor to instantiate a BasicDataTypeID object for the fully qualified name and an internal unique identifier.


BasicDataTypeID

protected BasicDataTypeID(java.lang.String fullName)
Call constructor to instantiate a BasicDataTypeID object for the fully qualified name.

Method Detail

getModelID

public ModelID getModelID()
return the modelID this key is a part of.

Specified by:
getModelID in interface DataTypeID
Returns:
ModelID is the model the key is contained in

setModelID

public void setModelID(ModelID id)

equals

public boolean equals(java.lang.Object obj)
Override parent method to compare UID

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.

compareTo

public int compareTo(java.lang.Object obj)
Override parent method to compare UID

Specified by:
compareTo in interface MetadataID
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class BasicMetadataID
Parameters:
obj - the object that this instance is to be compared to.
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object, respectively.

getUuid

public java.lang.String getUuid()

setUuid

public void setUuid(java.lang.String uuid)


Copyright © 2009. All Rights Reserved.