Package io.keikai.model
Enum SDataValidation.ValidationType
- java.lang.Object
-
- java.lang.Enum<SDataValidation.ValidationType>
-
- io.keikai.model.SDataValidation.ValidationType
-
- All Implemented Interfaces:
Serializable
,Comparable<SDataValidation.ValidationType>
- Enclosing interface:
- SDataValidation
public static enum SDataValidation.ValidationType extends Enum<SDataValidation.ValidationType>
- Since:
- 3.5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SDataValidation.ValidationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SDataValidation.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 SDataValidation.ValidationType ANY
-
INTEGER
public static final SDataValidation.ValidationType INTEGER
-
DECIMAL
public static final SDataValidation.ValidationType DECIMAL
-
LIST
public static final SDataValidation.ValidationType LIST
-
DATE
public static final SDataValidation.ValidationType DATE
-
TIME
public static final SDataValidation.ValidationType TIME
-
TEXT_LENGTH
public static final SDataValidation.ValidationType TEXT_LENGTH
-
CUSTOM
public static final SDataValidation.ValidationType CUSTOM
-
-
Method Detail
-
values
public static SDataValidation.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 (SDataValidation.ValidationType c : SDataValidation.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 SDataValidation.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
-
-