public enum CommunicationLinkProtocol extends java.lang.Enum<CommunicationLinkProtocol> implements org.eclipse.emf.common.util.Enumerator
| Enum Constant and Description |
|---|
ACCEPT
The 'ACCEPT' literal object.
|
ASYNCHRONOUS
The 'ASYNCHRONOUS' literal object.
|
BROADCAST
The 'BROADCAST' literal object.
|
MULTICAST
The 'MULTICAST' literal object.
|
READ
The 'READ' literal object.
|
SYNCHRONOUS
The 'SYNCHRONOUS' literal object.
|
UNICAST
The 'UNICAST' literal object.
|
UNSET
The 'UNSET' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPT_VALUE
The 'ACCEPT' literal value.
|
static int |
ASYNCHRONOUS_VALUE
The 'ASYNCHRONOUS' literal value.
|
static int |
BROADCAST_VALUE
The 'BROADCAST' literal value.
|
static int |
MULTICAST_VALUE
The 'MULTICAST' literal value.
|
static int |
READ_VALUE
The 'READ' literal value.
|
static int |
SYNCHRONOUS_VALUE
The 'SYNCHRONOUS' literal value.
|
static int |
UNICAST_VALUE
The 'UNICAST' literal value.
|
static int |
UNSET_VALUE
The 'UNSET' literal value.
|
static java.util.List<CommunicationLinkProtocol> |
VALUES
A public read-only list of all the 'Link Protocol' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static CommunicationLinkProtocol |
get(int value)
Returns the 'Link Protocol' literal with the specified integer value.
|
static CommunicationLinkProtocol |
get(java.lang.String literal)
Returns the 'Link Protocol' literal with the specified literal value.
|
static CommunicationLinkProtocol |
getByName(java.lang.String name)
Returns the 'Link Protocol' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static CommunicationLinkProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationLinkProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunicationLinkProtocol UNSET
UNSET_VALUEpublic static final CommunicationLinkProtocol UNICAST
UNICAST_VALUEpublic static final CommunicationLinkProtocol MULTICAST
MULTICAST_VALUEpublic static final CommunicationLinkProtocol BROADCAST
BROADCAST_VALUEpublic static final CommunicationLinkProtocol SYNCHRONOUS
SYNCHRONOUS_VALUEpublic static final CommunicationLinkProtocol ASYNCHRONOUS
ASYNCHRONOUS_VALUEpublic static final CommunicationLinkProtocol READ
READ_VALUEpublic static final CommunicationLinkProtocol ACCEPT
ACCEPT_VALUEpublic static final int UNSET_VALUE
If the meaning of 'UNSET' literal object isn't clear, there really should be more of a description here...
UNSET,
Constant Field Valuespublic static final int UNICAST_VALUE
If the meaning of 'UNICAST' literal object isn't clear, there really should be more of a description here...
UNICAST,
Constant Field Valuespublic static final int MULTICAST_VALUE
If the meaning of 'MULTICAST' literal object isn't clear, there really should be more of a description here...
MULTICAST,
Constant Field Valuespublic static final int BROADCAST_VALUE
If the meaning of 'BROADCAST' literal object isn't clear, there really should be more of a description here...
BROADCAST,
Constant Field Valuespublic static final int SYNCHRONOUS_VALUE
If the meaning of 'SYNCHRONOUS' literal object isn't clear, there really should be more of a description here...
SYNCHRONOUS,
Constant Field Valuespublic static final int ASYNCHRONOUS_VALUE
If the meaning of 'ASYNCHRONOUS' literal object isn't clear, there really should be more of a description here...
ASYNCHRONOUS,
Constant Field Valuespublic static final int READ_VALUE
If the meaning of 'READ' literal object isn't clear, there really should be more of a description here...
READ,
Constant Field Valuespublic static final int ACCEPT_VALUE
If the meaning of 'ACCEPT' literal object isn't clear, there really should be more of a description here...
ACCEPT,
Constant Field Valuespublic static final java.util.List<CommunicationLinkProtocol> VALUES
public static CommunicationLinkProtocol[] values()
for (CommunicationLinkProtocol c : CommunicationLinkProtocol.values()) System.out.println(c);
public static CommunicationLinkProtocol valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CommunicationLinkProtocol get(java.lang.String literal)
literal - the literal.null.public static CommunicationLinkProtocol getByName(java.lang.String name)
name - the name.null.public static CommunicationLinkProtocol get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic java.lang.String toString()
toString in class java.lang.Enum<CommunicationLinkProtocol>