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