public enum BooleanOperator extends java.lang.Enum<BooleanOperator>
DatasourcesPackage.getBooleanOperator()
Enum Constant and Description |
---|
AND
The 'AND' literal object.
|
NAND
The 'NAND' literal object.
|
OR
The 'OR' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
AND_VALUE
The 'AND' literal value.
|
private java.lang.String |
literal |
private java.lang.String |
name |
static int |
NAND_VALUE
The 'NAND' literal value.
|
static int |
OR_VALUE
The 'OR' literal value.
|
private int |
value |
static java.util.List<BooleanOperator> |
VALUES
A public read-only list of all the 'Boolean Operator' enumerators.
|
private static BooleanOperator[] |
VALUES_ARRAY
An array of all the 'Boolean Operator' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static BooleanOperator |
get(int value)
Returns the 'Boolean Operator' literal with the specified integer value.
|
static BooleanOperator |
get(java.lang.String literal)
Returns the 'Boolean Operator' literal with the specified literal value.
|
static BooleanOperator |
getByName(java.lang.String name)
Returns the 'Boolean Operator' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static BooleanOperator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BooleanOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BooleanOperator AND
AND_VALUE
public static final BooleanOperator NAND
NAND_VALUE
public static final BooleanOperator OR
OR_VALUE
public static final int AND_VALUE
If the meaning of 'AND' literal object isn't clear, there really should be more of a description here...
AND
,
Constant Field Valuespublic static final int NAND_VALUE
If the meaning of 'NAND' literal object isn't clear, there really should be more of a description here...
NAND
,
Constant Field Valuespublic static final int OR_VALUE
If the meaning of 'OR' literal object isn't clear, there really should be more of a description here...
OR
,
Constant Field Valuesprivate static final BooleanOperator[] VALUES_ARRAY
public static final java.util.List<BooleanOperator> VALUES
private final int value
private final java.lang.String name
private final java.lang.String literal
public static BooleanOperator[] values()
for (BooleanOperator c : BooleanOperator.values()) System.out.println(c);
public static BooleanOperator 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 static BooleanOperator get(java.lang.String literal)
literal
- the literal.null
.public static BooleanOperator getByName(java.lang.String name)
name
- the name.null
.public static BooleanOperator get(int value)
value
- the integer value.null
.public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<BooleanOperator>