| org.cougaar.tools.csmart.core.property.ModifiableConfigurableComponent org.cougaar.tools.csmart.society.ComponentBase
All known Subclasses: org.cougaar.tools.csmart.society.cdata.BaseCDataComponent, org.cougaar.tools.csmart.society.BinderBase, org.cougaar.tools.csmart.society.PluginBase,
PROP_CLASSNAME | final public static String PROP_CLASSNAME(Code) | | Component Classname Property Definition *
|
PROP_CLASSNAME_DESC | final public static String PROP_CLASSNAME_DESC(Code) | | |
PROP_PRIORITY_DESC | final public static String PROP_PRIORITY_DESC(Code) | | |
PROP_PRIORITY_DFLT | final public static String PROP_PRIORITY_DFLT(Code) | | |
PROP_TYPE_DESC | final public static String PROP_TYPE_DESC(Code) | | |
modified | protected boolean modified(Code) | | |
nParameters | protected int nParameters(Code) | | |
addComponentData | public ComponentData addComponentData(ComponentData data)(Code) | | Adds this component to the ComponentData structure.
Parameters: data - a ComponentData value |
addParameter | public Property addParameter(int param)(Code) | | Adds a Parameter to this component.
Parameters: param - Unique Integer for this parameter a Property value |
addParameter | public Property addParameter(Object param)(Code) | | Adds a Parameter to this component
Parameters: param - Unique Object for this parameter's value a Property value |
addParameter | public Property addParameter(Property prop)(Code) | | Add a parameter that is based on some other property (typically a
property of our parent.
|
fireModification | public void fireModification()(Code) | | Set the internal modified flag (returned by isModified)
and fire a modification event.
|
getComponentClassName | public String getComponentClassName()(Code) | | Gets the classname for this component
a String value |
getComponentType | public String getComponentType()(Code) | | Get the type of this Component, from the property.
a String type from the constants in ComponentData |
initProperties | public void initProperties()(Code) | | Initializes properties for this component;
in particular, initializes the property class name.
|
isModified | public boolean isModified()(Code) | | Has this Component been modified, such that a save would do something.
a boolean , false if no save necessary |
setComponentType | public void setComponentType(String type)(Code) | | Allow outside users to set the Component type to one of the
values in the constants in ComponentData.
Parameters: type - a String binder type |
Fields inherited from org.cougaar.tools.csmart.core.property.ModifiableConfigurableComponent | protected transient boolean editable(Code)(Java Doc)
|
|
|