|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DateUtil.DateSource.SourceType>
net.sourceforge.annovalidator.util.DateUtil.DateSource.SourceType
public static enum DateUtil.DateSource.SourceType
Defines the available sources for a date.
| Enum Constant Summary | |
|---|---|
COMPOSITE
A date composed of mulitple parts, specified by compositeDateParts(). |
|
CURRENT_DATE
The date and time at the time the validation is performed. |
|
TARGET_FIELD_VALUE
The value of the Field being validated. |
|
TARGET_OBJECT_FIELD_VALUE
The value of the fieldName() Field of
the Object being validated. |
|
TEXT_DATE
A plain text date specified by date(). |
|
| Method Summary | |
|---|---|
static DateUtil.DateSource.SourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DateUtil.DateSource.SourceType[] |
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 DateUtil.DateSource.SourceType TARGET_FIELD_VALUE
Field being validated.
public static final DateUtil.DateSource.SourceType TARGET_OBJECT_FIELD_VALUE
fieldName() Field of
the Object being validated.
public static final DateUtil.DateSource.SourceType TEXT_DATE
date().
public static final DateUtil.DateSource.SourceType CURRENT_DATE
public static final DateUtil.DateSource.SourceType COMPOSITE
compositeDateParts().
| Method Detail |
|---|
public static final DateUtil.DateSource.SourceType[] values()
for(DateUtil.DateSource.SourceType c : DateUtil.DateSource.SourceType.values())
System.out.println(c);
public static DateUtil.DateSource.SourceType 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 | |||||||||