Example usage for Java org.apache.commons.beanutils LazyDynaClass fields, constructors, methods, implement or subclass
The text is from its open source code.
LazyDynaClass() Construct a new LazyDynaClass with default parameters. | |
LazyDynaClass(String name, Class dynaBeanClass) Construct a new LazyDynaClass with the specified name and DynaBean class. | |
LazyDynaClass(String name, DynaProperty[] properties) Construct a new LazyDynaClass with the specified name and properties. |
void | add(String name) Add a new dynamic property with no restrictions on data type, readability, or writeability. |
void | add(DynaProperty property) Add a new dynamic property. |
void | add(String name, Class type) Add a new dynamic property with the specified data type, but with no restrictions on readability or writeability. |
String | getName() Return the name of this DynaClass (analogous to the getName() method of java.lang.Class DynaClass implementation class to support different dynamic classes, with different sets of properties. |
DynaBean | newInstance() Instantiate and return a new DynaBean instance, associated with this DynaClass. |
void | setReturnNull(boolean returnNull) Set whether this DynaClass should return a null from the getDynaProperty(name) method if the property doesn't exist. |