This annotation can be used for size checks on java.util.Collection or
java.util.Map related classes (e.g a list, map, tree ..), can be specified on get methods
and fields.
Converts given value to given type, types supported are:
- java.lang.String
- java.lang.Byte
- java.lang.Short
- java.lang.Integer
- java.lang.Float
- java.lang.Double
- java.lang.Long
And for each listed one their primitive equivalent (byte, short, int etc.), except String.
Returns AnnotationStorage instance if the method must be validated either
by itself or in one of its parent classes (must have JvGroup),
in all other cases returns null (so skip this method).
Returns true if this message should be a global message (note that
this property is originally taken from annotation's globalMessage), there
it can be used to say that an error when validating for that annotation
must be shown as a global message instead of using the validation path.
Use this supportive annotation inside @Lookup to specify
you wish to use the JsfLookup to find a class to do validation with (or anything
else, depending on the situation where it is used exactly).
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.
LOOKUP_JSF_BEAN -
Static variable in annotation type org.javalid.annotations.helper.Lookup
If type is set to this, this lookup tells it will use a java server faces bean
(obviously you must make use of jsf for this to work).
MODE_BEAN -
Static variable in annotation type org.javalid.annotations.core.JvParam
If valueRetrievalMode is set to this, it means a javabean must be used
(through property beanClass) as input parameter (either with a method call on it
returning the value or without, depending on requiresMethodCall property).
If valueRetrievalMode is set to this, it means a javabean must be used
(through property lookupName) as input parameter (either with a method call on it
returning the value or without, depending on requiresMethodCall property).