|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DynamicBean
A dynamic bean that allows properties to be added and removed.
A JavaBean is defined at compile-time and cannot have additional properties added. Instances of this interface allow additional properties to be added and removed probably by wrapping a map
| Method Summary | |
|---|---|
void |
propertyDefine(String propertyName,
Class<?> propertyType)
Adds a property to those allowed to be stored in the bean. |
void |
propertyRemove(String propertyName)
Removes a property by name. |
| Methods inherited from interface org.joda.beans.Bean |
|---|
metaBean, property, propertyNames |
| Method Detail |
|---|
void propertyDefine(String propertyName,
Class<?> propertyType)
Some implementations will automatically add properties, in which case this method will have no effect.
propertyName - the property name to check, not empty, not nullpropertyType - the property type, not nullvoid propertyRemove(String propertyName)
propertyName - the property name to remove, null ignored
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||