public enum Tristate extends Enum<Tristate> implements org.eclipse.emf.common.util.Enumerator
Ifc4Package.getTristate()| Enum Constant and Description |
|---|
FALSE
The 'FALSE' literal object.
|
TRUE
The 'TRUE' literal object.
|
UNDEFINED
The 'UNDEFINED' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
FALSE_VALUE
The 'FALSE' literal value.
|
static int |
TRUE_VALUE
The 'TRUE' literal value.
|
static int |
UNDEFINED_VALUE
The 'UNDEFINED' literal value.
|
static List<Tristate> |
VALUES
A public read-only list of all the 'Tristate' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Tristate |
get(int value)
Returns the 'Tristate' literal with the specified integer value.
|
static Tristate |
get(String literal)
Returns the 'Tristate' literal with the specified literal value.
|
static Tristate |
getByName(String name)
Returns the 'Tristate' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Tristate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tristate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tristate TRUE
TRUE_VALUEpublic static final Tristate FALSE
FALSE_VALUEpublic static final Tristate UNDEFINED
UNDEFINED_VALUEpublic static final int TRUE_VALUE
If the meaning of 'TRUE' literal object isn't clear, there really should be more of a description here...
TRUE,
Constant Field Valuespublic static final int FALSE_VALUE
If the meaning of 'FALSE' literal object isn't clear, there really should be more of a description here...
FALSE,
Constant Field Valuespublic static final int UNDEFINED_VALUE
If the meaning of 'UNDEFINED' literal object isn't clear, there really should be more of a description here...
UNDEFINED,
Constant Field Valuespublic static Tristate[] values()
for (Tristate c : Tristate.values()) System.out.println(c);
public static Tristate valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Tristate get(String literal)
literal - the literal.null.public static Tristate getByName(String name)
name - the name.null.public static Tristate get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.EnumeratorCopyright © 2018 OpenSource BIM. All rights reserved.