com.metamatrix.metadata.runtime.model
Class BasicKeyID

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

public class BasicKeyID
extends BasicMetadataID
implements KeyID

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.metamatrix.metadata.runtime.model.BasicMetadataID
DELIMITER, FAKE_NAME, NOT_DEFINED, WILDCARD
 
Constructor Summary
BasicKeyID(java.lang.String fullName)
          Call constructor to instantiate a BasicKeyID object for the fully qualified Key name.
BasicKeyID(java.lang.String fullName, long internalUniqueID)
          Call constructor to instantiate a BasicKeyID object for the fully qualified Key name and an internal unique identifier.
 
Method Summary
 GroupID getGroupID()
          return the group name.
 java.lang.String getGroupName()
           
 ModelID getModelID()
          return the modelID this key is a part of.
 java.lang.String getModelName()
           
 void setGroupID(GroupID groupID)
           
 void setModelID(ModelID modelID)
           
 
Methods inherited from class com.metamatrix.metadata.runtime.model.BasicMetadataID
clone, compareTo, compareToByName, computeHashCode, equals, 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, equals, getFullName, getName, getNameComponent, getNameComponents, getParentFullName, getPath, hashCode, size, toString
 

Constructor Detail

BasicKeyID

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


BasicKeyID

public BasicKeyID(java.lang.String fullName)
Call constructor to instantiate a BasicKeyID object for the fully qualified Key name.

Method Detail

getGroupID

public GroupID getGroupID()
return the group name.

Specified by:
getGroupID in interface KeyID
Returns:
GroupID is the group the key is contained in

getModelID

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

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

getModelName

public java.lang.String getModelName()

getGroupName

public java.lang.String getGroupName()

setGroupID

public void setGroupID(GroupID groupID)

setModelID

public void setModelID(ModelID modelID)


Copyright © 2009. All Rights Reserved.