Enum InputValueType
- java.lang.Object
-
- java.lang.Enum<InputValueType>
-
- org.uitnet.testing.smartfwk.core.validator.InputValueType
-
- All Implemented Interfaces:
Serializable,Comparable<InputValueType>
public enum InputValueType extends Enum<InputValueType>
- Author:
- Madhav Krishna
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_GENERATEDBOOLEANBOOLEAN_LISTDECIMALDECIMAL_LISTINTEGERINTEGER_LISTSTRINGSTRING_LIST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()StringtoString()static InputValueTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InputValueTypevalueOf2(String type)static InputValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO_GENERATED
public static final InputValueType AUTO_GENERATED
-
STRING
public static final InputValueType STRING
-
STRING_LIST
public static final InputValueType STRING_LIST
-
INTEGER
public static final InputValueType INTEGER
-
INTEGER_LIST
public static final InputValueType INTEGER_LIST
-
DECIMAL
public static final InputValueType DECIMAL
-
DECIMAL_LIST
public static final InputValueType DECIMAL_LIST
-
BOOLEAN
public static final InputValueType BOOLEAN
-
BOOLEAN_LIST
public static final InputValueType BOOLEAN_LIST
-
-
Method Detail
-
values
public static InputValueType[] 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 (InputValueType c : InputValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputValueType 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
-
getType
public String getType()
-
valueOf2
public static InputValueType valueOf2(String type)
-
toString
public String toString()
- Overrides:
toStringin classEnum<InputValueType>
-
-