Package adalid.core

Class Report

All Implemented Interfaces:
Wrappable, Artifact, Comparable<Report>

public class Report extends AbstractArtifact implements Comparable<Report>
Author:
Jorge Campins
  • Constructor Details

  • Method Details

    • getEntity

      public PersistentEntity getEntity()
      Returns:
      the entity
    • getView

      public View getView()
      Returns:
      the view
    • getPageFormat

      public PageFormat getPageFormat()
    • getPaperSize

      public String getPaperSize()
    • isLandscapeOrientation

      public boolean isLandscapeOrientation()
    • isPortraitOrientation

      public boolean isPortraitOrientation()
    • getColumnWidth

      public int getColumnWidth()
    • getPageWidth

      public int getPageWidth()
    • getPageHeight

      public int getPageHeight()
    • getTopMargin

      public int getTopMargin()
    • getBottomMargin

      public int getBottomMargin()
    • getLeftMargin

      public int getLeftMargin()
    • getRightMargin

      public int getRightMargin()
    • getTitle

      public String getTitle()
    • getInterFieldGapWidth

      public int getInterFieldGapWidth()
      Returns:
      the inter field gap width
    • setInterFieldGapWidth

      protected void setInterFieldGapWidth(int interFieldGapWidth)
      Parameters:
      interFieldGapWidth - the inter field gap width to set
    • getGroupsMap

      public Map<ViewField,ReportGroup> getGroupsMap()
      Returns:
      the groups map
    • getGroups

      public List<ReportGroup> getGroups()
      Returns:
      the groups list
    • getDetailGroup

      public ReportGroup getDetailGroup()
      Returns:
      the detail group
    • getLastControlGroup

      public ReportGroup getLastControlGroup()
      Returns:
      the last control group
    • getPenultimateControlGroup

      public ReportGroup getPenultimateControlGroup()
      Returns:
      the penultimate control group
    • isCountAtHand

      public boolean isCountAtHand()
    • isMinAtHand

      public boolean isMinAtHand()
    • isMaxAtHand

      public boolean isMaxAtHand()
    • isSumAtHand

      public boolean isSumAtHand()
    • isAverageAtHand

      public boolean isAverageAtHand()
    • isDeviationAtHand

      public boolean isDeviationAtHand()
    • addAggregates

      public void addAggregates()
    • getAggregations

      public Set<ViewFieldAggregation> getAggregations()
    • getAggregateFunctionName

      public String getAggregateFunctionName(String aggregation)
    • compareTo

      public int compareTo(Report that)
      Specified by:
      compareTo in interface Comparable<Report>
    • fieldsToString

      protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
      Overrides:
      fieldsToString in class AbstractArtifact