Package adalid.core
Class ViewField
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.ViewField
-
public class ViewField extends AbstractArtifact
- 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 protected StringfieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)ViewFieldAggregationgetAggregation()StringgetAlias()PropertygetColumn()PropertygetGroup()ViewFieldgetGroupField()StringgetName()IntegergetPixels()SortOptiongetSortOption()booleanisAggregationField()booleanisChartable()booleanisControlField()booleanisNonNumericAggregationField()booleanisNumericAggregationField()voidsetPixels(Integer pixels)El método setPixels se utiliza para establecer el tamaño del campo en los informes, expresado en pixeles.-
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, 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, 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
-
getName
public String getName()
- Specified by:
getNamein interfaceArtifact- Overrides:
getNamein classAbstractArtifact- Returns:
- the name
-
getAlias
public String getAlias()
- Specified by:
getAliasin interfaceArtifact- Overrides:
getAliasin classAbstractArtifact- Returns:
- the alias
-
getColumn
public Property getColumn()
- Returns:
- the column
-
getGroup
public Property getGroup()
- Returns:
- the group
-
getGroupField
public ViewField getGroupField()
- Returns:
- the group field
-
isControlField
public boolean isControlField()
- Returns:
- the group field indicator
-
getAggregation
public ViewFieldAggregation getAggregation()
- Returns:
- the view column aggregation
-
isAggregationField
public boolean isAggregationField()
- Returns:
- the aggregation indicator
-
isNumericAggregationField
public boolean isNumericAggregationField()
- Returns:
- the numeric aggregation indicator
-
isNonNumericAggregationField
public boolean isNonNumericAggregationField()
- Returns:
- the non-numeric aggregation indicator
-
getSortOption
public SortOption getSortOption()
- Returns:
- the sort option
-
isChartable
public boolean isChartable()
- Returns:
- the chartable indicator
-
getPixels
public Integer getPixels()
- Returns:
- the size in pixels
-
setPixels
public void setPixels(Integer pixels)
El método setPixels se utiliza para establecer el tamaño del campo en los informes, expresado en pixeles. Si no se especifica el tamaño de algún campo, o si se especifica un valor fuera del rango permitido por el método setPixels, el tamaño del campo en el informe se determina en función la clase de la correspondiente propiedad.- Parameters:
pixels- número entero entre 0 y 960. Si el valor es 0 entonces el campo no se muestra en los informes. Si el valor es nulo, menor que 0 o mayor que 960, entonces se utiliza el tamaño predeterminado.
-
fieldsToString
protected String fieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps)
- Overrides:
fieldsToStringin classAbstractArtifact
-
-