|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ValidatorDescriptor.ArgumentMapping.ArgumentType> net.sourceforge.annovalidator.validation.annotations.ValidatorDescriptor.ArgumentMapping.ArgumentType
public static enum ValidatorDescriptor.ArgumentMapping.ArgumentType
Specifies the type of value that should be mapped to the argument at
index
.
The valid types are:
value
parameter of the annotation.parameterName
parameter must be
populated.Field
being validated.Field
being validated.Object
being validated.Field
of the Object
being
validated.Field
of the
Object
being validated.
Enum Constant Summary | |
---|---|
ANNOTATION_PARAMETER
A named parameter in the annotation. |
|
ANNOTATION_VALUE
The value parameter of the annotation. |
|
TARGET_FIELD
The Field being validated. |
|
TARGET_FIELD_VALUE
The value of the field being validated. |
|
TARGET_OBJECT
The object containing the field being validated. |
|
TARGET_OBJECT_FIELD
A named Field of the target object. |
|
TARGET_OBJECT_FIELD_VALUE
The value of a named Field of the target object. |
Method Summary | |
---|---|
static ValidatorDescriptor.ArgumentMapping.ArgumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ValidatorDescriptor.ArgumentMapping.ArgumentType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType ANNOTATION_VALUE
value
parameter of the annotation.
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType ANNOTATION_PARAMETER
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType TARGET_FIELD_VALUE
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType TARGET_OBJECT
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType TARGET_FIELD
Field
being validated.
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType TARGET_OBJECT_FIELD
Field
of the target object.
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType TARGET_OBJECT_FIELD_VALUE
Field
of the target object.
Method Detail |
---|
public static final ValidatorDescriptor.ArgumentMapping.ArgumentType[] values()
for(ValidatorDescriptor.ArgumentMapping.ArgumentType c : ValidatorDescriptor.ArgumentMapping.ArgumentType.values()) System.out.println(c);
public static ValidatorDescriptor.ArgumentMapping.ArgumentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |