Enum DependencyDirection
- java.lang.Object
-
- java.lang.Enum<DependencyDirection>
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.DependencyDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DependencyDirection>
@OpenApiAll public enum DependencyDirection extends java.lang.Enum<DependencyDirection>
Dependency direction. Holds information about some dependency direction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTH
The both way dependency.COLUMN_TO_ROW
The column to row dependency.MULTI
Multiple dependenciesNONE
No dependenciesROW_TO_COLUMN
The row to column dependency
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTextRepresentation()
static DependencyDirection
valueByRepresentation(java.lang.String representationText)
Get enum value by its representation textstatic DependencyDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DependencyDirection[]
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 DependencyDirection ROW_TO_COLUMN
The row to column dependency
-
COLUMN_TO_ROW
public static final DependencyDirection COLUMN_TO_ROW
The column to row dependency.
-
BOTH
public static final DependencyDirection BOTH
The both way dependency.
-
NONE
public static final DependencyDirection NONE
No dependencies
-
MULTI
public static final DependencyDirection MULTI
Multiple dependencies
-
-
Method Detail
-
values
public static DependencyDirection[] 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 (DependencyDirection c : DependencyDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DependencyDirection 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
-
getTextRepresentation
public java.lang.String getTextRepresentation()
-
valueByRepresentation
public static DependencyDirection valueByRepresentation(java.lang.String representationText)
Get enum value by its representation text- Parameters:
representationText
- text- Returns:
- enum value
-
-