public enum JsonSourceType extends java.lang.Enum<JsonSourceType> implements com.haulmont.chile.core.datatypes.impl.EnumClass<java.lang.Integer>
Enum Constant and Description |
---|
GROOVY_SCRIPT |
PARAMETER |
URL |
Modifier and Type | Method and Description |
---|---|
static JsonSourceType |
fromId(java.lang.Integer id) |
java.lang.Integer |
getId() |
static JsonSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JsonSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonSourceType GROOVY_SCRIPT
public static final JsonSourceType URL
public static final JsonSourceType PARAMETER
public static JsonSourceType[] values()
for (JsonSourceType c : JsonSourceType.values()) System.out.println(c);
public static JsonSourceType 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 JsonSourceType fromId(java.lang.Integer id)