|
|||||
FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a property on a bean which may have a getter and/or a setter
Field Summary | |
---|---|
CachedField |
field
|
MetaMethod |
getter
|
MetaMethod |
setter
|
Constructor Summary | |
MetaBeanProperty(String name, Class type, MetaMethod getter, MetaMethod setter)
|
Method Summary | |
---|---|
CachedField |
getField()
|
MetaMethod |
getGetter()
Get the getter method. |
int |
getModifiers()
|
Object |
getProperty(Object object)
Get the property of the given object. |
MetaMethod |
getSetter()
Get the setter method. |
void |
setField(CachedField f)
|
void |
setGetter(MetaMethod getter)
This is for MetaClass to patch up the object later when looking for get*() methods. |
void |
setProperty(Object object, Object newValue)
Set the property on the given object to the new value. |
void |
setSetter(MetaMethod setter)
This is for MetaClass to patch up the object later when looking for set*() methods. |
Constructor Detail |
---|
public MetaBeanProperty(String name, Class type, MetaMethod getter, MetaMethod setter)
Method Detail |
---|
public CachedField getField()
public MetaMethod getGetter()
public int getModifiers()
public Object getProperty(Object object)
public MetaMethod getSetter()
public void setField(CachedField f)
public void setGetter(MetaMethod getter)
public void setProperty(Object object, Object newValue)
public void setSetter(MetaMethod setter)