com.metamatrix.common.config.model
Class BasicProductServiceConfig
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.BasicProductServiceConfig
- All Implemented Interfaces:
- ComponentDefn, ComponentObject, ProductServiceConfig, BaseObject, PropertiedObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class BasicProductServiceConfig
- extends BasicComponentDefn
- implements ProductServiceConfig, 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 |
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, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
BasicProductServiceConfig
public BasicProductServiceConfig(ConfigurationID configurationID,
ProductServiceConfigID componentID,
ProductTypeID productTypeID)
BasicProductServiceConfig
protected BasicProductServiceConfig(BasicProductServiceConfig psc)
isServiceEnabled
public boolean isServiceEnabled(ServiceComponentDefnID serviceID)
- Description copied from interface:
ProductServiceConfig
- Indicates if this Service Definition is enabled within the PSC
that contains it; "enabled" refers to it being enabled for
deployment, if the containing PSC is deployed.
- Specified by:
isServiceEnabled
in interface ProductServiceConfig
- Returns:
- boolean indicating if this service definition will be deployed
if the PSC which contains it is deployed
setServiceEnabled
public void setServiceEnabled(ServiceComponentDefnID serviceID,
boolean isEnabled)
containsService
public boolean containsService(ServiceComponentDefnID serviceID)
- Description copied from interface:
ProductServiceConfig
- Indicates if the service belongs to this PSC.
- Specified by:
containsService
in interface ProductServiceConfig
getServiceComponentDefnIDs
public java.util.Collection getServiceComponentDefnIDs()
- Returns a cloned Collection of ServiceComponentDefnID objects, which
represent the service component definitions that are contained
by this product service configuration.
- Specified by:
getServiceComponentDefnIDs
in interface ProductServiceConfig
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.
Copyright © 2009. All Rights Reserved.