Enum FactMappingValueType
- java.lang.Object
-
- java.lang.Enum<FactMappingValueType>
-
- org.drools.scenariosimulation.api.model.FactMappingValueType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FactMappingValueType>
public enum FactMappingValueType extends java.lang.Enum<FactMappingValueType>
It assigns a Type to theFactMappingvalue. Used ONLY in FrontEnd side, to determine if a column value should be managed as an Expression. - EXPRESSION: The value associated with the Fact is of Expression type. - NOT_EXPRESSION: The specific value-type is defined by its content.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPRESSIONNOT_EXPRESSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FactMappingValueTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FactMappingValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPRESSION
public static final FactMappingValueType EXPRESSION
-
NOT_EXPRESSION
public static final FactMappingValueType NOT_EXPRESSION
-
-
Method Detail
-
values
public static FactMappingValueType[] 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 (FactMappingValueType c : FactMappingValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FactMappingValueType 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
-
-