|
Expresso 5-5-0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is a read-only interface into a dyna-bean. It is used to contracturally enforce a component only being able to read it's own configuration. DefaultConfigBean is the typical implementation of this interface
DefaultConfigBean| Method Summary | |
boolean |
contains(String name,
String key)
Does the specified mapped property contain a value for the specified key value? |
Object |
get(String name)
Return the value of a simple property with the specified name |
Object |
get(String name,
int index)
Return the value of an indexed property with the specified name. |
Object |
get(String name,
String key)
Return the value of a mapped property with the specified name, or null if there is no value for the specified key |
List |
getIndexedProperties(String name)
Retrieve ALL the indexed properties defined by parameter name. |
Map |
getMappedProperties(String name)
Retrieved all the mapped properties defined by name |
| Method Detail |
public Object get(String name)
name - Name of the property whose value is to be retrieved
IllegalArgumentException - If there is no property of the specified name
public Object get(String name,
int index)
name - Name of the property whose value is to be retrievedindex - Index of the value to be retrieved
IllegalArgumentException - if there is no property of the
specified name
IndexOutOfBoundsException - If the specified index is
outside the range of the underlying property
NullPointerException - If no array or List has been
initialized for this propertypublic List getIndexedProperties(String name)
name - the name of the property
public Object get(String name,
String key)
name - Name of the property whose value is to be retrievedkey - Key of the value to be retrieved
IllegalArgumentException - If there is no property
of the specified namepublic Map getMappedProperties(String name)
name - the name of the mapped properties to retrieve
public boolean contains(String name,
String key)
name - Name of the property to checkkey - Name of the key to check
IllegalArgumentException - upon error
|
Expresso 5-5-0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||