org.suecarter.tablediff

ReportContent

case class ReportContent[+R, +C, +M](rowHeaders: ReportSection[R] = ..., columnHeaders: ReportSection[C] = ..., mainData: ReportSection[M] = ..., rowColumnHeaders: ReportSection[C] = ..., fillForwardBlankHeaders: Boolean = true) extends Product with Serializable

Class to contain report content. Think of the report being broken into 4 sections

rowColumnHeaders| columnHeaders
-------------------------------
rowHeaders      | mainData
R

Type of row header elements

C

Type of all column header elements (including rowColumn header)

M

Type of main data elements

rowHeaders

bottom left section

columnHeaders

top right section

mainData

bottom right section

rowColumnHeaders

top left section

fillForwardBlankHeaders

if repeating values in the header sections are left blank, fill forward the values so that the produced diff has better context in header which drives the diff matching algorithm. Default true

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReportContent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReportContent(r: Array[Array[R]], c: Array[Array[C]], m: Array[Array[M]], rch: Array[Array[C]])

  2. new ReportContent(rowHeaders: ReportSection[R] = ..., columnHeaders: ReportSection[C] = ..., mainData: ReportSection[M] = ..., rowColumnHeaders: ReportSection[C] = ..., fillForwardBlankHeaders: Boolean = true)

    rowHeaders

    bottom left section

    columnHeaders

    top right section

    mainData

    bottom right section

    rowColumnHeaders

    top left section

    fillForwardBlankHeaders

    if repeating values in the header sections are left blank, fill forward the values so that the produced diff has better context in header which drives the diff matching algorithm. Default true

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val columnCount: Int

    how many main columns

  9. val columnDepth: Int

    how deep are the column headers

  10. val columnHeaders: ReportSection[C]

    top right section

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. val fillForwardBlankHeaders: Boolean

    if repeating values in the header sections are left blank, fill forward the values so that the produced diff has better context in header which drives the diff matching algorithm.

    if repeating values in the header sections are left blank, fill forward the values so that the produced diff has better context in header which drives the diff matching algorithm. Default true

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def isEmpty: Boolean

    report is considered empty if every section has zero width and height

  16. def isEquivalent(rightReport: ReportContent[_, _, _]): Boolean

    check to see if this report is equivalent to right report

    check to see if this report is equivalent to right report

    returns

    true if all sections are equal.

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val mainData: ReportSection[M]

    bottom right section

  19. def mainDataColumnCount: Int

    how many columns in the main data

  20. val mainDataRows: Int

    how many rows in the main data

  21. def mapAllCells[T >: Any, S](mapFunction: (T) ⇒ S): ReportContent[S, S, S]

    Utility to apply function to every element in this report

    Utility to apply function to every element in this report

    returns

    A new transformed report

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def nonEmpty: Boolean

    true if there is data in any of the report sections

  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. val rowColumnHeaders: ReportSection[C]

    top left section

  27. val rowCount: Int

    how many rows

  28. val rowHeaders: ReportSection[R]

    bottom left section

  29. val rowSectionWidth: Int

    how deep is the row section

  30. val rowWidth: Int

    how deep are the row headers

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped