com.metamatrix.common.config.model
Class BasicProductType
java.lang.Object
com.metamatrix.common.namedobject.BasicObject
com.metamatrix.common.config.model.BasicComponentType
com.metamatrix.common.config.model.BasicProductType
- All Implemented Interfaces:
- ComponentType, ProductType, BaseObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class BasicProductType
- extends BasicComponentType
- implements ProductType, java.io.Serializable
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Object |
clone()
Return a deep cloned instance of this object. |
boolean |
contains(ComponentTypeID componentTypeID)
Returns true if thie component type is contained in
this instance of the product type. |
java.util.Collection |
getComponentTypeIDs()
Returns a cloned Collection of ComponentTypeID objects, each representing
a type of service that this Product is comprised of |
| Methods inherited from class com.metamatrix.common.config.model.BasicComponentType |
accept, addComponentTypeDefinition, getComponentTypeCode, getComponentTypeDefinition, getComponentTypeDefinitions, getCreatedBy, getCreatedDate, getCreatedDateString, getDefaultPropertyValues, getDefaultValue, getDescription, getLastChangedBy, getLastChangedDate, getLastChangedDateString, getMaskedPropertyNames, getParentComponentTypeID, getSuperComponentTypeID, isDeployable, isDeprecated, isMonitored, isOfConnectorProductType, isOfTypeConnector, isOfTypeXAConnector, removeComponentTypeDefinition, setComponentTypeCode, setComponentTypeDefinitions, setCreatedBy, setCreatedDate, setDescription, setIsDeprecated, setLastChangedBy, setLastChangedDate, setParentComponentTypeID, setSuperComponentTypeID |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.metamatrix.common.config.api.ComponentType |
accept, getComponentTypeCode, getComponentTypeDefinition, getComponentTypeDefinitions, getCreatedBy, getCreatedDate, getDefaultPropertyValues, getDefaultValue, getDescription, getLastChangedBy, getLastChangedDate, getMaskedPropertyNames, getParentComponentTypeID, getSuperComponentTypeID, isDeployable, isDeprecated, isMonitored, isOfConnectorProductType, isOfTypeConnector, isOfTypeXAConnector |
| Methods inherited from interface java.lang.Comparable |
compareTo |
BasicProductType
public BasicProductType(ComponentTypeID id,
ComponentTypeID parentID,
ComponentTypeID superID,
boolean deployable,
boolean deprecated,
boolean monitored)
BasicProductType
protected BasicProductType(BasicProductType component)
getComponentTypeIDs
public java.util.Collection getComponentTypeIDs()
- Returns a cloned Collection of ComponentTypeID objects, each representing
a type of service that this Product is comprised of
- Specified by:
getComponentTypeIDs in interface ProductType
- Returns:
- Collection of ComponentTypeID objects
contains
public boolean contains(ComponentTypeID componentTypeID)
- Description copied from interface:
ProductType
- Returns true if thie component type is contained in
this instance of the product type.
- Specified by:
contains in interface ProductType
- Parameters:
componentTypeID - is the id of the component type to check for.
- Returns:
- boolean is true if the component type is contained in the product type
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 BasicComponentType
- Returns:
- the object that is the clone of this instance.
Copyright © 2009. All Rights Reserved.