|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CommunicationType>
org.eclipse.etrice.core.room.CommunicationType
public enum CommunicationType
A representation of the literals of the enumeration 'Communication Type', and utility methods for working with them.
RoomPackage.getCommunicationType()
Enum Constant Summary | |
---|---|
DATA_DRIVEN
The 'DATA DRIVEN' literal object. |
|
EVENT_DRIVEN
The 'EVENT DRIVEN' literal object. |
|
SYNCHRONOUS
The 'SYNCHRONOUS' literal object. |
Field Summary | |
---|---|
static int |
DATA_DRIVEN_VALUE
The 'DATA DRIVEN' literal value. |
static int |
EVENT_DRIVEN_VALUE
The 'EVENT DRIVEN' literal value. |
static int |
SYNCHRONOUS_VALUE
The 'SYNCHRONOUS' literal value. |
static java.util.List<CommunicationType> |
VALUES
A public read-only list of all the 'Communication Type' enumerators. |
Method Summary | |
---|---|
static CommunicationType |
get(int value)
Returns the 'Communication Type' literal with the specified integer value. |
static CommunicationType |
get(java.lang.String literal)
Returns the 'Communication Type' literal with the specified literal value. |
static CommunicationType |
getByName(java.lang.String name)
Returns the 'Communication Type' 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 CommunicationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CommunicationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CommunicationType EVENT_DRIVEN
EVENT_DRIVEN_VALUE
public static final CommunicationType DATA_DRIVEN
DATA_DRIVEN_VALUE
public static final CommunicationType SYNCHRONOUS
SYNCHRONOUS_VALUE
Field Detail |
---|
public static final int EVENT_DRIVEN_VALUE
If the meaning of 'EVENT DRIVEN' literal object isn't clear, there really should be more of a description here...
EVENT_DRIVEN
,
Constant Field Valuespublic static final int DATA_DRIVEN_VALUE
If the meaning of 'DATA DRIVEN' literal object isn't clear, there really should be more of a description here...
DATA_DRIVEN
,
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 java.util.List<CommunicationType> VALUES
Method Detail |
---|
public static CommunicationType[] values()
for (CommunicationType c : CommunicationType.values()) System.out.println(c);
public static CommunicationType 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 name
java.lang.NullPointerException
- if the argument is nullpublic static CommunicationType get(java.lang.String literal)
public static CommunicationType getByName(java.lang.String name)
public static CommunicationType get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<CommunicationType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |