Every persistent property of a EJB3 entity bean can be defined as field
access or method access (using setter/getters). The property class abstracts
from the access method and represtets a field (AccessType.FIELD) OR
getter/setter (AccessType.PROPERTY)
author: Daniel Wiese
public T getAnnotation(Class<T> annnotation)(Code)
Returns a annotation for the current property if present.
< Parameters: T - >the annotation type. Parameters: annnotation - the annotation class the annotation instance
Returns a value of an field.
author: Daniel Wiese Parameters: instance - -the instance - the value of the paremeter of the instance throws: IllegalAccessException - -in error case
Returns the generic Type of this property. E.g. id the proprty is.
Collection/Order/ then Order will be returned.
author: Daniel Wiese since: 28.10.2005 the generic Type of this property
If the propety represents a genericType (e.g. Collection/Order/) ! Typed
class thit ONE type) -> then the type is returned.
- the type of the typed class or null
Sets a value of the field / getterMethod.
author: Daniel Wiese Parameters: instance - -the instance (Typed) Parameters: value - -the new value throws: IllegalAccessException - -in error case