|
|||||||||
| Home >> All >> org >> apache >> commons >> [ beanutils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.commons.beanutils
Interface MutableDynaClass

- All Superinterfaces:
- DynaClass
- All Known Implementing Classes:
- LazyDynaClass, LazyDynaMap
- public interface MutableDynaClass
- extends DynaClass
A specialized extension to DynaClass that allows properties
to be added or removed dynamically.
WARNING - No guarantees that this will be in the final APIs ... it's here primarily to preserve some concepts that were in the original proposal for further discussion.
- Version:
- $Revision: 1.8 $ $Date: 2004/02/28 13:18:33 $
| Method Summary | |
void |
add(java.lang.String name)
Add a new dynamic property with no restrictions on data type, readability, or writeability. |
void |
add(java.lang.String name,
java.lang.Class type)
Add a new dynamic property with the specified data type, but with no restrictions on readability or writeability. |
void |
add(java.lang.String name,
java.lang.Class type,
boolean readable,
boolean writeable)
Add a new dynamic property with the specified data type, readability, and writeability. |
boolean |
isRestricted()
Is this DynaClass currently restricted, if so, no changes to the existing registration of property names, data types, readability, or writeability are allowed. |
void |
remove(java.lang.String name)
Remove the specified dynamic property, and any associated data type, readability, and writeability, from this dynamic class. |
void |
setRestricted(boolean restricted)
Set the restricted state of this DynaClass to the specified value. |
| Methods inherited from interface org.apache.commons.beanutils.DynaClass |
getDynaProperties, getDynaProperty, getName, newInstance |
| Method Detail |
add
public void add(java.lang.String name)
- Add a new dynamic property with no restrictions on data type,
readability, or writeability.
add
public void add(java.lang.String name, java.lang.Class type)
- Add a new dynamic property with the specified data type, but with
no restrictions on readability or writeability.
add
public void add(java.lang.String name, java.lang.Class type, boolean readable, boolean writeable)
- Add a new dynamic property with the specified data type, readability,
and writeability.
isRestricted
public boolean isRestricted()
- Is this DynaClass currently restricted, if so, no changes to the
existing registration of property names, data types, readability, or
writeability are allowed.
remove
public void remove(java.lang.String name)
- Remove the specified dynamic property, and any associated data type,
readability, and writeability, from this dynamic class.
NOTE - This does NOT cause any
corresponding property values to be removed from DynaBean instances
associated with this DynaClass.
setRestricted
public void setRestricted(boolean restricted)
- Set the restricted state of this DynaClass to the specified value.
|
|||||||||
| Home >> All >> org >> apache >> commons >> [ beanutils overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC