Package org.openl.rules.tbasic
Enum TableParserSpecificationBean.ValueNecessity
- java.lang.Object
-
- java.lang.Enum<TableParserSpecificationBean.ValueNecessity>
-
- org.openl.rules.tbasic.TableParserSpecificationBean.ValueNecessity
-
- All Implemented Interfaces:
Serializable,Comparable<TableParserSpecificationBean.ValueNecessity>
- Enclosing class:
- TableParserSpecificationBean
public static enum TableParserSpecificationBean.ValueNecessity extends Enum<TableParserSpecificationBean.ValueNecessity>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OPTIONALPROHIBITEDREQUIRED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableParserSpecificationBean.ValueNecessityvalueOf(String name)Returns the enum constant of this type with the specified name.static TableParserSpecificationBean.ValueNecessity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REQUIRED
public static final TableParserSpecificationBean.ValueNecessity REQUIRED
-
OPTIONAL
public static final TableParserSpecificationBean.ValueNecessity OPTIONAL
-
PROHIBITED
public static final TableParserSpecificationBean.ValueNecessity PROHIBITED
-
-
Method Detail
-
values
public static TableParserSpecificationBean.ValueNecessity[] 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 (TableParserSpecificationBean.ValueNecessity c : TableParserSpecificationBean.ValueNecessity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableParserSpecificationBean.ValueNecessity 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
-
-