org.javalid.annotations.validation
Class AnnotationConstants

java.lang.Object
  extended by org.javalid.annotations.validation.AnnotationConstants

public class AnnotationConstants
extends java.lang.Object

Contains some shared constants that are used by multiple annotations.

Since:
1.2
Version:
1.0
Author:
M.Reuvers

Field Summary
static int ANNOTATION_DATE_DATE_AFTER
           
static int ANNOTATION_DATE_DATE_BEFORE
           
static int ANNOTATION_DATE_DATE_CHECK
           
static int ANNOTATION_DATE_DATE_EQUALS
           
static int ANNOTATION_DATE_DATE_NOT_EQUALS
           
static int DATE_MODE_EQUALS
           
static int DATE_MODE_EQUALS_LESS_THAN
           
static int DATE_MODE_EQUALS_MORE_THAN
           
static int DATE_MODE_LESS_THAN
           
static int DATE_MODE_MORE_THAN
           
static int DATE_MODE_NOT_EQUALS
           
static int DATE_TYPE_CONVERT_DATE
          Compares the annotated date on date only (so no time is included).
static int DATE_TYPE_CONVERT_FULL
          Compares the annotated date on date + time (up to seconds)
static int DATE_TYPE_CONVERT_MILLIS
          Compares the annotated date on millis (both dates are converted to milliseconds and then compared)
static java.lang.String DEFAULT_DATE_PATTERN
           
 
Constructor Summary
AnnotationConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_MODE_EQUALS

public static final int DATE_MODE_EQUALS
See Also:
Constant Field Values

DATE_MODE_LESS_THAN

public static final int DATE_MODE_LESS_THAN
See Also:
Constant Field Values

DATE_MODE_MORE_THAN

public static final int DATE_MODE_MORE_THAN
See Also:
Constant Field Values

DATE_MODE_EQUALS_LESS_THAN

public static final int DATE_MODE_EQUALS_LESS_THAN
See Also:
Constant Field Values

DATE_MODE_EQUALS_MORE_THAN

public static final int DATE_MODE_EQUALS_MORE_THAN
See Also:
Constant Field Values

DATE_MODE_NOT_EQUALS

public static final int DATE_MODE_NOT_EQUALS
See Also:
Constant Field Values

DEFAULT_DATE_PATTERN

public static final java.lang.String DEFAULT_DATE_PATTERN
See Also:
Constant Field Values

DATE_TYPE_CONVERT_FULL

public static final int DATE_TYPE_CONVERT_FULL
Compares the annotated date on date + time (up to seconds)

See Also:
Constant Field Values

DATE_TYPE_CONVERT_DATE

public static final int DATE_TYPE_CONVERT_DATE
Compares the annotated date on date only (so no time is included).

See Also:
Constant Field Values

DATE_TYPE_CONVERT_MILLIS

public static final int DATE_TYPE_CONVERT_MILLIS
Compares the annotated date on millis (both dates are converted to milliseconds and then compared)

See Also:
Constant Field Values

ANNOTATION_DATE_DATE_CHECK

public static final int ANNOTATION_DATE_DATE_CHECK
See Also:
Constant Field Values

ANNOTATION_DATE_DATE_BEFORE

public static final int ANNOTATION_DATE_DATE_BEFORE
See Also:
Constant Field Values

ANNOTATION_DATE_DATE_AFTER

public static final int ANNOTATION_DATE_DATE_AFTER
See Also:
Constant Field Values

ANNOTATION_DATE_DATE_EQUALS

public static final int ANNOTATION_DATE_DATE_EQUALS
See Also:
Constant Field Values

ANNOTATION_DATE_DATE_NOT_EQUALS

public static final int ANNOTATION_DATE_DATE_NOT_EQUALS
See Also:
Constant Field Values
Constructor Detail

AnnotationConstants

public AnnotationConstants()