Package com.esprow.oapi.repository
Enum Class DatatypeStandardEnum
- All Implemented Interfaces:
Serializable
,Comparable<DatatypeStandardEnum>
,Constable
,org.eclipse.emf.common.util.Enumerator
Common datatype standards.
- See Also:
-
RepositoryPackageImpl.getDatatypeStandardEnum()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The 'GPB' literal value.static final int
The 'ISO11404' literal value.static final int
The 'JSON' literal value.static final int
The 'SBE' literal value.static final int
The 'TAGVALUE' literal value.static final List<DatatypeStandardEnum>
A public read-only list of all the 'Datatype Standard Enum' enumerators.static final int
The 'XML' literal value. -
Method Summary
Modifier and TypeMethodDescriptionstatic DatatypeStandardEnum
get
(int value) Returns the 'Datatype Standard Enum' literal with the specified integer value.static DatatypeStandardEnum
Returns the 'Datatype Standard Enum' literal with the specified literal value.static DatatypeStandardEnum
Returns the 'Datatype Standard Enum' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static DatatypeStandardEnum
Returns the enum constant of this class with the specified name.static DatatypeStandardEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ISO11404
The 'ISO11404' literal object. General Purpose Datatypes- See Also:
-
GPB
The 'GPB' literal object. Google Protocol Buffers- See Also:
-
JSON
The 'JSON' literal object. JSON Schema- See Also:
-
SBE
The 'SBE' literal object. Simple Binary Encoding- See Also:
-
XML
The 'XML' literal object. XML Schema and FIXML- See Also:
-
TAGVALUE
The 'TAGVALUE' literal object. FIX classic encoding- See Also:
-
-
Field Details
-
ISO11404_VALUE
public static final int ISO11404_VALUEThe 'ISO11404' literal value. General Purpose Datatypes- See Also:
-
GPB_VALUE
public static final int GPB_VALUEThe 'GPB' literal value. Google Protocol Buffers- See Also:
-
JSON_VALUE
public static final int JSON_VALUEThe 'JSON' literal value. JSON Schema- See Also:
-
SBE_VALUE
public static final int SBE_VALUEThe 'SBE' literal value. Simple Binary Encoding- See Also:
-
XML_VALUE
public static final int XML_VALUEThe 'XML' literal value. XML Schema and FIXML- See Also:
-
TAGVALUE_VALUE
public static final int TAGVALUE_VALUEThe 'TAGVALUE' literal value. FIX classic encoding- See Also:
-
VALUES
A public read-only list of all the 'Datatype Standard Enum' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Returns the 'Datatype Standard Enum' literal with the specified literal value.- Parameters:
literal
- the literal.- Returns:
- the matching enumerator or
null
.
-
getByName
Returns the 'Datatype Standard Enum' literal with the specified name.- Parameters:
name
- the name.- Returns:
- the matching enumerator or
null
.
-
get
Returns the 'Datatype Standard Enum' 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
- Specified by:
getName
in interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteral
in interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<DatatypeStandardEnum>
-