@OpenApiAll
public class Matrix
extends java.lang.Object
Constructor and Description |
---|
Matrix(DependencyMatrix matrix)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> |
getColumns()
Get all column element.
|
DependencyMatrix |
getMatrix()
Gets dependency matrix instance.
|
java.util.List<Relation> |
getRelation(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element row,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element column)
Get list of relation between row and column element.
|
java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> |
getRows()
Get all row elements.
|
void |
setMatrix(DependencyMatrix matrix)
Sets dependency matrix instance.
|
public Matrix(DependencyMatrix matrix)
matrix
- Dependency Matrix instance@CheckForNull public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getRows()
@CheckForNull public java.util.List<com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element> getColumns()
public java.util.List<Relation> getRelation(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element row, com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element column)
row
- row elementcolumn
- column elementpublic DependencyMatrix getMatrix()
public void setMatrix(DependencyMatrix matrix)
matrix
- matrix