|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.metadata.Property
com.jcorporate.expresso.kernel.metadata.IndexedProperty
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
| Constructor Summary | |
IndexedProperty()
Default Constructor |
|
| Method Summary | |
Configuration |
createConfigBean(DefaultConfigBean targetBean,
ComponentConfig config,
ComponentMetadata metadata)
Load the configBean with values for this property. |
String |
getIndexedValue(int index)
Retrieve a value at a certain index |
Map |
getValues()
Retrieve a map of all indicies and their corresponding values for this property |
void |
setIndexedValue(int index,
String value)
Set an indexed value |
| Methods inherited from class com.jcorporate.expresso.kernel.metadata.Property |
getAccess, getDescription, getName, getType, setAccess, setDescription, setName, setType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IndexedProperty()
| Method Detail |
public void setIndexedValue(int index,
String value)
index - the index of the propertyvalue - the value to set for that indexpublic Map getValues()
public String getIndexedValue(int index)
index - the index to retrieve the value for
public Configuration createConfigBean(DefaultConfigBean targetBean,
ComponentConfig config,
ComponentMetadata metadata)
createConfigBean in class PropertytargetBean - The configBean to populate with this property.config - the current configuration as loaded from the expresso config.xml filemetadata - the current metadata for this component
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||