Interface MatrixData


@OpenApiAll public interface MatrixData
Interface used to access dependency matrix data structure.
  • 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

      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

      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

      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

    • getValue

      AbstractMatrixCell getValue(ElementNode row, ElementNode column)
      Get Matrix Cell value from the model
      Parameters:
      row - row node
      column - column node
      Returns:
      matrix data cell
    • isEmpty

      boolean isEmpty()
      If there is any data inside this dependency matrix
      Returns:
      true if empty