Class DependencyEntry
- java.lang.Object
 - 
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.DependencyEntry
 
 
- 
@OpenApiAll public class DependencyEntry extends java.lang.ObjectRepresents single dependency entry inside Dependency Matrix 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Element>causeElement or chain of elements, which are responsible that expression evaluated onsourcegivestargetas a resultprivate DependencyDirectiondirectionDirection of the dependencyprivate java.lang.StringmDescriptiondescription of the dependency for tooltip 
- 
Constructor Summary
Constructors Constructor Description DependencyEntry(DependencyDirection direction, java.util.List<Element> cause)Creates relation chain with all required properties. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<Element>getCause()Elements causing this dependency to existjava.lang.StringgetDescription()String description of the dependencyDependencyDirectiongetDirection()Direction of the dependencyjava.lang.StringgetName()Representative text for the dependencyDependencyStylegetStyle()java.lang.StringgetType()Returns dependency type which may represent the cell dependencies.inthashCode()voidsetDescription(java.lang.String description)String description of the dependency 
 - 
 
- 
- 
Field Detail
- 
mDescription
private java.lang.String mDescription
description of the dependency for tooltip 
- 
cause
protected java.util.List<Element> cause
Element or chain of elements, which are responsible that expression evaluated onsourcegivestargetas a result 
- 
direction
private final DependencyDirection direction
Direction of the dependency 
 - 
 
- 
Constructor Detail
- 
DependencyEntry
public DependencyEntry(DependencyDirection direction, java.util.List<Element> cause)
Creates relation chain with all required properties. All have to be set (no null values)- Parameters:
 direction- relationship directioncause- Dependency causing elements
 
 - 
 
- 
Method Detail
- 
getDirection
public DependencyDirection getDirection()
Direction of the dependency- Returns:
 - Direction
 
 
- 
getCause
public java.util.List<Element> getCause()
Elements causing this dependency to exist- Returns:
 - elements causing this dependency
 
 
- 
getType
public java.lang.String 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 depencency
 
 
- 
getName
public java.lang.String getName()
Representative text for the dependency- Returns:
 - name of the dependency entry
 
 
- 
getDescription
public java.lang.String getDescription()
String description of the dependency- Returns:
 - short representative description of the dependency
 
 
- 
setDescription
public void setDescription(java.lang.String description)
String description of the dependency- Parameters:
 description- hort representative description of the dependency
 
- 
equals
public boolean equals(java.lang.Object o)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
getStyle
public DependencyStyle getStyle()
 
 - 
 
 -