Package adalid.core
Class Report
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Report
-
public class Report extends AbstractArtifact implements java.lang.Comparable<Report>
- Author:
- Jorge Campins
-
-
Field Summary
-
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, FWGTS, FWLTS, HT, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Constructor Description Report(PersistentEntity entity)Report(View view)Report(java.lang.String name)
-
Method Summary
-
Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, b, b, bigDecimal, bigInteger, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, finalise, finish, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getDefaultWrapperClass, getFullName, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getStringKeyValuePairAttribute, getStringKeyValuePairAttribute, getTrace, getValidFieldAnnotations, getValidTypeAnnotations, getValueString, getValueString, getWrapper, greaterThanZero, h1, h2, h3, h4, h5, h6, hashCodeHexString, i, i, ic, ic, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFinished, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isUnicodeSymbolClass, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, m, m, mapsToString, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames, xs
-
-
-
-
Constructor Detail
-
Report
public Report(java.lang.String name)
-
Report
public Report(PersistentEntity entity)
-
Report
public Report(View view)
-
-
Method Detail
-
getEntity
public PersistentEntity getEntity()
- Returns:
- the entity
-
getView
public View getView()
- Returns:
- the view
-
getPageFormat
public PageFormat getPageFormat()
-
getPaperSize
public java.lang.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 java.lang.String getTitle()
-
getInterFieldGapWidth
public int getInterFieldGapWidth()
- Returns:
- the inter field gap width
-
getGroupsMap
public java.util.Map<ViewField,ReportGroup> getGroupsMap()
- Returns:
- the groups map
-
getGroups
public java.util.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 java.util.Set<ViewFieldAggregation> getAggregations()
-
getAggregateFunctionName
public java.lang.String getAggregateFunctionName(java.lang.String aggregation)
-
compareTo
public int compareTo(Report that)
- Specified by:
compareToin interfacejava.lang.Comparable<Report>
-
fieldsToString
protected java.lang.String fieldsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)- Overrides:
fieldsToStringin classAbstractArtifact
-
-