Package iotmodel
Enum OsList
- All Implemented Interfaces:
Serializable,Comparable<OsList>,java.lang.constant.Constable,org.eclipse.emf.common.util.Enumerator
public enum OsList extends Enum<OsList> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Os List',
and utility methods for working with them.
- See Also:
IotmodelPackage.getOsList()
-
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 ARDUINOThe 'Arduino' literal object.CONTIKIThe 'Contiki' literal object.FREE_RTOSThe 'Free RTOS' literal object.LITE_OSThe 'Lite OS' literal object.MANTISThe 'Mantis' literal object.RASPBERRY_PIThe 'Raspberry Pi' literal object.RIOTThe 'Riot' literal object.TINY_OSThe 'Tiny OS' literal object. -
Field Summary
Fields Modifier and Type Field Description static intARDUINO_VALUEThe 'Arduino' literal value.static intCONTIKI_VALUEThe 'Contiki' literal value.static intFREE_RTOS_VALUEThe 'Free RTOS' literal value.static intLITE_OS_VALUEThe 'Lite OS' literal value.static intMANTIS_VALUEThe 'Mantis' literal value.static intRASPBERRY_PI_VALUEThe 'Raspberry Pi' literal value.static intRIOT_VALUEThe 'Riot' literal value.static intTINY_OS_VALUEThe 'Tiny OS' literal value.static List<OsList>VALUESA public read-only list of all the 'Os List' enumerators. -
Method Summary
Modifier and Type Method Description static OsListget(int value)Returns the 'Os List' literal with the specified integer value.static OsListget(String literal)Returns the 'Os List' literal with the specified literal value.static OsListgetByName(String name)Returns the 'Os List' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static OsListvalueOf(String name)Returns the enum constant of this type with the specified name.static OsList[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONTIKI
The 'Contiki' literal object.- See Also:
CONTIKI_VALUE
-
TINY_OS
The 'Tiny OS' literal object.- See Also:
TINY_OS_VALUE
-
RIOT
The 'Riot' literal object.- See Also:
RIOT_VALUE
-
RASPBERRY_PI
The 'Raspberry Pi' literal object.- See Also:
RASPBERRY_PI_VALUE
-
FREE_RTOS
The 'Free RTOS' literal object.- See Also:
FREE_RTOS_VALUE
-
LITE_OS
The 'Lite OS' literal object.- See Also:
LITE_OS_VALUE
-
MANTIS
The 'Mantis' literal object.- See Also:
MANTIS_VALUE
-
ARDUINO
The 'Arduino' literal object.- See Also:
ARDUINO_VALUE
-
-
Field Details
-
CONTIKI_VALUE
public static final int CONTIKI_VALUEThe 'Contiki' literal value.- See Also:
CONTIKI, Constant Field Values
-
TINY_OS_VALUE
public static final int TINY_OS_VALUEThe 'Tiny OS' literal value.- See Also:
TINY_OS, Constant Field Values
-
RIOT_VALUE
public static final int RIOT_VALUEThe 'Riot' literal value.- See Also:
RIOT, Constant Field Values
-
RASPBERRY_PI_VALUE
public static final int RASPBERRY_PI_VALUEThe 'Raspberry Pi' literal value.- See Also:
RASPBERRY_PI, Constant Field Values
-
FREE_RTOS_VALUE
public static final int FREE_RTOS_VALUEThe 'Free RTOS' literal value.- See Also:
FREE_RTOS, Constant Field Values
-
LITE_OS_VALUE
public static final int LITE_OS_VALUEThe 'Lite OS' literal value.- See Also:
LITE_OS, Constant Field Values
-
MANTIS_VALUE
public static final int MANTIS_VALUEThe 'Mantis' literal value.- See Also:
MANTIS, Constant Field Values
-
ARDUINO_VALUE
public static final int ARDUINO_VALUEThe 'Arduino' literal value.- See Also:
ARDUINO, Constant Field Values
-
VALUES
A public read-only list of all the 'Os 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 'Os List' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Os List' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Os 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.
-