com.metamatrix.common.namedobject
Interface BaseObject

All Superinterfaces:
java.lang.Cloneable, java.lang.Comparable
All Known Subinterfaces:
AuthenticationProvider, AuthenticationProviderType, ComponentDefn, ComponentObject, ComponentType, ComponentTypeDefn, Configuration, ConfigurationInfo, ConnectorBinding, ConnectorBindingType, DeployedComponent, ExtensionModule, Host, HostType, PropDefnAllowedValue, ResourceComponentType, ResourceDescriptor, ServiceComponentDefn, ServiceComponentType, SharedResource, VMComponentDefn, VMComponentDefnType
All Known Implementing Classes:
BasicAuthenticationProvider, BasicAuthenticationProviderType, BasicComponentDefn, BasicComponentObject, BasicComponentType, BasicComponentTypeDefn, BasicConfiguration, BasicConfigurationInfo, BasicConnectorBinding, BasicConnectorBindingType, BasicDeployedComponent, BasicExtensionModule, BasicHost, BasicHostType, BasicObject, BasicPropDefnAllowedValue, BasicResourceComponentType, BasicResourceDescriptor, BasicServiceComponentDefn, BasicServiceComponentType, BasicSharedResource, BasicVMComponentDefn, BasicVMComponentDefnType

public interface BaseObject
extends java.lang.Comparable, java.lang.Cloneable


Method Summary
 java.lang.Object clone()
          Return a deep cloned instance of this object.
 java.lang.String getFullName()
          Returns the full name for this instance of the object.
 BaseID getID()
          Return the identifier for this object.
 java.lang.String getName()
          Returns the name for this instance of the object.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getID

BaseID getID()
Return the identifier for this object. The returned type will be an instance of the BaseID subclass which corresponds to the class of this node.

Returns:
the specialized BaseID instance for this node.

getName

java.lang.String getName()
Returns the name for this instance of the object. If you are using the dot notation for a naming conventions, this will return the last node in name.

Returns:
the name
See Also:
getFullName

getFullName

java.lang.String getFullName()
Returns the full name for this instance of the object.

Returns:
the name

clone

java.lang.Object clone()
Return a deep cloned instance of this object. Subclasses must override this method.

Returns:
the object that is the clone of this instance. Defaults cannot be cloned).


Copyright © 2009. All Rights Reserved.