Package adalid.core
Class ReportGroup
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.ReportGroup
-
- All Implemented Interfaces:
Wrappable,Artifact,Comparable<ReportGroup>
public class ReportGroup extends AbstractArtifact implements Comparable<ReportGroup>
- Author:
- Jorge Campins
-
-
Field Summary
-
Fields inherited from class adalid.core.AbstractArtifact
ENGLISH, NBSP, PORTUGUESE, SPANISH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportGroupaddReportGroup(Report report)static ReportGroupaddReportGroup(Report report, int sequence)static ReportGroupaddReportGroup(Report report, View view)static ReportGroupaddReportGroup(Report report, ViewField field, int sequence)intcompareTo(ReportGroup that)protected StringfieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)ReportFieldgetField()List<ReportField>getFields()intgetIndex()intgetMinHeightToStartNewPage()ReportgetReport()IntegergetSequence()ViewFieldgetViewField()intgetVisibleFieldsCount()intincreaseMinHeightToStartNewPage(int height)booleanisDetail()booleanisLastControl()booleanisPenultimateControl()intresetMinHeightToStartNewPage()-
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
-
-
-
-
Method Detail
-
addReportGroup
public static ReportGroup addReportGroup(Report report)
-
addReportGroup
public static ReportGroup addReportGroup(Report report, int sequence)
-
addReportGroup
public static ReportGroup addReportGroup(Report report, View view)
-
addReportGroup
public static ReportGroup addReportGroup(Report report, ViewField field, int sequence)
-
getIndex
public int getIndex()
- Returns:
- the index
-
getReport
public Report getReport()
- Returns:
- the report
-
getViewField
public ViewField getViewField()
- Returns:
- the view field
-
getField
public ReportField getField()
- Returns:
- the report control field
-
getSequence
public Integer getSequence()
- Returns:
- the sequence
-
isDetail
public boolean isDetail()
- Returns:
- the detail
-
isLastControl
public boolean isLastControl()
- Returns:
- the last control
-
isPenultimateControl
public boolean isPenultimateControl()
- Returns:
- the penultimate control
-
getFields
public List<ReportField> getFields()
- Returns:
- the fields list
-
getVisibleFieldsCount
public int getVisibleFieldsCount()
-
getMinHeightToStartNewPage
public int getMinHeightToStartNewPage()
-
increaseMinHeightToStartNewPage
public int increaseMinHeightToStartNewPage(int height)
-
resetMinHeightToStartNewPage
public int resetMinHeightToStartNewPage()
-
compareTo
public int compareTo(ReportGroup that)
- Specified by:
compareToin interfaceComparable<ReportGroup>
-
fieldsToString
protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
- Overrides:
fieldsToStringin classAbstractArtifact
-
-