com.metamatrix.common.config.api
Class HostID
java.lang.Object
  
com.metamatrix.common.namedobject.BaseID
      
com.metamatrix.common.config.api.ComponentObjectID
          
com.metamatrix.common.config.api.ComponentDefnID
              
com.metamatrix.common.config.api.HostID
- All Implemented Interfaces: 
 - java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
 
public class HostID
- extends ComponentDefnID
 
- See Also:
 - Serialized Form
 
 
 
| 
Constructor Summary | 
HostID(java.lang.String hostName)
 
            | 
 
| 
Method Summary | 
 java.lang.String | 
getName()
 
          Obtain the last name component this identifier. | 
 java.util.List | 
getNameComponents()
 
          Obtain the list of atomic name components for this ID. | 
 java.lang.String | 
getParentFullName()
 
          Return the full name of the parent. | 
 boolean | 
hasParent()
 
            | 
 
| Methods inherited from class com.metamatrix.common.namedobject.BaseID | 
clone, compareTo, compareToByName, computeHashCode, equals, getFullName, getNameComponent, hashCode, size, toString, updateHashCode | 
 
| Methods inherited from class java.lang.Object | 
finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
HostID
public HostID(java.lang.String hostName)
getName
public java.lang.String getName()
- Description copied from class: 
BaseID 
- Obtain the last name component this identifier.  This last name component
 is the logical name for the object that this identifier represents.
- Overrides:
 getName in class BaseID
 
- Returns:
 - the name for this identifier.
 
 
 
getNameComponents
public java.util.List getNameComponents()
- Description copied from class: 
BaseID 
- Obtain the list of atomic name components for this ID.
- Overrides:
 getNameComponents in class BaseID
 
- Returns:
 - the unmodifiable list of String objects.
 
 
 
getParentFullName
public java.lang.String getParentFullName()
- Description copied from class: 
BaseID 
- Return the full name of the parent.  This is a convenience method to return
 the list of atomic name components that excludes this ID's last atomic name component.
- Overrides:
 getParentFullName in class BaseID
 
- Returns:
 - the full name of the parent, or null if this ID has no parent.
 
 
 
hasParent
public final boolean hasParent()
- Overrides:
 hasParent in class BaseID
 
 
Copyright © 2009. All Rights Reserved.