|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- the type of the properties valuepublic interface Property<V>
A representation of a JavaBean style property
Properties
Method Summary | |
---|---|
AnnotatedElement |
getAnnotatedElement()
Get the element responsible for retrieving the property value |
Type |
getBaseType()
Returns the property type |
Class<?> |
getDeclaringClass()
Returns the class that declares the property |
Class<V> |
getJavaClass()
Returns the property type |
Member |
getMember()
Get the member responsible for retrieving the property value |
String |
getName()
Returns the name of the property. |
V |
getValue(Object instance)
Returns the property value for the specified bean. |
boolean |
isReadOnly()
Indicates whether this is a read-only property |
void |
setAccessible()
Calls the setAccessible method on the underlying member(s). |
void |
setValue(Object instance,
V value)
This method sets the property value for a specified bean to the specified value. |
Method Detail |
---|
String getName()
Type getBaseType()
Class<V> getJavaClass()
AnnotatedElement getAnnotatedElement()
Member getMember()
V getValue(Object instance)
bean
- The bean to read the property from
ClassCastException
- if the value is not of the type Vvoid setValue(Object instance, V value)
bean
- The bean containing the property to setvalue
- The new property valueClass<?> getDeclaringClass()
boolean isReadOnly()
void setAccessible()
The operation should be performed within a PrivilegedAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |