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