Class Row.AddRowBuilder

  • Enclosing class:
    Row

    public static class Row.AddRowBuilder
    extends java.lang.Object
    A convenience class for creating a RowWrapper with the necessary fields for inserting a Row or set of rows.
    • Constructor Detail

      • AddRowBuilder

        public AddRowBuilder()
    • Method Detail

      • getToTop

        public java.lang.Boolean getToTop()
        Gets the to top.
        Returns:
        the to top
      • setToTop

        public Row.AddRowBuilder setToTop​(java.lang.Boolean toTop)
        Sets the to top flag that puts the row at the top of the sheet.
        Parameters:
        toTop - the to top flag
        Returns:
        the insert rows builder
      • getToBottom

        public java.lang.Boolean getToBottom()
        Gets the to bottom.
        Returns:
        the to bottom
      • setToBottom

        public Row.AddRowBuilder setToBottom​(java.lang.Boolean toBottom)
        Sets the to bottom flag that puts the row at the bottom of the sheet.
        Parameters:
        toBottom - the to bottom
        Returns:
        the insert rows builder
      • getParentId

        public java.lang.Long getParentId()
        Gets the parent id.
        Returns:
        the parent id
      • setParentId

        public Row.AddRowBuilder setParentId​(java.lang.Long parentId)
        Sets the parent id that puts the row as the first child of the specified id.
        Parameters:
        parentId - the parent id
        Returns:
        the insert rows builder
      • getSiblingId

        public java.lang.Long getSiblingId()
        Gets the sibling id.
        Returns:
        the sibling id
      • setSiblingId

        public Row.AddRowBuilder setSiblingId​(java.lang.Long siblingId)
        Sets the sibling id that puts the row as the next row at the same hierarchical level of this row.
        Parameters:
        siblingId - the sibling id
        Returns:
        the insert rows builder
      • getAbove

        public java.lang.Boolean getAbove()
        Gets the above flag
        Returns:
        the above flag
      • setAbove

        public Row.AddRowBuilder setAbove​(java.lang.Boolean above)
        Sets the above flag
        Parameters:
        above - the above flag
        Returns:
        the insert rows builder
      • getFormat

        public Format getFormat()
        Gets the format
        Returns:
        the format
      • setFormat

        public Row.AddRowBuilder setFormat​(Format format)
        Sets the format
        Parameters:
        format - the format
        Returns:
        the insert rows builder
      • getExpanded

        public java.lang.Boolean getExpanded()
        Gets the expanded flag
        Returns:
        the expanded flag
      • setExpanded

        public Row.AddRowBuilder setExpanded​(java.lang.Boolean expanded)
        Sets the expanded flag
        Parameters:
        expanded - the expanded flag
        Returns:
        the insert rows builder
      • getCells

        public java.util.List<Cell> getCells()
        Gets the list of cells
        Returns:
        the list of cells
      • setCells

        public Row.AddRowBuilder setCells​(java.util.List<Cell> cells)
        Sets the list of cells
        Parameters:
        cells - the list of cells
        Returns:
        the insert rows builder
      • build

        public Row build()
        Builds the row object
        Returns:
        the row object