| java.lang.Object com.jcorporate.expresso.kernel.metadata.Property com.jcorporate.expresso.kernel.metadata.SimpleProperty
SimpleProperty | public class SimpleProperty extends Property (Code) | | Metadata class that represents a simple property for an Expresso component
author: Michael Rimov version: $Revision: 1.6 $ on $Date: 2004/11/17 20:48:17 $ |
SimpleProperty | public SimpleProperty()(Code) | | Default Constructor
|
addValidValue | public void addValidValue(String key, String value)(Code) | | Add a valid value for the property
Parameters: key - the 'key' or internal value Parameters: value - the friendly value to be displayed in management systems. |
createConfigBean | public Configuration createConfigBean(DefaultConfigBean targetBean, ComponentConfig config, ComponentMetadata metadata)(Code) | | Load the configBean with values for this property.
If there are any values present in the ComponentConfig, then use those properties,
if empty, use your own default values as specified in the ComponentMetadata
Parameters: targetBean - The configBean to populate with this property. Parameters: config - the current configuration as loaded from the expresso config.xml file Parameters: metadata - the current metadata for this component the Configuration interface (actually uslaly the configbean parameter) |
getValue | public String getValue()(Code) | | Retrieve the value of the property
java.lang.String |
retrieveValidValues | public List retrieveValidValues()(Code) | | Retrieve a list of valid values for this particular property.
List of valid value objects |
setValue | public void setValue(String value)(Code) | | Set the value of the property
Parameters: value - java.lang.String |
|
|