Package adalid.core
Class Report
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Report
-
- All Implemented Interfaces:
Wrappable,Artifact,Comparable<Report>
public class Report extends AbstractArtifact implements Comparable<Report>
- Author:
- Jorge Campins
-
-
Field Summary
-
Fields inherited from class adalid.core.AbstractArtifact
ENGLISH, NBSP, PORTUGUESE, SPANISH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAggregates()intcompareTo(Report that)protected StringfieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)StringgetAggregateFunctionName(String aggregation)Set<ViewFieldAggregation>getAggregations()ReportGroupgetDetailGroup()PersistentEntitygetEntity()List<ReportGroup>getGroups()Map<ViewField,ReportGroup>getGroupsMap()intgetInterFieldGapWidth()ReportGroupgetLastControlGroup()ReportGroupgetPenultimateControlGroup()StringgetTitle()ViewgetView()booleanisAverageAtHand()booleanisCountAtHand()booleanisDeviationAtHand()booleanisMaxAtHand()booleanisMinAtHand()booleanisSumAtHand()-
Methods inherited from class adalid.core.AbstractArtifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, finalise, 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, getTrace, getValidFieldAnnotations, getValidTypeAnnotations, getValueString, getValueString, getWrapper, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, mapsToString, put, repeat, round, 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, toString, toString, toString, toString, toString, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames
-
-
-
-
Constructor Detail
-
Report
public Report(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
-
getTitle
public String getTitle()
-
getInterFieldGapWidth
public int getInterFieldGapWidth()
- Returns:
- the inter field gap width
-
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()
-
compareTo
public int compareTo(Report that)
- Specified by:
compareToin interfaceComparable<Report>
-
fieldsToString
protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
- Overrides:
fieldsToStringin classAbstractArtifact
-
-