public enum TransportLayer extends Enum<TransportLayer> implements org.eclipse.emf.common.util.Enumerator
IotmodelPackage.getTransportLayer()| Enum Constant and Description |
|---|
DTLS
The 'DTLS' literal object.
|
SMS
The 'SMS' literal object.
|
TCP
The 'TCP' literal object.
|
UDP
The 'UDP' literal object.
|
ZIGBEE
The 'Zigbee' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DTLS_VALUE
The 'DTLS' literal value.
|
static int |
SMS_VALUE
The 'SMS' literal value.
|
static int |
TCP_VALUE
The 'TCP' literal value.
|
static int |
UDP_VALUE
The 'UDP' literal value.
|
static List<TransportLayer> |
VALUES
A public read-only list of all the 'Transport Layer' enumerators.
|
static int |
ZIGBEE_VALUE
The 'Zigbee' literal value.
|
| Modifier and Type | Method and Description |
|---|---|
static TransportLayer |
get(int value)
Returns the 'Transport Layer' literal with the specified integer value.
|
static TransportLayer |
get(String literal)
Returns the 'Transport Layer' literal with the specified literal value.
|
static TransportLayer |
getByName(String name)
Returns the 'Transport Layer' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static TransportLayer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportLayer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportLayer TCP
TCP_VALUEpublic static final TransportLayer UDP
UDP_VALUEpublic static final TransportLayer ZIGBEE
ZIGBEE_VALUEpublic static final TransportLayer DTLS
DTLS_VALUEpublic static final TransportLayer SMS
SMS_VALUEpublic static final int TCP_VALUE
TCP,
Constant Field Valuespublic static final int UDP_VALUE
UDP,
Constant Field Valuespublic static final int ZIGBEE_VALUE
ZIGBEE,
Constant Field Valuespublic static final int DTLS_VALUE
DTLS,
Constant Field Valuespublic static final int SMS_VALUE
SMS,
Constant Field Valuespublic static final List<TransportLayer> VALUES
public static TransportLayer[] values()
for (TransportLayer c : TransportLayer.values()) System.out.println(c);
public static TransportLayer valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static TransportLayer get(String literal)
literal - the literal.null.public static TransportLayer getByName(String name)
name - the name.null.public static TransportLayer get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<TransportLayer>Copyright © 2018–2020 Atlanmod. All rights reserved.