com.metamatrix.common.config.model
Class BasicServiceComponentDefn

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.BasicServiceComponentDefn
All Implemented Interfaces:
ComponentDefn, ComponentObject, ServiceComponentDefn, BaseObject, PropertiedObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
BasicConnectorBinding

public class BasicServiceComponentDefn
extends BasicComponentDefn
implements ServiceComponentDefn, java.io.Serializable

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 BasicServiceComponentDefn(BasicServiceComponentDefn component)
           
  BasicServiceComponentDefn(ConfigurationID configurationID, ServiceComponentDefnID componentID, ComponentTypeID typeID)
           
 
Method Summary
 java.lang.Object clone()
          Return a deep cloned instance of this object.
static java.lang.String getDisplayableName(java.lang.String serviceDefinitionName)
          Kludge method which, given the kludgey automatically-generated service definition name of the form "PSCName#$%_ServiceDefinitionName", will return just the end of that name, aka "ServiceDefinitionName".
 java.lang.String getRoutingUUID()
          Returns the String globally unique routing UUID for this ServiceComponentDefn if it is a Connector Binding; otherwise returns null.
 void setRoutingUUID(java.lang.String routingUUID)
           
 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.ServiceComponentDefn
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

BasicServiceComponentDefn

public BasicServiceComponentDefn(ConfigurationID configurationID,
                                 ServiceComponentDefnID componentID,
                                 ComponentTypeID typeID)

BasicServiceComponentDefn

protected BasicServiceComponentDefn(BasicServiceComponentDefn component)
Method Detail

getRoutingUUID

public java.lang.String getRoutingUUID()
Returns the String globally unique routing UUID for this ServiceComponentDefn if it is a Connector Binding; otherwise returns null.

Specified by:
getRoutingUUID in interface ServiceComponentDefn
Returns:
String routing UUID

setRoutingUUID

public void setRoutingUUID(java.lang.String routingUUID)

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.

getDisplayableName

public static final java.lang.String getDisplayableName(java.lang.String serviceDefinitionName)
Kludge method which, given the kludgey automatically-generated service definition name of the form "PSCName#$%_ServiceDefinitionName", will return just the end of that name, aka "ServiceDefinitionName". If the name does not have the "#$%_" character combination, then the name will be returned unmodified



Copyright © 2009. All Rights Reserved.