Package com.nomagic.magicdraw.sysml.util
Enum AnalysisPatternsProfile.objectiveEnum
- java.lang.Object
-
- java.lang.Enum<AnalysisPatternsProfile.objectiveEnum>
-
- com.nomagic.magicdraw.sysml.util.AnalysisPatternsProfile.objectiveEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnalysisPatternsProfile.objectiveEnum>
- Enclosing class:
- AnalysisPatternsProfile
public static enum AnalysisPatternsProfile.objectiveEnum extends java.lang.Enum<AnalysisPatternsProfile.objectiveEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnalysisPatternsProfile.objectiveEnum
from(java.lang.Object o)
java.lang.String
getText()
static AnalysisPatternsProfile.objectiveEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(AnalysisPatternsProfile profile, AnalysisPatternsProfile.objectiveEnum anEnum)
static AnalysisPatternsProfile.objectiveEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AnalysisPatternsProfile.objectiveEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINIMIZE
public static final AnalysisPatternsProfile.objectiveEnum MINIMIZE
-
MAXIMIZE
public static final AnalysisPatternsProfile.objectiveEnum MAXIMIZE
-
TARGET
public static final AnalysisPatternsProfile.objectiveEnum TARGET
-
-
Method Detail
-
values
public static AnalysisPatternsProfile.objectiveEnum[] 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 (AnalysisPatternsProfile.objectiveEnum c : AnalysisPatternsProfile.objectiveEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalysisPatternsProfile.objectiveEnum 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 namejava.lang.NullPointerException
- if the argument is null
-
getText
public java.lang.String getText()
-
from
@CheckForNull public static AnalysisPatternsProfile.objectiveEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static AnalysisPatternsProfile.objectiveEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(AnalysisPatternsProfile profile, AnalysisPatternsProfile.objectiveEnum anEnum)
-
-