com.metamatrix.common.config.model
Class BasicServiceComponentDefn
java.lang.Object
com.metamatrix.common.namedobject.BasicObject
com.metamatrix.common.config.model.BasicComponentObject
com.metamatrix.common.config.model.BasicComponentDefn
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
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, PSC_COMPONENT_CODE, RESOURCE_DESCRIPTOR_COMPONENT_CODE, SERVICE_COMPONENT_CODE, SHARED_RESOURCE_COMPONENT_CODE, VM_COMPONENT_CODE |
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. |
boolean |
isQueuedService()
|
void |
setIsQueuedService(boolean isQueued)
|
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.BasicComponentObject |
accept, getComponentTypeID, getCreatedBy, getCreatedDate, getCreatedDateString, getDescription, getLastChangedBy, getLastChangedDate, getLastChangedDateString, getProperties, getProperty, setCreatedBy, setCreatedDate, setDescription, setLastChangedBy, setLastChangedDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
BasicServiceComponentDefn
public BasicServiceComponentDefn(ConfigurationID configurationID,
ServiceComponentDefnID componentID,
ComponentTypeID typeID)
BasicServiceComponentDefn
protected BasicServiceComponentDefn(BasicServiceComponentDefn component)
isQueuedService
public boolean isQueuedService()
- Specified by:
isQueuedService
in interface ServiceComponentDefn
setIsQueuedService
public void setIsQueuedService(boolean isQueued)
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.