org.loom.annotation
Annotation Type ImplementationMetadata
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
@Documented
public @interface ImplementationMetadata
Denotes the implementation class to be used by default to populate this field.
Only required if the fieldis not of the same type, for example if the field type
is an interface, or if the default implementation is not enough (for collection fields)
Required Element Summary |
java.lang.Class<?> |
value
The implementation class to be used. |
value
public abstract java.lang.Class<?> value
- The implementation class to be used. Must have a default public constructor with no args.