Package iotmodel
Enum IdList
- All Implemented Interfaces:
Serializable,Comparable<IdList>,java.lang.constant.Constable,org.eclipse.emf.common.util.Enumerator
public enum IdList extends Enum<IdList> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Id List',
and utility methods for working with them.
- See Also:
IotmodelPackage.getIdList()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description DOIThe 'DOI' literal object.EPCThe 'EPC' literal object.ID_AT_URIThe 'ID at URI' literal object.IMEIThe 'IMEI' literal object.IP_ADRESSThe 'IP Adress' literal object.ISBNThe 'ISBN' literal object.OIDThe 'OID' literal object.UCODEThe 'Ucode' literal object.URIThe 'URI' literal object. -
Field Summary
Fields Modifier and Type Field Description static intDOI_VALUEThe 'DOI' literal value.static intEPC_VALUEThe 'EPC' literal value.static intID_AT_URI_VALUEThe 'ID at URI' literal value.static intIMEI_VALUEThe 'IMEI' literal value.static intIP_ADRESS_VALUEThe 'IP Adress' literal value.static intISBN_VALUEThe 'ISBN' literal value.static intOID_VALUEThe 'OID' literal value.static intUCODE_VALUEThe 'Ucode' literal value.static intURI_VALUEThe 'URI' literal value.static List<IdList>VALUESA public read-only list of all the 'Id List' enumerators. -
Method Summary
Modifier and Type Method Description static IdListget(int value)Returns the 'Id List' literal with the specified integer value.static IdListget(String literal)Returns the 'Id List' literal with the specified literal value.static IdListgetByName(String name)Returns the 'Id List' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static IdListvalueOf(String name)Returns the enum constant of this type with the specified name.static IdList[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EPC
The 'EPC' literal object.- See Also:
EPC_VALUE
-
UCODE
The 'Ucode' literal object.- See Also:
UCODE_VALUE
-
ID_AT_URI
The 'ID at URI' literal object.- See Also:
ID_AT_URI_VALUE
-
IMEI
The 'IMEI' literal object.- See Also:
IMEI_VALUE
-
OID
The 'OID' literal object.- See Also:
OID_VALUE
-
URI
The 'URI' literal object.- See Also:
URI_VALUE
-
DOI
The 'DOI' literal object.- See Also:
DOI_VALUE
-
ISBN
The 'ISBN' literal object.- See Also:
ISBN_VALUE
-
IP_ADRESS
The 'IP Adress' literal object.- See Also:
IP_ADRESS_VALUE
-
-
Field Details
-
EPC_VALUE
public static final int EPC_VALUEThe 'EPC' literal value.- See Also:
EPC, Constant Field Values
-
UCODE_VALUE
public static final int UCODE_VALUEThe 'Ucode' literal value.- See Also:
UCODE, Constant Field Values
-
ID_AT_URI_VALUE
public static final int ID_AT_URI_VALUEThe 'ID at URI' literal value.- See Also:
ID_AT_URI, Constant Field Values
-
IMEI_VALUE
public static final int IMEI_VALUEThe 'IMEI' literal value.- See Also:
IMEI, Constant Field Values
-
OID_VALUE
public static final int OID_VALUEThe 'OID' literal value.- See Also:
OID, Constant Field Values
-
URI_VALUE
public static final int URI_VALUEThe 'URI' literal value.- See Also:
URI, Constant Field Values
-
DOI_VALUE
public static final int DOI_VALUEThe 'DOI' literal value.- See Also:
DOI, Constant Field Values
-
ISBN_VALUE
public static final int ISBN_VALUEThe 'ISBN' literal value.- See Also:
ISBN, Constant Field Values
-
IP_ADRESS_VALUE
public static final int IP_ADRESS_VALUEThe 'IP Adress' literal value.- See Also:
IP_ADRESS, Constant Field Values
-
VALUES
A public read-only list of all the 'Id List' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Returns the 'Id List' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Id List' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Id List' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.
-