Detailed Description
Instances of RDBManyToManyRelationDescription describe a many to many relation from 'this' end to 'other' end in a relational database.
This relation is always realized by a connecting database table and can be resolved into a many-to-one relation from 'this' end to the relation type and a one-to-many relation from the relation type to the 'other' end.
Definition at line 26 of file RDBManyToManyRelationDescription.php.
Inheritance diagram for RDBManyToManyRelationDescription:Public Member Functions | |
| __construct (RDBOneToManyRelationDescription $thisEndRelation, RDBManyToOneRelationDescription $otherEndRelation) | |
| getThisEndRelation () | |
| getOtherEndRelation () | |
| isMultiValued () | |
| getThisType () | |
| getThisRole () | |
| getOtherType () | |
| getOtherRole () | |
| getThisMinMultiplicity () | |
| getThisMaxMultiplicity () | |
| getOtherMinMultiplicity () | |
| getOtherMaxMultiplicity () | |
| getThisAggregationKind () | |
| getOtherAggregationKind () | |
| getThisNavigability () | |
| getOtherNavigability () | |
| getHierarchyType () | |
Public Member Functions inherited from RelationDescription | |
| __construct ($thisType, $thisRole, $otherType, $otherRole, $thisMinMultiplicity, $thisMaxMultiplicity, $otherMinMultiplicity, $otherMaxMultiplicity, $thisAggregationKind, $otherAggregationKind, $thisNavigability, $otherNavigability, $hierarchyType) | |
| getThisMapper () | |
| getOtherMapper () | |
| isSameRelation (RelationDescription $other) | |
Protected Attributes | |
| $thisEndRelation = '' | |
| $otherEndRelation = '' | |
Protected Attributes inherited from RelationDescription | |
| $thisType = '' | |
| $thisRole = '' | |
| $otherType = '' | |
| $otherRole = '' | |
| $thisMinMultiplicity = '0' | |
| $thisMaxMultiplicity = 'unbound' | |
| $otherMinMultiplicity = '0' | |
| $otherMaxMultiplicity = 'unbound' | |
| $thisAggregationKind = 'none' | |
| $otherAggregationKind = 'none' | |
| $thisNavigability = true | |
| $otherNavigability = true | |
| $hierarchyType = 'undefined' | |
Constructor & Destructor Documentation
◆ __construct()
| __construct | ( | RDBOneToManyRelationDescription | $thisEndRelation, |
| RDBManyToOneRelationDescription | $otherEndRelation | ||
| ) |
Constructor.
- See also
- RelationDescription::__construct
- Parameters
-
$thisEndRelation The RDBOneToManyRelationDescription describing the relation between 'this' end and the connecting type $otherEndRelation The RDBManyToOneRelationDescription describing the relation between the connecting type and the 'other' end
Definition at line 37 of file RDBManyToManyRelationDescription.php.
Member Function Documentation
◆ getThisEndRelation()
| getThisEndRelation | ( | ) |
Get the RDBOneToManyRelationDescription describing the relation between 'this' end and the connecting type.
- Returns
- RelationDescription
Definition at line 47 of file RDBManyToManyRelationDescription.php.
◆ getOtherEndRelation()
| getOtherEndRelation | ( | ) |
Get the RDBManyToOneRelationDescription describing the relation between the connecting type and the 'other' end.
- Returns
- RelationDescription
Definition at line 56 of file RDBManyToManyRelationDescription.php.
◆ isMultiValued()
| isMultiValued | ( | ) |
Reimplemented from RelationDescription.
Definition at line 63 of file RDBManyToManyRelationDescription.php.
◆ getThisType()
| getThisType | ( | ) |
- See also
- RelationDescription::getThisType
Reimplemented from RelationDescription.
Definition at line 70 of file RDBManyToManyRelationDescription.php.
◆ getThisRole()
| getThisRole | ( | ) |
- See also
- RelationDescription::getThisRole
Reimplemented from RelationDescription.
Definition at line 77 of file RDBManyToManyRelationDescription.php.
◆ getOtherType()
| getOtherType | ( | ) |
Reimplemented from RelationDescription.
Definition at line 84 of file RDBManyToManyRelationDescription.php.
◆ getOtherRole()
| getOtherRole | ( | ) |
Reimplemented from RelationDescription.
Definition at line 91 of file RDBManyToManyRelationDescription.php.
◆ getThisMinMultiplicity()
| getThisMinMultiplicity | ( | ) |
Reimplemented from RelationDescription.
Definition at line 98 of file RDBManyToManyRelationDescription.php.
◆ getThisMaxMultiplicity()
| getThisMaxMultiplicity | ( | ) |
Reimplemented from RelationDescription.
Definition at line 105 of file RDBManyToManyRelationDescription.php.
◆ getOtherMinMultiplicity()
| getOtherMinMultiplicity | ( | ) |
Reimplemented from RelationDescription.
Definition at line 112 of file RDBManyToManyRelationDescription.php.
◆ getOtherMaxMultiplicity()
| getOtherMaxMultiplicity | ( | ) |
Reimplemented from RelationDescription.
Definition at line 119 of file RDBManyToManyRelationDescription.php.
◆ getThisAggregationKind()
| getThisAggregationKind | ( | ) |
Reimplemented from RelationDescription.
Definition at line 126 of file RDBManyToManyRelationDescription.php.
◆ getOtherAggregationKind()
| getOtherAggregationKind | ( | ) |
Reimplemented from RelationDescription.
Definition at line 133 of file RDBManyToManyRelationDescription.php.
◆ getThisNavigability()
| getThisNavigability | ( | ) |
Reimplemented from RelationDescription.
Definition at line 140 of file RDBManyToManyRelationDescription.php.
◆ getOtherNavigability()
| getOtherNavigability | ( | ) |
Reimplemented from RelationDescription.
Definition at line 147 of file RDBManyToManyRelationDescription.php.
◆ getHierarchyType()
| getHierarchyType | ( | ) |
Reimplemented from RelationDescription.
Definition at line 154 of file RDBManyToManyRelationDescription.php.
Member Data Documentation
◆ $thisEndRelation
|
protected |
Definition at line 28 of file RDBManyToManyRelationDescription.php.
◆ $otherEndRelation
|
protected |
Definition at line 29 of file RDBManyToManyRelationDescription.php.