Class DependencyEntry
java.lang.Object
com.nomagic.magicdraw.dependencymatrix.datamodel.cell.DependencyEntry
Represents single dependency entry inside Dependency Matrix
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDependencyEntry(DependencyDirection direction, List<Element> cause) Creates relation chain with all required properties. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCause()Elements causing this dependency to existString description of the dependencyDirection of the dependencygetName()Representative text for the dependencygetStyle()getType()Returns dependency type which may represent the cell dependencies.inthashCode()voidsetDescription(String description) String description of the dependency
-
Field Details
-
cause
Element or chain of elements, which are responsible that expression evaluated onsourcegivestargetas a result
-
-
Constructor Details
-
DependencyEntry
Creates relation chain with all required properties. All have to be set (no null values)- Parameters:
direction- relationship directioncause- Dependency causing elements
-
-
Method Details
-
getDirection
Direction of the dependency- Returns:
- Direction
-
getCause
Elements causing this dependency to exist- Returns:
- elements causing this dependency
-
getType
Returns dependency type which may represent the cell dependencies. In simple case it returns first dependency cause element class type- Returns:
- type of the dependency
-
getName
Representative text for the dependency- Returns:
- name of the dependency entry
-
getDescription
String description of the dependency- Returns:
- short representative description of the dependency
-
setDescription
String description of the dependency- Parameters:
description- hort representative description of the dependency
-
equals
-
hashCode
public int hashCode() -
getStyle
-