Enum NodeDefinitionFormObject.RequirenessType
- java.lang.Object
-
- java.lang.Enum<NodeDefinitionFormObject.RequirenessType>
-
- org.openforis.collect.designer.form.NodeDefinitionFormObject.RequirenessType
-
- All Implemented Interfaces:
Serializable,Comparable<NodeDefinitionFormObject.RequirenessType>
- Enclosing class:
- NodeDefinitionFormObject<T extends NodeDefinition>
public static enum NodeDefinitionFormObject.RequirenessType extends Enum<NodeDefinitionFormObject.RequirenessType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_REQUIREDNOT_REQUIREDREQUIRED_WHEN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NodeDefinitionFormObject.RequirenessTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NodeDefinitionFormObject.RequirenessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REQUIRED
public static final NodeDefinitionFormObject.RequirenessType NOT_REQUIRED
-
ALWAYS_REQUIRED
public static final NodeDefinitionFormObject.RequirenessType ALWAYS_REQUIRED
-
REQUIRED_WHEN
public static final NodeDefinitionFormObject.RequirenessType REQUIRED_WHEN
-
-
Method Detail
-
values
public static NodeDefinitionFormObject.RequirenessType[] 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 (NodeDefinitionFormObject.RequirenessType c : NodeDefinitionFormObject.RequirenessType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeDefinitionFormObject.RequirenessType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-