|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.namedobject.BasicObject
com.metamatrix.common.config.model.BasicComponentType
public class BasicComponentType
| Field Summary | |
|---|---|
static long |
serialVersionUID
|
| Fields inherited from interface com.metamatrix.common.config.api.ComponentType |
|---|
AUTHPROVIDER_COMPONENT_TYPE_CODE, CONFIGURATION_COMPONENT_TYPE_CODE, CONNECTOR_COMPONENT_TYPE_CODE, DEPLOYED_COMPONENT_TYPE_CODE, HOST_COMPONENT_TYPE_CODE, PRODUCT_COMPONENT_TYPE_CODE, PSC_COMPONENT_TYPE_CODE, RESOURCE_COMPONENT_TYPE_CODE, SERVICE_COMPONENT_TYPE_CODE, VM_COMPONENT_TYPE_CODE |
| Constructor Summary | |
|---|---|
protected |
BasicComponentType(BasicComponentType type)
|
| Method Summary | |
|---|---|
void |
accept(ConfigurationVisitor visitor)
|
void |
addComponentTypeDefinition(ComponentTypeDefn defn)
|
java.lang.Object |
clone()
Return a deep cloned instance of this object. |
int |
getComponentTypeCode()
Returns int indicating the component type code; |
ComponentTypeDefn |
getComponentTypeDefinition(java.lang.String name)
Returns the ComponentTypeDefn
for the specified name |
java.util.Collection |
getComponentTypeDefinitions()
Returns the Collection of ComponentTypeDefns
that are defined for this component type |
java.lang.String |
getCreatedBy()
Returns the principal who created this type |
java.util.Date |
getCreatedDate()
Returns the Date this type was created |
java.lang.String |
getCreatedDateString()
|
java.util.Properties |
getDefaultPropertyValues()
Returns the default values for this component type. |
java.lang.String |
getDefaultValue(java.lang.String propertyName)
Returns the String representation of the default
value for the requested property. |
java.lang.String |
getDescription()
Returns the description, if it has one, of the component type |
java.lang.String |
getLastChangedBy()
Returns the principal who last modified this type |
java.util.Date |
getLastChangedDate()
Returns the Date this type was last changed |
java.lang.String |
getLastChangedDateString()
|
java.util.Collection |
getMaskedPropertyNames()
Returns the List |
ComponentTypeID |
getParentComponentTypeID()
Returns the parent component type id |
ComponentTypeID |
getSuperComponentTypeID()
Returns the super component type id |
boolean |
isDeployable()
Returns true is the component type is considered deployable within a configuration. |
boolean |
isDeprecated()
Returns true if this component type is no longer used |
boolean |
isMonitored()
Returns true if this component type is monitored |
boolean |
isOfConnectorProductType()
Returns true if this component type is a member of the connectors product type based on |
boolean |
isOfTypeConnector()
Returns true if this component type is a connector type |
boolean |
isOfTypeXAConnector()
Returns true if this component type is a XA connector type. |
void |
removeComponentTypeDefinition(ComponentTypeDefn defn)
|
void |
setComponentTypeCode(int code)
|
void |
setComponentTypeDefinitions(java.util.Collection newDefinitions)
|
void |
setCreatedBy(java.lang.String createdBy)
|
void |
setCreatedDate(java.lang.String createdDate)
|
void |
setDescription(java.lang.String desc)
|
void |
setIsDeprecated(boolean deprecate)
|
void |
setLastChangedBy(java.lang.String lastChangedBy)
|
void |
setLastChangedDate(java.lang.String lastChangedDate)
|
void |
setParentComponentTypeID(ComponentTypeID typeID)
|
void |
setSuperComponentTypeID(ComponentTypeID typeID)
|
| Methods inherited from class com.metamatrix.common.namedobject.BasicObject |
|---|
compareTo, equals, getFullName, getID, getName, hashCode, setID, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.metamatrix.common.namedobject.BaseObject |
|---|
getFullName, getID, getName |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
protected BasicComponentType(BasicComponentType type)
| Method Detail |
|---|
public java.util.Collection getComponentTypeDefinitions()
ComponentTypeCollection of ComponentTypeDefns
that are defined for this component type
getComponentTypeDefinitions in interface ComponentTypepublic ComponentTypeDefn getComponentTypeDefinition(java.lang.String name)
ComponentTypeComponentTypeDefn
for the specified name
getComponentTypeDefinition in interface ComponentTypepublic java.lang.String getDefaultValue(java.lang.String propertyName)
ComponentTypeString representation of the default
value for the requested property.
getDefaultValue in interface ComponentTypepublic java.util.Properties getDefaultPropertyValues()
ComponentType
getDefaultPropertyValues in interface ComponentTypepublic java.util.Collection getMaskedPropertyNames()
ComponentType
getMaskedPropertyNames in interface ComponentTypeComponentType.getMaskedPropertyNames()public java.lang.String getDescription()
getDescription in interface ComponentTypepublic ComponentTypeID getParentComponentTypeID()
ComponentType
getParentComponentTypeID in interface ComponentTypepublic ComponentTypeID getSuperComponentTypeID()
ComponentType
getSuperComponentTypeID in interface ComponentTypepublic int getComponentTypeCode()
ComponentType
getComponentTypeCode in interface ComponentTypepublic boolean isDeployable()
ComponentType
isDeployable in interface ComponentTypepublic boolean isDeprecated()
ComponentType
isDeprecated in interface ComponentTypepublic boolean isMonitored()
ComponentType
isMonitored in interface ComponentTypepublic boolean isOfTypeConnector()
ComponentType
isOfTypeConnector in interface ComponentTypepublic boolean isOfConnectorProductType()
isOfConnectorProductType in interface ComponentTypepublic boolean isOfTypeXAConnector()
ComponentTypetrue, then @link #isOfTypeConnector()
will also be true. However, @link #isOfTypeConnector() can be true
and this can be false.
isOfTypeXAConnector in interface ComponentTypepublic java.lang.String getCreatedBy()
getCreatedBy in interface ComponentTypepublic void setCreatedBy(java.lang.String createdBy)
public java.util.Date getCreatedDate()
getCreatedDate in interface ComponentTypepublic java.lang.String getCreatedDateString()
public void setCreatedDate(java.lang.String createdDate)
public java.lang.String getLastChangedBy()
getLastChangedBy in interface ComponentTypepublic void setLastChangedBy(java.lang.String lastChangedBy)
public java.util.Date getLastChangedDate()
getLastChangedDate in interface ComponentTypepublic java.lang.String getLastChangedDateString()
public void setLastChangedDate(java.lang.String lastChangedDate)
public void setComponentTypeDefinitions(java.util.Collection newDefinitions)
public void setParentComponentTypeID(ComponentTypeID typeID)
public void setSuperComponentTypeID(ComponentTypeID typeID)
public void setIsDeprecated(boolean deprecate)
public void setComponentTypeCode(int code)
public void setDescription(java.lang.String desc)
public void addComponentTypeDefinition(ComponentTypeDefn defn)
public void removeComponentTypeDefinition(ComponentTypeDefn defn)
public java.lang.Object clone()
clone in interface BaseObjectclone in class BasicObjectpublic void accept(ConfigurationVisitor visitor)
accept in interface ComponentType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||