org.eclipse.etrice.core.room
Enum CommunicationType

java.lang.Object
  extended by java.lang.Enum<CommunicationType>
      extended by org.eclipse.etrice.core.room.CommunicationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CommunicationType>

public enum CommunicationType
extends java.lang.Enum<CommunicationType>

A representation of the literals of the enumeration 'Communication Type', and utility methods for working with them.

See Also:
RoomPackage.getCommunicationType()
EMF generated code
EMF model element

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

EVENT_DRIVEN

public static final CommunicationType EVENT_DRIVEN
The 'EVENT DRIVEN' literal object.

See Also:
EVENT_DRIVEN_VALUE
EMF generated code
EMF ordered

DATA_DRIVEN

public static final CommunicationType DATA_DRIVEN
The 'DATA DRIVEN' literal object.

See Also:
DATA_DRIVEN_VALUE
EMF generated code
EMF ordered

SYNCHRONOUS

public static final CommunicationType SYNCHRONOUS
The 'SYNCHRONOUS' literal object.

See Also:
SYNCHRONOUS_VALUE
EMF generated code
EMF ordered
Field Detail

EVENT_DRIVEN_VALUE

public static final int EVENT_DRIVEN_VALUE
The 'EVENT DRIVEN' literal value.

If the meaning of 'EVENT DRIVEN' literal object isn't clear, there really should be more of a description here...

See Also:
EVENT_DRIVEN, Constant Field Values
EMF generated code
EMF model element
literal="eventdriven"
EMF ordered

DATA_DRIVEN_VALUE

public static final int DATA_DRIVEN_VALUE
The 'DATA DRIVEN' literal value.

If the meaning of 'DATA DRIVEN' literal object isn't clear, there really should be more of a description here...

See Also:
DATA_DRIVEN, Constant Field Values
EMF generated code
EMF model element
literal="datadriven"
EMF ordered

SYNCHRONOUS_VALUE

public static final int SYNCHRONOUS_VALUE
The 'SYNCHRONOUS' literal value.

If the meaning of 'SYNCHRONOUS' literal object isn't clear, there really should be more of a description here...

See Also:
SYNCHRONOUS, Constant Field Values
EMF generated code
EMF model element
literal="sync"
EMF ordered

VALUES

public static final java.util.List<CommunicationType> VALUES
A public read-only list of all the 'Communication Type' enumerators.

EMF generated code
Method Detail

values

public static CommunicationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CommunicationType c : CommunicationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CommunicationType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

get

public static CommunicationType get(java.lang.String literal)
Returns the 'Communication Type' literal with the specified literal value.

EMF generated code

getByName

public static CommunicationType getByName(java.lang.String name)
Returns the 'Communication Type' literal with the specified name.

EMF generated code

get

public static CommunicationType get(int value)
Returns the 'Communication Type' literal with the specified integer value.

EMF generated code

getValue

public int getValue()

EMF generated code

getName

public java.lang.String getName()

EMF generated code

getLiteral

public java.lang.String getLiteral()

EMF generated code

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<CommunicationType>
EMF generated code