org.loom.annotation
Annotation Type EagerProperty


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
@Documented
public @interface EagerProperty

Properties marked with this annotation get populated before the beforePopulation handler gets called. Tipically, this is used to mark primary key fields before retrieving data from the database, and before populating the record with the request data.


Optional Element Summary
 java.lang.String[] except
          the list of events in which this validation does NOT place, empty for none.
 java.lang.String[] on
          the list of events in which this validation takes place, empty for all.
 java.lang.String propertyPath
          if provided, applies to the property path instead of the annotated property
 

propertyPath

public abstract java.lang.String propertyPath
if provided, applies to the property path instead of the annotated property

Default:
""

on

public abstract java.lang.String[] on
the list of events in which this validation takes place, empty for all. Accepts wildcards.

Default:
{}

except

public abstract java.lang.String[] except
the list of events in which this validation does NOT place, empty for none. Accepts wildcards.

Default:
{}