public class AttributeWrapper extends java.lang.Object implements AttributeI
ALLOWED_RELATION_TYPES, ATT_NAME_BACKNAME, ATT_NAME_CUSTOM_ITERATOR, ATT_NAME_CUSTOM_ITERATOR_NOT_CACHING, ATT_NAME_DB_COPY_POLICY, ATT_NAME_DB_INDEX_TYPE, ATT_NAME_DB_INDEXED, ATT_NAME_DB_RELATION_DISCRIMINATOR, ATT_NAME_DB_UNIQUE, ATT_NAME_DEFAULT, ATT_NAME_DEPENDENT, ATT_NAME_DISPLAY_FORMAT, ATT_NAME_EXPORT_DEPENDENT_PRIMARY_KEY, ATT_NAME_EXPORT_FOR, ATT_NAME_EXPORT_IGNORE_FOR, ATT_NAME_EXPORT_SEPARATE_FILE_IN, ATT_NAME_FULLTEXT_ANALYZED, ATT_NAME_FULLTEXT_ANALYZER, ATT_NAME_FULLTEXT_BOOST, ATT_NAME_FULLTEXT_INDEXED, ATT_NAME_IGNORE_BACK_RELATION, ATT_NAME_ITEM_PROPERTY, ATT_NAME_LAZY, ATT_NAME_LOOKUP_CASE_SENSITIVE, ATT_NAME_LOOKUP_PROPERTY, ATT_NAME_LOOKUP_STARTING_WITH, ATT_NAME_LOOKUP_SUBSTRING, ATT_NAME_NAME, ATT_NAME_NP_CALCULATION_AUTHORITY, ATT_NAME_OMIT_ON_COPY, ATT_NAME_READONLY, ATT_NAME_RELATION, ATT_NAME_REPORT_ALIAS, ATT_NAME_REPORT_MANY_SORT, ATT_NAME_REPORT_POSITION, ATT_NAME_REPORT_RELATIVE_WIDTH, ATT_NAME_REPORT_SORT, ATT_NAME_REPORT_VISIBLE, ATT_NAME_SHARED, ATT_NAME_SINGULAR, ATT_NAME_TYPE, ATT_NAME_UI_AUTO_TRIM, ATT_NAME_UI_CREATE_IN_DETAILVIEW, ATT_NAME_UI_EDIT_MODE, ATT_NAME_UI_EDITABLE, ATT_NAME_UI_EXPECTED_WIDTH, ATT_NAME_UI_MANDATORY, ATT_NAME_UI_SELECTION_FILTER, ATT_NAME_UI_TIPS, ATT_NAME_UI_TIPS_TRISTATE, ATT_NAME_UI_VISIBLE, ATT_NAME_VIRTUAL_AGGREGATE, ATT_NAME_VIRTUAL_AGGREGATE_IGNORE_DELETED, ATT_NAME_VIRTUAL_CACHE_MODE, ATT_NAME_VIRTUAL_INITIALDATA, ATT_NAME_VIRTUAL_PRECACHING_HOOK, CACHEMODE_NONE, CACHEMODE_SIMPLE, CACHEMODE_STRING_SIMPLE, CACHEMODE_STRING_VERSIONED, CACHEMODE_VERSIONED, CALCULATION_AUTHORITY_CLIENT, CALCULATION_AUTHORITY_NONE, CALCULATION_AUTHORITY_SERVER, CALCULATION_AUTHORITY_STRING_CLIENT, CALCULATION_AUTHORITY_STRING_SERVER, COPY_POLICY_COPY, COPY_POLICY_NONE, COPY_POLICY_STRING_COPY, COPY_POLICY_STRING_UPDATE_REL, COPY_POLICY_UPDATEREL, DEFAULT_EXPECTED_WIDTH, EDITMODE_LINKONLY, EDITMODE_UNDEFINED, EDITMODE_VIEWONLY, EL_NAME_BACK_RELATION, EL_NAME_COMMENT, EL_NAME_DB, EL_NAME_EXPORT, EL_NAME_FULLTEXT, EL_NAME_LOOKUP, EL_NAME_NP, EL_NAME_REPORT, EL_NAME_UI, EL_NAME_VIRTUAL, EMPTY_ARRAY, EXPORT_IGNORE_FOR_ALL, MAX_RELATION_DISCRIMINATOR, MIN_RELATION_DISCRIMINATOR, NO_RELATION_DISCRIMINATOR, READONLY_NO, READONLY_SERVERONLY, READONLY_UNDEFINED, READONLY_WRITENEW, READONLY_WRITENEW_STR, READONLY_YES, REPORT_SORT_ASC, REPORT_SORT_DESC, RESERVED_KEYWORDS, RESERVED_TABLE_NAMES, SUFFIX_L10N_PLURAL_KEY, TYPE_NAME_DEFAULT
Modifier and Type | Method and Description |
---|---|
void |
addRelationObject(java.lang.Object bo,
java.lang.Object value) |
void |
addRelationObject(java.lang.Object bo,
java.lang.Object value,
WriteConstraintsOverriderI overrider) |
int |
compareTo(java.lang.Object _obj) |
java.lang.Boolean |
getAnalyzedForFTS() |
AttributeI |
getBackAttribute() |
int |
getCalculationAuthority()
Returns the calculation authority of this
AttributeI if it is non-persistent. |
java.lang.Class |
getClazz()
Returns the
Class object representing the type of this attribute or the related entity. |
java.lang.String |
getComment() |
java.lang.String |
getContainingElementPackage() |
int |
getCopyPolicy() |
int |
getEditmode() |
java.lang.String |
getEntityName()
Returns the name of the entity to which this attribute belongs.
|
int |
getExpectedWidth() |
java.lang.String |
getExportDependentPrimaryKey()
Returns the attribute name of the primary key when exporting this AttributeI as a dependent relation, if any.
|
OnlyToDirectedGraphNodeI |
getFromNode()
Retrieves the source node from which this directed edge originates.
|
java.lang.String |
getFTSAnalyzer() |
java.lang.Float |
getFTSBoost() |
java.lang.String |
getGuiTip(java.lang.String tip) |
int |
getGuiTipAsInt(java.lang.String tip) |
java.util.Map |
getGuiTips() |
java.lang.Boolean |
getIndexedForFTS() |
java.lang.String |
getItemProperty() |
java.lang.String |
getL10nEntityName()
Returns the localized name of the entity to which this attribute belongs.
|
java.lang.String |
getL10nName()
Returns the localized name of this
AttributeI . |
java.lang.String |
getL10nNameKey()
Returns the localization name key for this
AttributeI . |
java.lang.String |
getL10nNameVar()
Returns a localizable String variable reference for the name of this
AttributeI . |
java.lang.String |
getL10nSingular()
Returns the localized singular form of this
AttributeI . |
java.lang.String |
getL10nSingularKey()
Returns the singular key of this
AttributeI , used for localization. |
java.lang.String |
getL10nSingularVar()
Returns a localizable
String for the singular key of this AttributeI (i.e. |
java.lang.Boolean |
getLookupCaseSensitive() |
java.lang.String |
getLookupProperty() |
java.lang.Boolean |
getLookupStartingWith() |
java.lang.Boolean |
getLookupSubstring() |
java.util.Collection<java.lang.String> |
getModulePackages()
Returns the names of the module packages this
AttributeI is appearing in. |
java.lang.String |
getName() |
java.util.Collection<java.lang.String> |
getOrCreateModulePackagesSet() |
EntityI |
getRelationEntity() |
java.util.Iterator |
getRelationIterator(java.lang.Object bo) |
java.util.Map |
getRelationObjects(java.lang.Object bo) |
java.lang.String |
getRelationType() |
java.lang.String |
getReportAlias()
If a report alias is given, this is the sign for us to generate a group in the report
and show the data of this many-relation.
|
java.lang.String |
getReportManySort() |
java.lang.Integer |
getReportPosition()
Returns the expected position of the attribute in the automatic reports.
|
int |
getReportRelativeWidth()
Return the relative width of the attribute in the automatic reports, defaults to 1.
|
java.lang.String |
getReportSort() |
SchemaI |
getSchema()
Returns the schema associated with this attribute.
|
java.lang.String |
getSelectionFilter()
Returns a filter-clause that acts as a non-interactive filter within a query.
|
java.lang.String |
getSingular() |
java.lang.String |
getTimeZoneProperty() |
OnlyToDirectedGraphNodeI |
getToNode()
Retrieves the target node to which this directed edge points.
|
CBOAttributeTypeI |
getType() |
java.lang.String |
getTypeName()
Returns the type information of this attribute.
|
java.lang.Object |
getValue(java.lang.Object bo) |
java.lang.String |
getValueAsString(java.lang.Object bo) |
java.lang.Object |
getValueLazy(java.lang.Object bo) |
boolean |
hasCustomIterator()
Returns true if this AttributeI is a relation that uses a custom iterator to fetch its members incrementally.
|
boolean |
hasGuiTip(java.lang.String tip) |
boolean |
hasRelationObject(java.lang.Object bo,
java.lang.Object value) |
boolean |
isArray() |
boolean |
isAutotrim() |
boolean |
isCached() |
boolean |
isCreateInDetailView() |
boolean |
isCustomIteratorNotCaching()
Returns true if this AttributeI is a relation that uses a custom iterator to fetch its members incrementally
and the relation shall be refreshed, i.e. the iterator shall run again to fill and refresh the relation.
|
boolean |
isDepend() |
boolean |
isEditable()
Returns if the
AttributeI is editable in the UI. |
boolean |
isEditable(BOI bo)
Returns if the
AttributeI is editable in the UI for the specified BOI . |
boolean |
isForExport(java.lang.String exportName)
Returns true if the vattr was marked as to export for the export with the passed name.
|
boolean |
isIgnoreBackRelation() |
boolean |
isIgnoredForExport(java.lang.String exportName)
Returns true if the attr was marked as to ignore during export for the export with the passed name.
|
boolean |
isIndexed() |
boolean |
isInitialdata() |
boolean |
isLazy() |
boolean |
isLinkOnly() |
boolean |
isMandatory()
Returns whether this
AttributeI instance is a mandatory attribute. |
boolean |
isMandatory(BOI bo)
Returns whether this
AttributeI instance is a mandatory attribute for the specified BOI . |
boolean |
isManyRelation() |
boolean |
isOmitOnCopy() |
boolean |
isPersistent() |
boolean |
isPolymorphicRelation() |
boolean |
isReadonly()
Returns whether this
AttributeI instance is strictly read-only. |
boolean |
isReadonly(BOI bo)
Returns whether this
AttributeI instance is read-only for the specified BOI . |
boolean |
isRelation() |
boolean |
isReportVisible() |
boolean |
isSeparateFileForExport(java.lang.String exportName)
Returns true if the attr was marked as to export to a separate file for the export with the passed name.
|
boolean |
isSerialized() |
boolean |
isShared() |
boolean |
isViewOnly() |
boolean |
isVirtual() |
boolean |
isVisible()
Returns whether this
AttributeI instance is visible in the UI. |
boolean |
isVisible(BOI bo)
Returns whether this
AttributeI instance is visible in the UI for the specified BOI . |
java.lang.Object |
pgetValue(java.lang.Object bo) |
void |
psetValue(java.lang.Object bo,
java.lang.Object value) |
AttributeI |
realAttribute() |
void |
removeRelationObject(java.lang.Object bo,
java.lang.Object value) |
void |
removeRelationObject(java.lang.Object bo,
java.lang.Object value,
WriteConstraintsOverriderI overrider) |
void |
setAutotrim(boolean b) |
void |
setCreateInDetailView(boolean b) |
void |
setEditable(boolean b) |
void |
setEditmode(int i) |
void |
setExpectedWidth(int i) |
void |
setGuiTips(java.util.Map m) |
void |
setItemProperty(java.lang.String s) |
void |
setMandatory(boolean b) |
void |
setSelectionFilter(java.lang.String s) |
void |
setTimeZoneProperty(java.lang.String s) |
void |
setValue(java.lang.Object bo,
java.lang.Object value) |
void |
setValue(java.lang.Object bo,
java.lang.Object value,
WriteConstraintsOverriderI overrider) |
void |
setValueAsString(java.lang.Object bo,
java.lang.String value) |
void |
setValueAsString(java.lang.Object bo,
java.lang.String value,
boolean checkConstraints) |
void |
setVisible(boolean b) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContainingElementName, getEntity, getQName, getQName, getTypedQName, getTypedQName, isCoreNative, isModuleNative, isPartOfModule, isProjectNative, isServerCalculated, toAttributePath, toNiceString
public AttributeI realAttribute()
public java.lang.String getName()
getName
in interface BasicAttributeI
public SchemaI getSchema()
AttributeI
getSchema
in interface AttributeI
SchemaI
instance that defines this attribute.public java.lang.String getEntityName()
AttributeI
Note: This method returns the *name* of the entity, not the entity object itself. This is intentional to prevent direct coupling to the entity object.
getEntityName
in interface AttributeI
public java.lang.String getContainingElementPackage()
getContainingElementPackage
in interface BasicAttributeI
public boolean isSerialized()
isSerialized
in interface AttributeI
public boolean isPersistent()
isPersistent
in interface AttributeI
public boolean isIgnoreBackRelation()
isIgnoreBackRelation
in interface AttributeI
public int getCalculationAuthority()
AttributeI
AttributeI
if it is non-persistent.
If this AttributeI
is persistent, AttributeI.CALCULATION_AUTHORITY_NONE
will always be returned.
getCalculationAuthority
in interface AttributeI
AttributeI
public boolean isVirtual()
isVirtual
in interface BasicAttributeI
public java.lang.Class getClazz()
BasicAttributeI
Class
object representing the type of this attribute or the related entity.
If this attribute is a relation to another entity, the method returns the Class object of the related entity. Otherwise, it returns the Class object of the attribute's declared type.
getClazz
in interface BasicAttributeI
public boolean isCached()
isCached
in interface AttributeI
public boolean isIndexed()
isIndexed
in interface AttributeI
public java.lang.String getComment()
getComment
in interface BasicAttributeI
public boolean isInitialdata()
isInitialdata
in interface AttributeI
public java.util.Collection<java.lang.String> getModulePackages()
AttributeI
AttributeI
is appearing in.getModulePackages
in interface AttributeI
AttributeI
is appearing in.public java.util.Collection<java.lang.String> getOrCreateModulePackagesSet()
getOrCreateModulePackagesSet
in interface AttributeI
public java.lang.String getL10nNameKey()
AttributeI
AttributeI
.
The key determines which localized string is retrieved for the attribute's name,
varying based on its relation type and read-only status.
AttributeI.SUFFIX_L10N_PLURAL_KEY
(typically "-s"),
to represent a plural or collection name key.
getL10nNameKey
in interface AttributeI
String
) for this AttributeI
,
adapted based on its many-relation and read-only properties.public java.lang.String getL10nNameVar()
AttributeI
AttributeI
.
This method constructs a string that serves as a reference to a localized resource.
The format is typically `$R{'KEY'}`, where 'KEY' is determined by AttributeI.getL10nNameKey()
.
This allows the UI or report generation to fetch the appropriate localized name dynamically.
getL10nNameVar
in interface AttributeI
AttributeI
(e.g. "$R{Position}").public java.lang.String getL10nName()
AttributeI
AttributeI
.
This method retrieves the appropriate localized string for the attribute's name
by using its determined localization name key (from AttributeI.getL10nNameKey()
).
It delegates to the L10n.msg(String, Object[], Object[], boolean)
method to perform the actual localization lookup. If no translation is found,
the original name key is returned as a fallback.
getL10nName
in interface AttributeI
AttributeI
as a String.public java.lang.String getL10nSingularKey()
AttributeI
AttributeI
, used for localization.
This key uniquely identifies the singular form of the attribute's name within the localization (L10n) bundles. It is typically derived from the attribute's base name.
getL10nSingularKey
in interface AttributeI
public java.lang.String getL10nSingularVar()
AttributeI
String
for the singular key of this AttributeI
(i.e. $R{'KEY'}).getL10nSingularVar
in interface AttributeI
String
for the singular key of this AttributeI
public java.lang.String getL10nSingular()
AttributeI
AttributeI
.
This method retrieves the appropriate singular translation of the attribute's name from the localization resources (L10n bundles) based on the current locale. Falls back to returning the key if no translation was found.
getL10nSingular
in interface AttributeI
String
of this AttributeI
.public java.lang.String getL10nEntityName()
AttributeI
This method typically retrieves the localized name by first obtaining the associated
entity (via an internal mechanism of the attribute) and then calling that entity's
getL10nName()
method. It makes sure the attribute is properly linked to an entity
before trying to retrieve its name.
getL10nEntityName
in interface AttributeI
public CBOAttributeTypeI getType()
getType
in interface BasicAttributeI
public java.lang.String getTypeName()
BasicAttributeI
For relations, this is either the simple or qualified name of the referenced entity. For scalars, this is the declared type in the schema.
getTypeName
in interface BasicAttributeI
public boolean isArray()
isArray
in interface BasicAttributeI
public java.lang.String getSingular()
getSingular
in interface BasicAttributeI
public boolean isRelation()
isRelation
in interface BasicAttributeI
public java.lang.String getRelationType()
getRelationType
in interface BasicAttributeI
SchemaI.RELATION_TYPE_N_1
,
SchemaI.RELATION_TYPE_1_N
or
SchemaI.RELATION_TYPE_N_M
.
The empty String (or null?) for scalars.public EntityI getRelationEntity()
getRelationEntity
in interface BasicAttributeI
public AttributeI getBackAttribute()
getBackAttribute
in interface AttributeI
public boolean isLazy()
isLazy
in interface AttributeI
public boolean hasCustomIterator()
BasicAttributeI
hasCustomIterator
in interface BasicAttributeI
public boolean isCustomIteratorNotCaching()
AttributeI
The default is false, so the values are cached forever, which is useful as custom iterators are typically used in situations where a long running calculation shall only be done once and for new results, a new instance must be used.
isCustomIteratorNotCaching
in interface AttributeI
public boolean isDepend()
isDepend
in interface AttributeI
public boolean isManyRelation()
isManyRelation
in interface BasicAttributeI
public boolean isPolymorphicRelation()
isPolymorphicRelation
in interface AttributeI
public void setSelectionFilter(java.lang.String s)
setSelectionFilter
in interface AttributeWithUIConfigurationI
public java.lang.String getSelectionFilter()
AttributeI
getSelectionFilter
in interface AttributeI
getSelectionFilter
in interface AttributeWithUIConfigurationI
AttributeI
public boolean isForExport(java.lang.String exportName)
AttributeI
isForExport
in interface AttributeI
public boolean isIgnoredForExport(java.lang.String exportName)
AttributeI
isIgnoredForExport
in interface AttributeI
public boolean isSeparateFileForExport(java.lang.String exportName)
AttributeI
isSeparateFileForExport
in interface AttributeI
public java.lang.String getExportDependentPrimaryKey()
AttributeI
getExportDependentPrimaryKey
in interface AttributeI
public void setItemProperty(java.lang.String s)
setItemProperty
in interface AttributeWithUIConfigurationI
public java.lang.String getItemProperty()
getItemProperty
in interface AttributeI
getItemProperty
in interface AttributeWithUIConfigurationI
public void setTimeZoneProperty(java.lang.String s)
setTimeZoneProperty
in interface AttributeWithUIConfigurationI
public java.lang.String getTimeZoneProperty()
getTimeZoneProperty
in interface AttributeI
getTimeZoneProperty
in interface AttributeWithUIConfigurationI
public void setCreateInDetailView(boolean b)
setCreateInDetailView
in interface AttributeWithUIConfigurationI
public boolean isCreateInDetailView()
isCreateInDetailView
in interface AttributeI
isCreateInDetailView
in interface AttributeWithUIConfigurationI
public void setExpectedWidth(int i)
setExpectedWidth
in interface AttributeWithUIConfigurationI
public int getExpectedWidth()
getExpectedWidth
in interface AttributeI
getExpectedWidth
in interface AttributeWithUIConfigurationI
public boolean isShared()
isShared
in interface AttributeI
public boolean isLinkOnly()
isLinkOnly
in interface AttributeI
public boolean isViewOnly()
isViewOnly
in interface AttributeI
public boolean isOmitOnCopy()
isOmitOnCopy
in interface AttributeI
public void setAutotrim(boolean b)
setAutotrim
in interface AttributeWithUIConfigurationI
public boolean isAutotrim()
isAutotrim
in interface AttributeI
isAutotrim
in interface AttributeWithUIConfigurationI
public void setEditmode(int i)
setEditmode
in interface AttributeWithUIConfigurationI
public int getEditmode()
getEditmode
in interface AttributeWithUIConfigurationI
public boolean hasGuiTip(java.lang.String tip)
hasGuiTip
in interface AttributeI
public java.lang.String getGuiTip(java.lang.String tip)
getGuiTip
in interface AttributeI
public int getGuiTipAsInt(java.lang.String tip)
getGuiTipAsInt
in interface AttributeI
public void setGuiTips(java.util.Map m)
setGuiTips
in interface AttributeWithUIConfigurationI
public java.util.Map getGuiTips()
getGuiTips
in interface AttributeI
getGuiTips
in interface AttributeWithUIConfigurationI
public void setMandatory(boolean b)
setMandatory
in interface AttributeWithUIConfigurationI
public boolean isMandatory()
AttributeI
AttributeI
instance is a mandatory attribute.isMandatory
in interface AttributeI
isMandatory
in interface AttributeWithUIConfigurationI
AttributeI
instance is a mandatory attribute.public boolean isMandatory(BOI bo)
AttributeI
AttributeI
instance is a mandatory attribute for the specified BOI
.isMandatory
in interface AttributeI
AttributeI
instance is a mandatory attribute for the specified BOI
.public boolean isReadonly()
BasicAttributeI
AttributeI
instance is strictly read-only.
An attribute that is strictly read-only cannot be modified under any circumstances.
If this method returns true, any attempt to modify the attribute will result in an
exception being thrown.isReadonly
in interface BasicAttributeI
AttributeI
is strictly read-only, false otherwise.public boolean isReadonly(BOI bo)
AttributeI
AttributeI
instance is read-only for the specified BOI
.
An attribute that is read-only for a particular BOI
cannot be modified for that BOI
only.
If this method returns true, any attempt to modify the attribute for the specified BOI
will result in an
exception being thrown.isReadonly
in interface AttributeI
bo
- the BOI
for which to check the read-only status of this attribute.AttributeI
is read-only for the specified BOI
, false otherwise.public void setEditable(boolean b)
setEditable
in interface AttributeWithUIConfigurationI
public boolean isEditable()
AttributeI
AttributeI
is editable in the UI.isEditable
in interface AttributeI
AttributeI
is editable in the UI.public boolean isEditable(BOI bo)
AttributeI
AttributeI
is editable in the UI for the specified BOI
.isEditable
in interface AttributeI
AttributeI
is editable in the UI for the specified BOI
.public void setVisible(boolean b)
setVisible
in interface AttributeWithUIConfigurationI
public boolean isVisible()
AttributeI
AttributeI
instance is visible in the UI.isVisible
in interface AttributeI
isVisible
in interface AttributeWithUIConfigurationI
AttributeI
instance is visible in the UI.public boolean isVisible(BOI bo)
AttributeI
AttributeI
instance is visible in the UI for the specified BOI
.isVisible
in interface AttributeI
AttributeI
instance is visible in the UI for the specified BOI
.public int getCopyPolicy()
getCopyPolicy
in interface AttributeI
public java.lang.String getLookupProperty()
getLookupProperty
in interface AttributeI
public java.lang.Boolean getLookupSubstring()
getLookupSubstring
in interface AttributeI
public java.lang.Boolean getLookupStartingWith()
getLookupStartingWith
in interface AttributeI
public java.lang.Boolean getLookupCaseSensitive()
getLookupCaseSensitive
in interface AttributeI
public java.lang.Object getValue(java.lang.Object bo)
getValue
in interface AttributeI
public java.lang.Object getValueLazy(java.lang.Object bo)
getValueLazy
in interface AttributeI
public java.lang.String getValueAsString(java.lang.Object bo)
getValueAsString
in interface AttributeI
public void setValue(java.lang.Object bo, java.lang.Object value, WriteConstraintsOverriderI overrider)
setValue
in interface AttributeI
public void setValue(java.lang.Object bo, java.lang.Object value)
setValue
in interface AttributeI
public void setValueAsString(java.lang.Object bo, java.lang.String value, boolean checkConstraints)
setValueAsString
in interface AttributeI
public void setValueAsString(java.lang.Object bo, java.lang.String value)
setValueAsString
in interface AttributeI
public java.util.Map getRelationObjects(java.lang.Object bo)
getRelationObjects
in interface AttributeI
public java.util.Iterator getRelationIterator(java.lang.Object bo)
getRelationIterator
in interface AttributeI
public void addRelationObject(java.lang.Object bo, java.lang.Object value, WriteConstraintsOverriderI overrider)
addRelationObject
in interface AttributeI
public void addRelationObject(java.lang.Object bo, java.lang.Object value)
addRelationObject
in interface AttributeI
public void removeRelationObject(java.lang.Object bo, java.lang.Object value, WriteConstraintsOverriderI overrider)
removeRelationObject
in interface AttributeI
public void removeRelationObject(java.lang.Object bo, java.lang.Object value)
removeRelationObject
in interface AttributeI
public boolean hasRelationObject(java.lang.Object bo, java.lang.Object value)
hasRelationObject
in interface AttributeI
public java.lang.Object pgetValue(java.lang.Object bo)
pgetValue
in interface AttributeI
public void psetValue(java.lang.Object bo, java.lang.Object value)
psetValue
in interface AttributeI
public java.lang.Boolean getIndexedForFTS()
getIndexedForFTS
in interface AttributeI
public java.lang.Boolean getAnalyzedForFTS()
getAnalyzedForFTS
in interface AttributeI
public java.lang.String getFTSAnalyzer()
getFTSAnalyzer
in interface AttributeI
public java.lang.Float getFTSBoost()
getFTSBoost
in interface AttributeI
public boolean isReportVisible()
isReportVisible
in interface AttributeI
public int getReportRelativeWidth()
AttributeI
This works also for attributes of entities extending other entities and adding attributes with their own relativeWiths.
getReportRelativeWidth
in interface AttributeI
public java.lang.Integer getReportPosition()
AttributeI
Tip: be sure to use 'high' values, so that attributes of extending entities can 'squeeze in' between them if necessary ;-) e.g. 100, 200, 300, ...
getReportPosition
in interface AttributeI
public java.lang.String getReportSort()
getReportSort
in interface AttributeI
public java.lang.String getReportManySort()
getReportManySort
in interface AttributeI
public java.lang.String getReportAlias()
AttributeI
FIXME: support more than one many-relation in automatic reports
getReportAlias
in interface AttributeI
public int compareTo(java.lang.Object _obj)
compareTo
in interface java.lang.Comparable<java.lang.Object>
public OnlyToDirectedGraphNodeI getFromNode()
GraphEdgeI
This method is contractually obligated to return a non-null
OnlyToDirectedGraphNodeI
instance, as every valid edge must
have a defined starting point.
getFromNode
in interface AttributeI
getFromNode
in interface GraphEdgeI
public OnlyToDirectedGraphNodeI getToNode()
GraphEdgeI
This method is contractually obligated to return a non-null
OnlyToDirectedGraphNodeI
instance, as every valid edge must
have a defined ending point.
getToNode
in interface AttributeI
getToNode
in interface GraphEdgeI
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.