Package iotmodel
Enum NetworkLayer
- All Implemented Interfaces:
Serializable,Comparable<NetworkLayer>,java.lang.constant.Constable,org.eclipse.emf.common.util.Enumerator
public enum NetworkLayer extends Enum<NetworkLayer> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Network Layer',
and utility methods for working with them.
- See Also:
IotmodelPackage.getNetworkLayer()
-
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 IPSECThe 'IPsec' literal object.IPV4The 'IPv4' literal object.IPV6The 'IPv6' literal object.LOW_PAN_TO_IPV6The 'Low PAN To IPv6' literal object.SMS_NETWORKThe 'SMS Network' literal object.ZIGBEEThe 'Zigbee' literal object. -
Field Summary
Fields Modifier and Type Field Description static intIPSEC_VALUEThe 'IPsec' literal value.static intIPV4_VALUEThe 'IPv4' literal value.static intIPV6_VALUEThe 'IPv6' literal value.static intLOW_PAN_TO_IPV6_VALUEThe 'Low PAN To IPv6' literal value.static intSMS_NETWORK_VALUEThe 'SMS Network' literal value.static List<NetworkLayer>VALUESA public read-only list of all the 'Network Layer' enumerators.static intZIGBEE_VALUEThe 'Zigbee' literal value. -
Method Summary
Modifier and Type Method Description static NetworkLayerget(int value)Returns the 'Network Layer' literal with the specified integer value.static NetworkLayerget(String literal)Returns the 'Network Layer' literal with the specified literal value.static NetworkLayergetByName(String name)Returns the 'Network Layer' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static NetworkLayervalueOf(String name)Returns the enum constant of this type with the specified name.static NetworkLayer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IPV6
The 'IPv6' literal object.- See Also:
IPV6_VALUE
-
IPV4
The 'IPv4' literal object.- See Also:
IPV4_VALUE
-
ZIGBEE
The 'Zigbee' literal object.- See Also:
ZIGBEE_VALUE
-
IPSEC
The 'IPsec' literal object.- See Also:
IPSEC_VALUE
-
LOW_PAN_TO_IPV6
The 'Low PAN To IPv6' literal object.- See Also:
LOW_PAN_TO_IPV6_VALUE
-
SMS_NETWORK
The 'SMS Network' literal object.- See Also:
SMS_NETWORK_VALUE
-
-
Field Details
-
IPV6_VALUE
public static final int IPV6_VALUEThe 'IPv6' literal value.- See Also:
IPV6, Constant Field Values
-
IPV4_VALUE
public static final int IPV4_VALUEThe 'IPv4' literal value.- See Also:
IPV4, Constant Field Values
-
ZIGBEE_VALUE
public static final int ZIGBEE_VALUEThe 'Zigbee' literal value.- See Also:
ZIGBEE, Constant Field Values
-
IPSEC_VALUE
public static final int IPSEC_VALUEThe 'IPsec' literal value.- See Also:
IPSEC, Constant Field Values
-
LOW_PAN_TO_IPV6_VALUE
public static final int LOW_PAN_TO_IPV6_VALUEThe 'Low PAN To IPv6' literal value.- See Also:
LOW_PAN_TO_IPV6, Constant Field Values
-
SMS_NETWORK_VALUE
public static final int SMS_NETWORK_VALUEThe 'SMS Network' literal value.- See Also:
SMS_NETWORK, Constant Field Values
-
VALUES
A public read-only list of all the 'Network 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 'Network Layer' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Network Layer' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Network 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<NetworkLayer>
-