|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyHolder
Interface denoting a configuration bean that stores a named collection of properties.
Method Summary | |
---|---|
void |
addProperty(PropertyBean descriptor)
Add the specified property descriptor, replacing any existing descriptor for this property name. |
PropertyBean[] |
getProperties()
Return the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered. |
PropertyBean |
getProperty(java.lang.String name)
Return the property descriptor for the specified property name, if any; otherwise, return null . |
void |
removeProperty(PropertyBean descriptor)
Deregister the specified property descriptor, if it is registered. |
Method Detail |
---|
void addProperty(PropertyBean descriptor)
Add the specified property descriptor, replacing any existing descriptor for this property name.
descriptor
- Descriptor to be addedPropertyBean getProperty(java.lang.String name)
Return the property descriptor for the specified property name,
if any; otherwise, return null
.
name
- Name of the property for which to retrieve a descriptorPropertyBean[] getProperties()
Return the descriptors of all properties for which descriptors have been registered, or an empty array if none have been registered.
void removeProperty(PropertyBean descriptor)
Deregister the specified property descriptor, if it is registered.
descriptor
- Descriptor to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |