Enum Class DependencyDirection
java.lang.Object
java.lang.Enum<DependencyDirection>
com.nomagic.magicdraw.dependencymatrix.datamodel.cell.DependencyDirection
- All Implemented Interfaces:
Serializable
,Comparable<DependencyDirection>
,Constable
Dependency direction. Holds information about some dependency direction
-
Enum Constant Summary
Enum ConstantDescriptionThe both way dependency.The column to row dependency.Multiple dependenciesNo dependenciesThe row to column dependency -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyDirection
valueByRepresentation
(String representationText) Get enum value by its representation textstatic DependencyDirection
Returns the enum constant of this class with the specified name.static DependencyDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROW_TO_COLUMN
The row to column dependency -
COLUMN_TO_ROW
The column to row dependency. -
BOTH
The both way dependency. -
NONE
No dependencies -
MULTI
Multiple dependencies
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTextRepresentation
-
valueByRepresentation
Get enum value by its representation text- Parameters:
representationText
- text- Returns:
- enum value
-