Enum Arch
- java.lang.Object
-
- java.lang.Enum<Arch>
-
- com._1c.g5.v8.dt.platform.services.model.Arch
-
- All Implemented Interfaces:
Serializable
,Comparable<Arch>
,org.eclipse.emf.common.util.Enumerator
public enum Arch extends Enum<Arch> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Arch', and utility methods for working with them. Architectory type of application installation.- See Also:
ModelPackage.getArch()
-
-
Field Summary
Fields Modifier and Type Field Description static int
UNDEFINED_VALUE
The 'Undefined' literal value.static List<Arch>
VALUES
A public read-only list of all the 'Arch' enumerators.static int
X86_64_VALUE
The 'X86 64' literal value.static int
X86_VALUE
The 'X86' literal value.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Arch
get(int value)
Returns the 'Arch' literal with the specified integer value.static Arch
get(String literal)
Returns the 'Arch' literal with the specified literal value.static Arch
getByName(String name)
Returns the 'Arch' 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 Arch
valueOf(String name)
Returns the enum constant of this type with the specified name.static Arch[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final Arch UNDEFINED
The 'Undefined' literal object.- See Also:
UNDEFINED_VALUE
-
X86_64
public static final Arch X86_64
The 'X86 64' literal object.- See Also:
X86_64_VALUE
-
-
Field Detail
-
UNDEFINED_VALUE
public static final int UNDEFINED_VALUE
The 'Undefined' literal value.- See Also:
UNDEFINED
, Constant Field Values
-
X86_VALUE
public static final int X86_VALUE
The 'X86' literal value.- See Also:
X86
, Constant Field Values
-
X86_64_VALUE
public static final int X86_64_VALUE
The 'X86 64' literal value.- See Also:
X86_64
, Constant Field Values
-
-
Method Detail
-
values
public static Arch[] 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 (Arch c : Arch.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Arch 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 nameNullPointerException
- if the argument is null
-
get
public static Arch get(String literal)
Returns the 'Arch' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
public static Arch getByName(String name)
Returns the 'Arch' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
public static Arch get(int value)
Returns the 'Arch' literal with the specified integer value.- Parameters:
value
- the integer value.- Returns:
- the matching enumerator or
null
.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
-