com.metamatrix.common.config.model
Class BasicComponentDefn
java.lang.Object
com.metamatrix.common.namedobject.BasicObject
com.metamatrix.common.config.model.BasicComponentObject
com.metamatrix.common.config.model.BasicComponentDefn
- All Implemented Interfaces:
- ComponentDefn, ComponentObject, BaseObject, PropertiedObject, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
- Direct Known Subclasses:
- BasicAuthenticationProvider, BasicExtensionModule, BasicHost, BasicResourceDescriptor, BasicServiceComponentDefn, BasicVMComponentDefn
public abstract class BasicComponentDefn
- extends BasicComponentObject
- implements ComponentDefn, java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
ConfigurationID |
getConfigurationID()
Returns the ConfigurationID that identifies the configuation this component belongs to. |
boolean |
isDependentUpon(BaseID componentObjectId)
Returns true if this object is dependent upon the specified ComponentObjectID |
boolean |
isEnabled()
Returns true if the component object is enabled for use. |
boolean |
isEssential()
Indicates if this component is essenstial to the server running |
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, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
BasicComponentDefn
public BasicComponentDefn(ConfigurationID configurationID,
ComponentDefnID componentID,
ComponentTypeID typeID)
- Construct a BaseComponentDefn by providing the
ConfigurationID
the component
belongs in and the ComponentDefnID
that identifies this component and
the ComponentType
indicating the type of component.
- Parameters:
configurationID
- is the ConfigurationIDcomponentID
- is the ComponentDefnIdtype
- is the ComponentType
BasicComponentDefn
protected BasicComponentDefn(BasicComponentDefn component)
getConfigurationID
public ConfigurationID getConfigurationID()
- Description copied from interface:
ComponentDefn
- Returns the
ConfigurationID
that identifies the configuation this component belongs to.
- Specified by:
getConfigurationID
in interface ComponentDefn
- Returns:
- ConfigurationID
isDependentUpon
public boolean isDependentUpon(BaseID componentObjectId)
- Description copied from interface:
ComponentObject
- Returns true if this object is dependent upon the specified
ComponentObjectID
- Specified by:
isDependentUpon
in interface ComponentObject
- Overrides:
isDependentUpon
in class BasicComponentObject
- Parameters:
componentObjectId
- is the id to check for dependencies for
- Returns:
- boolean true if this object is dependent
isEnabled
public boolean isEnabled()
- Returns true if the component object is enabled for use.
- Specified by:
isEnabled
in interface ComponentDefn
- Returns:
- Since:
- 4.2
isEssential
public boolean isEssential()
- Description copied from interface:
ComponentDefn
- Indicates if this component is essenstial to the server running
- Specified by:
isEssential
in interface ComponentDefn
- Returns:
Copyright © 2009. All Rights Reserved.