jBPM :: BPMN2 EMF Extension Model 6.2.0.CR2

bpsim
Enum ResultType

java.lang.Object
  extended by java.lang.Enum<ResultType>
      extended by bpsim.ResultType
All Implemented Interfaces:
Serializable, Comparable<ResultType>, org.eclipse.emf.common.util.Enumerator

public enum ResultType
extends Enum<ResultType>
implements org.eclipse.emf.common.util.Enumerator

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

See Also:
BpsimPackage.getResultType()

Enum Constant Summary
COUNT
          The 'Count' literal object
MAX
          The 'Max' literal object
MEAN
          The 'Mean' literal object
MIN
          The 'Min' literal object
SUM
          The 'Sum' literal object
 
Field Summary
static int COUNT_VALUE
          The 'Count' literal value
static int MAX_VALUE
          The 'Max' literal value
static int MEAN_VALUE
          The 'Mean' literal value
static int MIN_VALUE
          The 'Min' literal value
static int SUM_VALUE
          The 'Sum' literal value
static List<ResultType> VALUES
          A public read-only list of all the 'Result Type' enumerators
 
Method Summary
static ResultType get(int value)
          Returns the 'Result Type' literal with the specified integer value
static ResultType get(String literal)
          Returns the 'Result Type' literal with the specified literal value
static ResultType getByName(String name)
          Returns the 'Result Type' 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 ResultType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResultType[] 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

MIN

public static final ResultType MIN
The 'Min' literal object.

See Also:
MIN_VALUE

MAX

public static final ResultType MAX
The 'Max' literal object.

See Also:
MAX_VALUE

MEAN

public static final ResultType MEAN
The 'Mean' literal object.

See Also:
MEAN_VALUE

COUNT

public static final ResultType COUNT
The 'Count' literal object.

See Also:
COUNT_VALUE

SUM

public static final ResultType SUM
The 'Sum' literal object.

See Also:
SUM_VALUE
Field Detail

MIN_VALUE

public static final int MIN_VALUE
The 'Min' literal value.

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

See Also:
MIN, Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
The 'Max' literal value.

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

See Also:
MAX, Constant Field Values

MEAN_VALUE

public static final int MEAN_VALUE
The 'Mean' literal value.

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

See Also:
MEAN, Constant Field Values

COUNT_VALUE

public static final int COUNT_VALUE
The 'Count' literal value.

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

See Also:
COUNT, Constant Field Values

SUM_VALUE

public static final int SUM_VALUE
The 'Sum' literal value.

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

See Also:
SUM, Constant Field Values

VALUES

public static final List<ResultType> VALUES
A public read-only list of all the 'Result Type' enumerators.

Method Detail

values

public static ResultType[] 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 (ResultType c : ResultType.values())
    System.out.println(c);

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

valueOf

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

get

public static ResultType get(String literal)
Returns the 'Result Type' literal with the specified literal value.


getByName

public static ResultType getByName(String name)
Returns the 'Result Type' literal with the specified name.


get

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


getValue

public int getValue()

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

getName

public String getName()

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

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator

toString

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

Overrides:
toString in class Enum<ResultType>

jBPM :: BPMN2 EMF Extension Model 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.