| java.lang.Object com.jcorporate.expresso.kernel.metadata.Property com.jcorporate.expresso.kernel.metadata.IndexedProperty
IndexedProperty | public class IndexedProperty extends Property (Code) | | Bean describing an indexed property. Note because of the potential
weirdness of receiving indexed values, this class simply implements the
index as a key in a TreeMap so that we can retrieve all the values in
order
author: Michael Rimov version: $Revision: 1.6 $ on $Date: 2004/11/17 20:48:17 $ |
IndexedProperty | public IndexedProperty()(Code) | | Default Constructor
|
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) |
getIndexedValue | public String getIndexedValue(int index)(Code) | | Retrieve a value at a certain index
Parameters: index - the index to retrieve the value for java.lang.String |
getValues | public Map getValues()(Code) | | Retrieve a map of all indicies and their corresponding values for this
property
java.util.Map |
setIndexedValue | public void setIndexedValue(int index, String value)(Code) | | Set an indexed value
Parameters: index - the index of the property Parameters: value - the value to set for that index |
|
|