com.metamatrix.common.config.model
Class BasicResourceDescriptor

java.lang.Object
  extended by com.metamatrix.common.namedobject.BasicObject
      extended by com.metamatrix.common.config.model.BasicComponentObject
          extended by com.metamatrix.common.config.model.BasicComponentDefn
              extended by com.metamatrix.common.config.model.BasicResourceDescriptor
All Implemented Interfaces:
ComponentDefn, ComponentObject, ResourceDescriptor, BaseObject, PropertiedObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class BasicResourceDescriptor
extends BasicComponentDefn
implements ResourceDescriptor

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.metamatrix.common.config.api.ComponentDefn
AUTHPROVIDER_COMPONENT_CODE, CONFIGURATION_COMPONENT_CODE, CONNECTOR_COMPONENT_CODE, DEPLOYED_COMPONENT_CODE, HOST_COMPONENT_CODE, PRODUCT_COMPONENT_CODE, RESOURCE_DESCRIPTOR_COMPONENT_CODE, SERVICE_COMPONENT_CODE, SHARED_RESOURCE_COMPONENT_CODE, VM_COMPONENT_CODE
 
Constructor Summary
protected BasicResourceDescriptor(BasicResourceDescriptor component)
           
  BasicResourceDescriptor(ConfigurationID configurationID, ResourceDescriptorID componentID, ComponentTypeID typeID)
           
  BasicResourceDescriptor(ConfigurationID configurationID, ResourceDescriptorID componentID, ComponentTypeID typeID, java.util.Properties props)
           
 
Method Summary
 java.lang.Object clone()
          Return a deep cloned instance of this object.
 java.lang.String toString()
          Returns a string representing the name of the object.
 
Methods inherited from class com.metamatrix.common.config.model.BasicComponentDefn
getConfigurationID, isDependentUpon, isEnabled, isEssential
 
Methods inherited from class com.metamatrix.common.config.model.BasicComponentObject
accept, addProperties, addProperty, getComponentTypeID, getCreatedBy, getCreatedDate, getCreatedDateString, getDescription, getEditableProperties, getLastChangedBy, getLastChangedDate, getLastChangedDateString, getProperties, getProperty, removeProperties, removeProperty, setCreatedBy, setCreatedDate, setDescription, setLastChangedBy, setLastChangedDate, setProperties
 
Methods inherited from class com.metamatrix.common.namedobject.BasicObject
compareTo, equals, getFullName, getID, getName, hashCode, setID
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.metamatrix.common.config.api.ResourceDescriptor
accept
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentDefn
getConfigurationID, isEnabled, isEssential
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentObject
getComponentTypeID, getCreatedBy, getCreatedDate, getDescription, getLastChangedBy, getLastChangedDate, getName, getProperties, getProperty, isDependentUpon
 
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject
getFullName, getID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

BasicResourceDescriptor

public BasicResourceDescriptor(ConfigurationID configurationID,
                               ResourceDescriptorID componentID,
                               ComponentTypeID typeID)

BasicResourceDescriptor

public BasicResourceDescriptor(ConfigurationID configurationID,
                               ResourceDescriptorID componentID,
                               ComponentTypeID typeID,
                               java.util.Properties props)

BasicResourceDescriptor

protected BasicResourceDescriptor(BasicResourceDescriptor component)
Method Detail

clone

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

Specified by:
clone in interface BaseObject
Overrides:
clone in class BasicObject
Returns:
the object that is the clone of this instance.

toString

public java.lang.String toString()
Returns a string representing the name of the object. This has been overriden for GUI display purposes - the Console only wants to display the "name" (not the "fullname") of a component object.Me

Overrides:
toString in class BasicComponentObject
Returns:
the string representation of this instance.


Copyright © 2009. All Rights Reserved.