Interface MatrixData
@OpenApiAll
public interface MatrixData
Interface used to access dependency matrix data structure.
-
Method Summary
Modifier and TypeMethodDescriptionReturns only model elements used in columns without group elementsReturns all column nodes used in matrixgetColumnNodes
(Element element) Return all column nodes which contain specified elementReturns only model elements used in rows without group elementsReturns all row nodes used in matrixgetRowNodes
(Element element) Return all row nodes which contain specified elementgetValue
(ElementNode row, ElementNode column) Get Matrix Cell value from the modelDeprecated.boolean
isEmpty()
If there is any data inside this dependency matrix
-
Method Details
-
getRowElements
Collection<Element> getRowElements()Returns only model elements used in rows without group elements- Returns:
- row elements
-
getRowNodes
Collection<ElementNode> getRowNodes()Returns all row nodes used in matrix- Returns:
- row element nodes
-
getRowNodes
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
Collection<Element> getColumnElements()Returns only model elements used in columns without group elements- Returns:
- column elements
-
getColumnNodes
Collection<ElementNode> getColumnNodes()Returns all column nodes used in matrix- Returns:
- column element nodes
-
getColumnNodes
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. -
getValue
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
-
getValue(ElementNode, ElementNode)