org.sql.generation.api.grammar.booleans
Enum BooleanTest.TruthValue
java.lang.Object
java.lang.Enum<BooleanTest.TruthValue>
org.sql.generation.api.grammar.booleans.BooleanTest.TruthValue
- All Implemented Interfaces:
- Serializable, Comparable<BooleanTest.TruthValue>
- Enclosing interface:
- BooleanTest
public static enum BooleanTest.TruthValue
- extends Enum<BooleanTest.TruthValue>
The tested truth value.
- Author:
- Stanislav Muhametsin
TRUE
public static final BooleanTest.TruthValue TRUE
FALSE
public static final BooleanTest.TruthValue FALSE
UNKNOWN
public static final BooleanTest.TruthValue UNKNOWN
values
public static BooleanTest.TruthValue[] 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 (BooleanTest.TruthValue c : BooleanTest.TruthValue.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static BooleanTest.TruthValue 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 name
NullPointerException - if the argument is null
Copyright © 2010. All Rights Reserved.