Package iotmodel
Enum PhysicalLinkLayer
- All Implemented Interfaces:
Serializable,Comparable<PhysicalLinkLayer>,java.lang.constant.Constable,org.eclipse.emf.common.util.Enumerator
public enum PhysicalLinkLayer extends Enum<PhysicalLinkLayer> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Physical Link Layer',
and utility methods for working with them.
- See Also:
IotmodelPackage.getPhysicalLinkLayer()
-
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 BLUETOOTHThe 'Bluetooth' literal object.ETHERNETThe 'Ethernet' literal object.IEEE_805_15_4The 'IEEE 805 15 4' literal object.SMS_PHYSICALThe 'SMS Physical' literal object.WIRELESS_LANThe 'Wireless LAN' literal object. -
Field Summary
Fields Modifier and Type Field Description static intBLUETOOTH_VALUEThe 'Bluetooth' literal value.static intETHERNET_VALUEThe 'Ethernet' literal value.static intIEEE_805_15_4_VALUEThe 'IEEE 805 15 4' literal value.static intSMS_PHYSICAL_VALUEThe 'SMS Physical' literal value.static List<PhysicalLinkLayer>VALUESA public read-only list of all the 'Physical Link Layer' enumerators.static intWIRELESS_LAN_VALUEThe 'Wireless LAN' literal value. -
Method Summary
Modifier and Type Method Description static PhysicalLinkLayerget(int value)Returns the 'Physical Link Layer' literal with the specified integer value.static PhysicalLinkLayerget(String literal)Returns the 'Physical Link Layer' literal with the specified literal value.static PhysicalLinkLayergetByName(String name)Returns the 'Physical Link Layer' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static PhysicalLinkLayervalueOf(String name)Returns the enum constant of this type with the specified name.static PhysicalLinkLayer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IEEE_805_15_4
The 'IEEE 805 15 4' literal object.- See Also:
IEEE_805_15_4_VALUE
-
ETHERNET
The 'Ethernet' literal object.- See Also:
ETHERNET_VALUE
-
WIRELESS_LAN
The 'Wireless LAN' literal object.- See Also:
WIRELESS_LAN_VALUE
-
SMS_PHYSICAL
The 'SMS Physical' literal object.- See Also:
SMS_PHYSICAL_VALUE
-
BLUETOOTH
The 'Bluetooth' literal object.- See Also:
BLUETOOTH_VALUE
-
-
Field Details
-
IEEE_805_15_4_VALUE
public static final int IEEE_805_15_4_VALUEThe 'IEEE 805 15 4' literal value.- See Also:
IEEE_805_15_4, Constant Field Values
-
ETHERNET_VALUE
public static final int ETHERNET_VALUEThe 'Ethernet' literal value.- See Also:
ETHERNET, Constant Field Values
-
WIRELESS_LAN_VALUE
public static final int WIRELESS_LAN_VALUEThe 'Wireless LAN' literal value.- See Also:
WIRELESS_LAN, Constant Field Values
-
SMS_PHYSICAL_VALUE
public static final int SMS_PHYSICAL_VALUEThe 'SMS Physical' literal value.- See Also:
SMS_PHYSICAL, Constant Field Values
-
BLUETOOTH_VALUE
public static final int BLUETOOTH_VALUEThe 'Bluetooth' literal value.- See Also:
BLUETOOTH, Constant Field Values
-
VALUES
A public read-only list of all the 'Physical Link Layer' 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 'Physical Link Layer' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Physical Link Layer' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Physical Link Layer' 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.- Overrides:
toStringin classEnum<PhysicalLinkLayer>
-