public enum DataSetType extends java.lang.Enum<DataSetType> implements com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
Enum Constant and Description |
---|
GROOVY
Groovy script
|
JPQL
JPQL query
|
JSON
json
|
MULTI
Entities list
|
SINGLE
Entity
|
SQL
SQL query
|
Modifier and Type | Method and Description |
---|---|
static DataSetType |
fromCode(java.lang.String code) |
static DataSetType |
fromId(java.lang.Integer id) |
java.lang.String |
getCode() |
java.lang.Integer |
getId() |
static DataSetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataSetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSetType SQL
public static final DataSetType JPQL
public static final DataSetType GROOVY
public static final DataSetType SINGLE
public static final DataSetType MULTI
public static final DataSetType JSON
public static DataSetType[] values()
for (DataSetType c : DataSetType.values()) System.out.println(c);
public static DataSetType 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 java.lang.String getCode()
public static DataSetType fromId(java.lang.Integer id)
public static DataSetType fromCode(java.lang.String code)