org.trails.descriptor.annotation
Annotation Type InitialValue
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface InitialValue
Annotation used to initialize a field based on an OGNL expression, usually
another field.
For example, assume you have a car of certain model made by certain make.
The car has a relation to the model, but not the make. So you create a
transient property make initialized by model.make.
- Author:
- pruggia
|
Required Element Summary |
java.lang.String |
value
The expression that when executed provides the initial value for the
property. |
value
public abstract java.lang.String value
- The expression that when executed provides the initial value for the
property.
Copyright © 2004-2008. All Rights Reserved.