public enum ParameterType extends java.lang.Enum<ParameterType> implements com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DATETIME |
ENTITY |
ENTITY_LIST |
ENUMERATION |
NUMERIC |
TEXT |
TIME |
Modifier and Type | Method and Description |
---|---|
static ParameterType |
fromId(java.lang.Integer id) |
java.lang.Integer |
getId() |
static ParameterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType DATE
public static final ParameterType TEXT
public static final ParameterType ENTITY
public static final ParameterType BOOLEAN
public static final ParameterType NUMERIC
public static final ParameterType ENTITY_LIST
public static final ParameterType ENUMERATION
public static final ParameterType DATETIME
public static final ParameterType TIME
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Integer getId()
getId
in interface com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
public static ParameterType fromId(java.lang.Integer id)