org.apache.shale.tiger.managed
Annotation Type Property


@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.

Since:
1.0.3

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

value

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.

name

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.

Default:
""


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.