Package adalid.core
Class DisplayField
java.lang.Object
adalid.core.AbstractArtifact
adalid.core.DisplayField
- All Implemented Interfaces:
Wrappable,Artifact,Comparable<DisplayField>
- Author:
- Jorge Campins
-
Field Summary
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, FWGTS, FWLTS, HT, PORTUGUESE, SPANISH -
Constructor Summary
ConstructorsConstructorDescriptionDisplayField(Display display, EntityCollection collection) DisplayField(Display display, Property property) DisplayField(Display display, QueryTable queryTable, Property property, DisplayField parentField) -
Method Summary
Modifier and TypeMethodDescriptionintprotected StringfieldsToString(int n, String key, boolean verbose, boolean fields, boolean maps) getStep()intintgetTabFieldIndex(Tab tab) getTabs()booleanbooleanbooleanbooleanbooleanbooleanbooleanprotected StringmapsToString(int n, String key, boolean verbose, boolean fields, boolean maps) voidsetForeignCode(boolean indicator) voidsetForeignName(boolean indicator) Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, b, b, bigDecimal, bigDecimal, bigDecimal, bigDecimal, bigDecimal, bigInteger, bigInteger, bigInteger, bigInteger, bigInteger, checkName, checkScope, classToString, clearAttributes, coalesce, copyBootstrappingAttributes, copyLocalizedStrings, defaultLocale, depth, fa, finalise, finish, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getCrypticName, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultColumnHeader, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getDefaultWrapperClass, getFullName, getInlineHelpType, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyFeatures, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedColumnHeader, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPartialSqlName, 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, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultColumnHeader, setDefaultColumnHeader, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setInlineHelpType, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedColumnHeader, setLocalizedColumnHeader, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames, xs
-
Constructor Details
-
DisplayField
-
DisplayField
-
DisplayField
public DisplayField(Display display, QueryTable queryTable, Property property, DisplayField parentField)
-
-
Method Details
-
getDisplay
- Returns:
- the display
-
getArtifact
- Returns:
- the linked artifact
-
getDataArtifact
- Returns:
- the linked data artifact
-
isDataArtifact
public boolean isDataArtifact()- Returns:
- true if data artifact is not null
-
getParameter
- Returns:
- the linked parameter
-
isParameter
public boolean isParameter()- Returns:
- true if data artifact is a parameter
-
getProperty
- Returns:
- the linked property
-
isProperty
public boolean isProperty()- Returns:
- true if data artifact is a property
-
getEntityCollection
- Returns:
- the entity collection
-
isEntityCollection
public boolean isEntityCollection()- Returns:
- true if entity collection is not null
-
getParent
- Returns:
- the parent field
-
getStep
- Returns:
- the step
-
getStepFieldIndex
public int getStepFieldIndex()- Returns:
- the step field index
-
getTabs
- Returns:
- the tab
-
isInTab
- Parameters:
tab- the tab to search- Returns:
- true if the tab contains this field
-
getTabFieldIndex
- Parameters:
tab- the tab to search- Returns:
- the tab field index
-
isForeignCode
public boolean isForeignCode()- Returns:
- the foreign code indicator
-
setForeignCode
public void setForeignCode(boolean indicator) - Parameters:
indicator- the foreign code indicator to set
-
getForeignCodeField
-
isForeignName
public boolean isForeignName()- Returns:
- the foreign name indicator
-
setForeignName
public void setForeignName(boolean indicator) - Parameters:
indicator- the foreign name indicator to set
-
getForeignNameField
-
getChildren
- Returns:
- the children
-
compareTo
- Specified by:
compareToin interfaceComparable<DisplayField>
-
fieldsToString
- Overrides:
fieldsToStringin classAbstractArtifact
-
mapsToString
- Overrides:
mapsToStringin classAbstractArtifact
-