|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.common.namedobject.BasicObject com.metamatrix.common.config.model.BasicComponentObject
public abstract class BasicComponentObject
Constructor Summary | |
---|---|
|
BasicComponentObject(BaseID componentID,
ComponentTypeID typeID)
|
protected |
BasicComponentObject(BasicComponentObject component)
|
Method Summary | |
---|---|
void |
accept(ConfigurationVisitor visitor)
|
void |
addProperties(java.util.Properties newProperties)
Add a the newProperties to the current properties settings. |
void |
addProperty(java.lang.String name,
java.lang.String value)
Add a name/value pair as a new property setting for the current Configuration . |
ComponentTypeID |
getComponentTypeID()
Returns the 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.lang.String |
getDescription()
Returns the description of this component definition |
java.util.Properties |
getEditableProperties()
Helper method to enable building the property hierarchy for deployed Components |
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.Properties |
getProperties()
Returns the current unmodifiable properties for the component |
java.lang.String |
getProperty(java.lang.String name)
Returns a property value for the given property name |
boolean |
isDependentUpon(BaseID componentObjectId)
Returns true if this object is dependent upon the specified ComponentObjectID |
void |
removeProperties(java.util.Collection propertyNames)
Remove the Collection of propertyNames from tthe current properties settings. |
void |
removeProperty(java.lang.String name)
Remove a property setting based on the name |
void |
setCreatedBy(java.lang.String createdBy)
|
void |
setCreatedDate(java.lang.String createdDate)
|
void |
setDescription(java.lang.String description)
|
void |
setLastChangedBy(java.lang.String lastChangedBy)
|
void |
setLastChangedDate(java.lang.String lastChangedDate)
|
void |
setProperties(java.util.Properties properties)
Set the properties for this object. |
java.lang.String |
toString()
Returns a string representing the name of the object. |
Methods inherited from class com.metamatrix.common.namedobject.BasicObject |
---|
clone, compareTo, equals, getFullName, getID, getName, hashCode, setID |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.metamatrix.common.config.api.ComponentObject |
---|
getName |
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject |
---|
clone, getFullName, getID |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public BasicComponentObject(BaseID componentID, ComponentTypeID typeID)
protected BasicComponentObject(BasicComponentObject component)
Method Detail |
---|
public java.lang.String getProperty(java.lang.String name)
ComponentObject
getProperty
in interface ComponentObject
name
- of the property value to obtain
public ComponentTypeID getComponentTypeID()
ComponentObject
getComponentTypeID
in interface ComponentObject
public java.util.Properties getProperties()
ComponentObject
getProperties
in interface ComponentObject
public boolean isDependentUpon(BaseID componentObjectId)
ComponentObject
ComponentObjectID
isDependentUpon
in interface ComponentObject
componentObjectId
- is the id to check for dependencies for
public void setProperties(java.util.Properties properties)
properties
- the set of properties for this service; a reference to
this Properties instance should not be maintained by the callerpublic void addProperty(java.lang.String name, java.lang.String value)
Configuration
.
public void addProperties(java.util.Properties newProperties)
public void removeProperty(java.lang.String name)
public void removeProperties(java.util.Collection propertyNames)
Collection
of propertyNames from tthe current properties settings.
public java.lang.String getDescription()
getDescription
in interface ComponentObject
public void setDescription(java.lang.String description)
public java.lang.String getCreatedBy()
getCreatedBy
in interface ComponentObject
public void setCreatedBy(java.lang.String createdBy)
public java.util.Date getCreatedDate()
getCreatedDate
in interface ComponentObject
public java.lang.String getCreatedDateString()
public void setCreatedDate(java.lang.String createdDate)
public java.lang.String getLastChangedBy()
getLastChangedBy
in interface ComponentObject
public void setLastChangedBy(java.lang.String lastChangedBy)
public java.util.Date getLastChangedDate()
getLastChangedDate
in interface ComponentObject
public java.lang.String getLastChangedDateString()
public void setLastChangedDate(java.lang.String lastChangedDate)
public java.util.Properties getEditableProperties()
public java.lang.String toString()
toString
in class BasicObject
public void accept(ConfigurationVisitor visitor)
accept
in interface ComponentObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |