Class MatrixCell
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
-
- com.nomagic.magicdraw.dependencymatrix.datamodel.cell.MatrixCell
-
@OpenApiAll public class MatrixCell extends AbstractMatrixCell
Single matrix element representation - holds information about elements and relations according to the criteria
-
-
Field Summary
-
Fields inherited from class com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
EMPTY_CELL, EMPTY_EDITABLE_CELL, EMPTY_READONLY_CELL, UNKNOWN_CELL
-
-
Constructor Summary
Constructors Constructor Description MatrixCell(ElementNode rowNode, ElementNode columnNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementNode
getColumnNode()
Column node.java.util.Collection<DependencyEntry>
getDependencies()
Dependency entry listjava.lang.String
getDescription()
ElementNode
getRowNode()
Row node.MatrixCellView
getView()
Creates or returns already created matrix view objectvoid
setDependencies(java.util.Collection<DependencyEntry> dependencies)
Set new collection with cell dependency listjava.lang.String
toString()
-
Methods inherited from class com.nomagic.magicdraw.dependencymatrix.datamodel.cell.AbstractMatrixCell
getStaticCell, isEditable, isStaticCell, isUnknownEditableState, isUnknownStaticCell
-
-
-
-
Constructor Detail
-
MatrixCell
public MatrixCell(ElementNode rowNode, ElementNode columnNode)
-
-
Method Detail
-
getRowNode
public ElementNode getRowNode()
Row node.- Returns:
- row node.
-
getColumnNode
public ElementNode getColumnNode()
Column node.- Returns:
- column node.
-
getDependencies
public java.util.Collection<DependencyEntry> getDependencies()
Description copied from class:AbstractMatrixCell
Dependency entry list- Specified by:
getDependencies
in classAbstractMatrixCell
- Returns:
- dependency entries or empty list if not exits
-
setDependencies
public void setDependencies(java.util.Collection<DependencyEntry> dependencies)
Description copied from class:AbstractMatrixCell
Set new collection with cell dependency list- Specified by:
setDependencies
in classAbstractMatrixCell
- Parameters:
dependencies
- new dependency list for the cell
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getView
public MatrixCellView getView()
Description copied from class:AbstractMatrixCell
Creates or returns already created matrix view object- Overrides:
getView
in classAbstractMatrixCell
- Returns:
- matrix cell view object
-
getDescription
@CheckForNull public java.lang.String getDescription()
- Overrides:
getDescription
in classAbstractMatrixCell
- Returns:
- representative text describing this cell
-
-