Class/Object

org.suecarter.tablediff

ReportContent

Related Docs: object ReportContent | package tablediff

Permalink

case class ReportContent[+R, +C, +M](rowHeaders: ReportSection[R] = emptySection, columnHeaders: ReportSection[C] = emptySection, mainData: ReportSection[M] = emptySection, rowColumnHeaders: ReportSection[C] = emptySection, 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
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]])

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    how many main columns

  7. val columnDepth: Int

    Permalink

    how deep are the column headers

  8. val columnHeaders: ReportSection[C]

    Permalink

    top right section

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

    Permalink
    Definition Classes
    AnyRef
  10. val fillForwardBlankHeaders: Boolean

    Permalink

    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

  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def isEmpty: Boolean

    Permalink

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

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

    Permalink

    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.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val mainData: ReportSection[M]

    Permalink

    bottom right section

  17. def mainDataColumnCount: Int

    Permalink

    how many columns in the main data

  18. val mainDataRows: Int

    Permalink

    how many rows in the main data

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  21. def nonEmpty: Boolean

    Permalink

    true if there is data in any of the report sections

  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. val rowColumnHeaders: ReportSection[C]

    Permalink

    top left section

  25. val rowCount: Int

    Permalink

    how many rows

  26. val rowHeaders: ReportSection[R]

    Permalink

    bottom left section

  27. val rowSectionWidth: Int

    Permalink

    how deep is the row section

  28. val rowWidth: Int

    Permalink

    how deep are the row headers

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

    Permalink
    Definition Classes
    AnyRef
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped