Interface MatrixData
-
@OpenApiAll public interface MatrixData
Interface used to access dependency matrix data structure.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Collection<Element>
getColumnElements()
Returns only model elements used in columns without group elementsjava.util.Collection<ElementNode>
getColumnNodes()
Returns all column nodes used in matrixjava.util.Collection<ElementNode>
getColumnNodes(Element element)
Return all column nodes which contain specified elementjava.util.Collection<Element>
getRowElements()
Returns only model elements used in rows without group elementsjava.util.Collection<ElementNode>
getRowNodes()
Returns all row nodes used in matrixjava.util.Collection<ElementNode>
getRowNodes(Element element)
Return all row nodes which contain specified elementAbstractMatrixCell
getValue(ElementNode row, ElementNode column)
Get Matrix Cell value from the modelAbstractMatrixCell
getValue(Element row, Element column)
Deprecated.boolean
isEmpty()
If there is any data inside this dependency matrix
-
-
-
Method Detail
-
getRowElements
java.util.Collection<Element> getRowElements()
Returns only model elements used in rows without group elements- Returns:
- row elements
-
getRowNodes
java.util.Collection<ElementNode> getRowNodes()
Returns all row nodes used in matrix- Returns:
- row element nodes
-
getRowNodes
java.util.Collection<ElementNode> getRowNodes(Element element)
Return all row nodes which contain specified element- Parameters:
element
- to search for row nodes- Returns:
- all of element row nodes used in matrix
-
getColumnElements
java.util.Collection<Element> getColumnElements()
Returns only model elements used in columns without group elements- Returns:
- column elements
-
getColumnNodes
java.util.Collection<ElementNode> getColumnNodes()
Returns all column nodes used in matrix- Returns:
- column element nodes
-
getColumnNodes
java.util.Collection<ElementNode> getColumnNodes(Element element)
Return all column nodes which contain specified element- Parameters:
element
- to search for column nodes- Returns:
- all of element column nodes used in matrix
-
getValue
@Deprecated AbstractMatrixCell getValue(Element row, Element column)
Deprecated.
-
getValue
AbstractMatrixCell getValue(ElementNode row, ElementNode column)
Get Matrix Cell value from the model- Parameters:
row
- row nodecolumn
- column node- Returns:
- matrix data cell
-
isEmpty
boolean isEmpty()
If there is any data inside this dependency matrix- Returns:
true
if empty
-
-