org.javalid.annotations.helper
Annotation Type Lookup


@Target(value={})
@Retention(value=RUNTIME)
@Documented
public @interface Lookup

This annotation can be used as a lookup element in special validation implementations (through the ValidateDefinition element) Another use by annotations, for instance the LovConstraint annotation. This annotation is used to tell what type of lookup to use.

Since:
1.0
Version:
1.0
Author:
M.Reuvers

Optional Element Summary
 BeanLookup beanLookup
          The beanlookup enabling to create a java class on runtime and do whatever needs be done.
 JsfLookup jsfLookup
          The JsfLookup to use as lookup.
 SpringLookup springLookup
          The springlookup to use as lookup.
 int type
          Type of lookup, use one of the constants of this class.
 

type

public abstract int type
Type of lookup, use one of the constants of this class.

Defaults to Lookup.LOOKUP_NORMAL_BEAN.

Default:
0

beanLookup

public abstract BeanLookup beanLookup
The beanlookup enabling to create a java class on runtime and do whatever needs be done. See BeanLookup for more.

Defaults to something useless, change when you wish to use it.

See Also:
BeanLookup
Default:
@org.javalid.annotations.helper.BeanLookup

springLookup

public abstract SpringLookup springLookup
The springlookup to use as lookup. See SpringLookup for more info.

Defaults to something useless, change when you wish to use it.

See Also:
SpringLookup
Default:
@org.javalid.annotations.helper.SpringLookup

jsfLookup

public abstract JsfLookup jsfLookup
The JsfLookup to use as lookup. See JsfLookup for more info.

Defaults to something useless, change when you wish to use it.

See Also:
JsfLookup
Default:
@org.javalid.annotations.helper.JsfLookup