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