public enum Quantifier extends Enum<Quantifier> implements org.eclipse.emf.common.util.Enumerator
RulePackage.getQuantifier()
Enum Constant and Description |
---|
ALL
The 'All' literal object.
|
ANY
The 'Any' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
The 'All' literal value.
|
static int |
ANY_VALUE
The 'Any' literal value.
|
static List<Quantifier> |
VALUES
A public read-only list of all the 'Quantifier' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static Quantifier |
get(int value)
Returns the 'Quantifier' literal with the specified integer value.
|
static Quantifier |
get(String literal)
Returns the 'Quantifier' literal with the specified literal value.
|
static Quantifier |
getByName(String name)
Returns the 'Quantifier' 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 Quantifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quantifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quantifier ALL
ALL_VALUE
public static final Quantifier ANY
ANY_VALUE
public static final int ALL_VALUE
If the meaning of 'All' literal object isn't clear, there really should be more of a description here...
ALL
,
Constant Field Valuespublic static final int ANY_VALUE
If the meaning of 'Any' literal object isn't clear, there really should be more of a description here...
ANY
,
Constant Field Valuespublic static final List<Quantifier> VALUES
public static Quantifier[] values()
for (Quantifier c : Quantifier.values()) System.out.println(c);
public static Quantifier 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 Quantifier get(String literal)
literal
- the literal.null
.public static Quantifier getByName(String name)
name
- the name.null
.public static Quantifier get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public String toString()
toString
in class Enum<Quantifier>
Copyright © 2019. All rights reserved.