org.eclipse.emf.mwe.ewm.workflow.runtime
Enum WorkflowLogEntryType

java.lang.Object
  extended by java.lang.Enum<WorkflowLogEntryType>
      extended by org.eclipse.emf.mwe.ewm.workflow.runtime.WorkflowLogEntryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WorkflowLogEntryType>, org.eclipse.emf.common.util.Enumerator

public enum WorkflowLogEntryType
extends java.lang.Enum<WorkflowLogEntryType>
implements org.eclipse.emf.common.util.Enumerator

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

See Also:
RuntimePackage.getWorkflowLogEntryType()
EMF generated code
EMF model element

Enum Constant Summary
DEBUG
          The 'DEBUG' literal object.
ERROR
          The 'ERROR' literal object.
INFO
          The 'INFO' literal object.
WARNING
          The 'WARNING' literal object.
 
Field Summary
static int DEBUG_VALUE
          The 'DEBUG' literal value.
static int ERROR_VALUE
          The 'ERROR' literal value.
static int INFO_VALUE
          The 'INFO' literal value.
static java.util.List<WorkflowLogEntryType> VALUES
          A public read-only list of all the 'Workflow Log Entry Type' enumerators.
static int WARNING_VALUE
          The 'WARNING' literal value.
 
Method Summary
static WorkflowLogEntryType get(int value)
          Returns the 'Workflow Log Entry Type' literal with the specified integer value.
static WorkflowLogEntryType get(java.lang.String literal)
          Returns the 'Workflow Log Entry Type' literal with the specified literal value.
static WorkflowLogEntryType getByName(java.lang.String name)
          Returns the 'Workflow Log Entry 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 WorkflowLogEntryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WorkflowLogEntryType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ERROR

public static final WorkflowLogEntryType ERROR
The 'ERROR' literal object.

See Also:
ERROR_VALUE
EMF generated code
EMF ordered

WARNING

public static final WorkflowLogEntryType WARNING
The 'WARNING' literal object.

See Also:
WARNING_VALUE
EMF generated code
EMF ordered

INFO

public static final WorkflowLogEntryType INFO
The 'INFO' literal object.

See Also:
INFO_VALUE
EMF generated code
EMF ordered

DEBUG

public static final WorkflowLogEntryType DEBUG
The 'DEBUG' literal object.

See Also:
DEBUG_VALUE
EMF generated code
EMF ordered
Field Detail

ERROR_VALUE

public static final int ERROR_VALUE
The 'ERROR' literal value.

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

See Also:
ERROR, Constant Field Values
EMF generated code
EMF model element
EMF ordered

WARNING_VALUE

public static final int WARNING_VALUE
The 'WARNING' literal value.

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

See Also:
WARNING, Constant Field Values
EMF generated code
EMF model element
EMF ordered

INFO_VALUE

public static final int INFO_VALUE
The 'INFO' literal value.

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

See Also:
INFO, Constant Field Values
EMF generated code
EMF model element
EMF ordered

DEBUG_VALUE

public static final int DEBUG_VALUE
The 'DEBUG' literal value.

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

See Also:
DEBUG, Constant Field Values
EMF generated code
EMF model element
EMF ordered

VALUES

public static final java.util.List<WorkflowLogEntryType> VALUES
A public read-only list of all the 'Workflow Log Entry Type' enumerators.

EMF generated code
Method Detail

values

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

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

valueOf

public static WorkflowLogEntryType 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

get

public static WorkflowLogEntryType get(java.lang.String literal)
Returns the 'Workflow Log Entry Type' literal with the specified literal value.

EMF generated code

getByName

public static WorkflowLogEntryType getByName(java.lang.String name)
Returns the 'Workflow Log Entry Type' literal with the specified name.

EMF generated code

get

public static WorkflowLogEntryType get(int value)
Returns the 'Workflow Log Entry Type' literal with the specified integer value.

EMF generated code

getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
EMF generated code

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
EMF generated code

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
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<WorkflowLogEntryType>
EMF generated code