DerivedRelationobject
A DerivedRelation is one that doesn’t maintain its own table of what it related to what, but works out what is related to what on the basis of some other relation(s) (e.g. a sibling relation might work by testing for common parents).
REQUIRES THE RELATIONS EXTENSION
DerivedRelation
:
Relation
Superclass Tree (in declaration order)
DerivedRelation
Relation
PreinitObject
ModuleExecObject
` object`
Summary of Properties
Inherited from Relation
:
name
reciprocal
relationType
relTab
reverseName
Inherited from PreinitObject
:
execBeforeMe
reverseGlobalSymbols
Inherited from ModuleExecObject
:
execAfterMe
hasInitialized_
isDoingExec_
isExecuted_
Summary of Methods
addRelation
inverselyRelatedTo
relatedTo
removeRelation
Inherited from Relation
:
isInverselyRelated
isRelated
makeUnique
Inherited from ModuleExecObject
:
_execute
classExec
execute
Properties
(none)
Methods
addRelation (objs)
OVERRIDDEN
By default we don’t permit the direct addition of relationships via this relation, since this is a relation dependent upon external conditions.
inverselyRelatedTo (a)
OVERRIDDEN
no description available
relatedTo (a)
OVERRIDDEN
Instances need to override to provide a method that returns a list of items related to a via this relationship, on the basis of whatever criteria are appropriate.
removeRelation (objs)
OVERRIDDEN
By default we don’t permit the direct removal of relationships via this relation, since this is a relation dependent upon external conditions.
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1