V
- the type of the properties valuepublic interface Property<V>
Properties
Modifier and Type | Method and Description |
---|---|
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.
|
String getName()
Type getBaseType()
AnnotatedElement getAnnotatedElement()
Member getMember()
V getValue(Object instance)
bean
- The bean to read the property fromClassCastException
- 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()
PrivilegedAction
Copyright © 2008-2013 Seam Framework. All Rights Reserved.