|
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.SimpleProperty
Metadata class that represents a simple property for an Expresso component
| Constructor Summary | |
SimpleProperty()
Default Constructor |
|
| Method Summary | |
void |
addValidValue(String key,
String value)
Add a valid value for the property |
Configuration |
createConfigBean(DefaultConfigBean targetBean,
ComponentConfig config,
ComponentMetadata metadata)
Load the configBean with values for this property. |
String |
getValue()
Retrieve the value of the property |
List |
retrieveValidValues()
Retrieve a list of valid values for this particular property. |
void |
setValue(String value)
Set the value of the property |
| 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 SimpleProperty()
| Method Detail |
public void setValue(String value)
value - java.lang.Stringpublic String getValue()
public void addValidValue(String key,
String value)
key - the 'key' or internal valuevalue - the friendly value to be displayed in management systems.public List retrieveValidValues()
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 | ||||||||||