Package bpsim
Enum ResultType
- java.lang.Object
-
- java.lang.Enum<ResultType>
-
- 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()- Generated code
- Model
- extendedMetaData="name='ResultType'"
-
-
Field Summary
Fields Modifier and Type Field Description static intCOUNT_VALUEThe 'Count' literal value.static intMAX_VALUEThe 'Max' literal value.static intMEAN_VALUEThe 'Mean' literal value.static intMIN_VALUEThe 'Min' literal value.static intSUM_VALUEThe 'Sum' literal value.static List<ResultType>VALUESA public read-only list of all the 'Result Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResultTypeget(int value)Returns the 'Result Type' literal with the specified integer value.static ResultTypeget(String literal)Returns the 'Result Type' literal with the specified literal value.static ResultTypegetByName(String name)Returns the 'Result Type' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static ResultTypevalueOf(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.
-
-
-
Enum Constant Detail
-
MIN
public static final ResultType MIN
The 'Min' literal object.- See Also:
MIN_VALUE- Generated code
- Ordered
-
MAX
public static final ResultType MAX
The 'Max' literal object.- See Also:
MAX_VALUE- Generated code
- Ordered
-
MEAN
public static final ResultType MEAN
The 'Mean' literal object.- See Also:
MEAN_VALUE- Generated code
- Ordered
-
COUNT
public static final ResultType COUNT
The 'Count' literal object.- See Also:
COUNT_VALUE- Generated code
- Ordered
-
SUM
public static final ResultType SUM
The 'Sum' literal object.- See Also:
SUM_VALUE- Generated code
- Ordered
-
-
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- Generated code
- Model
- name="min"
- Ordered
-
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- Generated code
- Model
- name="max"
- Ordered
-
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- Generated code
- Model
- name="mean"
- Ordered
-
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- Generated code
- Model
- name="count"
- Ordered
-
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- Generated code
- Model
- name="sum"
- Ordered
-
VALUES
public static final List<ResultType> VALUES
A public read-only list of all the 'Result Type' enumerators.- Generated code
-
-
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 nameNullPointerException- if the argument is null
-
get
public static ResultType get(String literal)
Returns the 'Result Type' literal with the specified literal value.- Generated code
-
getByName
public static ResultType getByName(String name)
Returns the 'Result Type' literal with the specified name.- Generated code
-
get
public static ResultType get(int value)
Returns the 'Result Type' literal with the specified integer value.- Generated code
-
getValue
public int getValue()
- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator- Generated code
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator- Generated code
-
getLiteral
public String getLiteral()
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator- Generated code
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<ResultType>- Generated code
-
-