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