|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Property
Field-level annotation indicating that the decorated field should be
initialized to a literal or value binding expression value specified by the
value
attribute, when a managed instance of the containing
class is instantiated. If desired, you may also specify the property name
that corresponds to the annotated field, rather than relying on the default
assumption that the field name is identical to the property name.
Required Element Summary | |
---|---|
String |
value
The string representation of the literal value, or value binding expression, used to intiialize this field. |
Optional Element Summary | |
---|---|
String |
name
The name of the JavaBeans property to which this annotation corresponds. |
Element Detail |
---|
public abstract String value
The string representation of the literal value, or value binding expression, used to intiialize this field. Appropriate type conversion will be performed.
public abstract String name
The name of the JavaBeans property to which this annotation corresponds. If not specified, the name of the field is presumed to be the name of the property as well.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |