Package io.keikai.api.model
Enum Validation.ValidationType
- java.lang.Object
-
- java.lang.Enum<Validation.ValidationType>
-
- io.keikai.api.model.Validation.ValidationType
-
- All Implemented Interfaces:
Serializable
,Comparable<Validation.ValidationType>
- Enclosing interface:
- Validation
public static enum Validation.ValidationType extends Enum<Validation.ValidationType>
- Since:
- 3.5.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SDataValidation.ValidationType
getNative()
static Validation.ValidationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Validation.ValidationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final Validation.ValidationType ANY
-
INTEGER
public static final Validation.ValidationType INTEGER
-
DECIMAL
public static final Validation.ValidationType DECIMAL
-
LIST
public static final Validation.ValidationType LIST
-
DATE
public static final Validation.ValidationType DATE
-
TIME
public static final Validation.ValidationType TIME
-
TEXT_LENGTH
public static final Validation.ValidationType TEXT_LENGTH
-
CUSTOM
public static final Validation.ValidationType CUSTOM
-
-
Method Detail
-
values
public static Validation.ValidationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Validation.ValidationType c : Validation.ValidationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Validation.ValidationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNative
public SDataValidation.ValidationType getNative()
-
-