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