Enum FieldBehavior
- java.lang.Object
-
- java.lang.Enum<FieldBehavior>
-
- com.netgrif.application.engine.petrinet.domain.dataset.logic.FieldBehavior
-
- All Implemented Interfaces:
groovy.lang.GroovyObject,java.io.Serializable,java.lang.Comparable<FieldBehavior>
public enum FieldBehavior extends java.lang.Enum<FieldBehavior> implements groovy.lang.GroovyObject
-
-
Field Summary
Fields Modifier and Type Field Description static FieldBehaviorMAX_VALUEstatic FieldBehaviorMIN_VALUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FieldBehavior$INIT(java.lang.Object... para)static FieldBehaviorfromString(Behavior string)FieldBehavior[]getAntonyms()groovy.lang.MetaClassgetMetaClass()FieldBehaviornext()FieldBehaviorprevious()voidsetMetaClass(groovy.lang.MetaClass mc)java.lang.StringtoString()static FieldBehaviorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FieldBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final FieldBehavior REQUIRED
-
OPTIONAL
public static final FieldBehavior OPTIONAL
-
VISIBLE
public static final FieldBehavior VISIBLE
-
EDITABLE
public static final FieldBehavior EDITABLE
-
HIDDEN
public static final FieldBehavior HIDDEN
-
FORBIDDEN
public static final FieldBehavior FORBIDDEN
-
IMMEDIATE
public static final FieldBehavior IMMEDIATE
-
ANTONYM_SETUP
public static final FieldBehavior ANTONYM_SETUP
-
-
Field Detail
-
MIN_VALUE
public static final FieldBehavior MIN_VALUE
-
MAX_VALUE
public static final FieldBehavior MAX_VALUE
-
-
Method Detail
-
values
public static FieldBehavior[] 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 (FieldBehavior c : FieldBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldBehavior valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClassin interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClassin interfacegroovy.lang.GroovyObject
-
fromString
public static FieldBehavior fromString(Behavior string)
-
getAntonyms
public FieldBehavior[] getAntonyms()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<FieldBehavior>
-
next
public FieldBehavior next()
-
previous
public FieldBehavior previous()
-
$INIT
public static final FieldBehavior $INIT(java.lang.Object... para)
-
-