DerivedRelationobject | relations.t[400]

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 | `relations.t[416]`

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 | `relations.t[409]`

no description available

`relatedTo (a)`OVERRIDDEN | `relations.t[407]`

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 | `relations.t[427]`

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 01/03/2024 from adv3Lite version 1.6.2