RelationDescription.php
51 * @param $otherMinMultiplicity The minimum number of instances at the other end (number or 'unbound')
52 * @param $otherMaxMultiplicity The maximum number of instances at the other end (number or 'unbound')
54 * @param $otherAggregationKind The aggregation kind at the other end ('none', 'shared' or 'composite')
57 * @param $hierarchyType The hierarchy type that the other end has in relation to this end ('parent', 'child', 'undefined')
59 public function __construct($thisType, $thisRole, $otherType, $otherRole, $thisMinMultiplicity, $thisMaxMultiplicity,
60 $otherMinMultiplicity, $otherMaxMultiplicity, $thisAggregationKind, $otherAggregationKind, $thisNavigability, $otherNavigability,
222 if (($this->getThisType() == $other->getThisType() && $this->getOtherType() == $other->getOtherType()
223 && $this->getThisRole() == $other->getThisRole() && $this->getOtherRole() == $other->getOtherRole()) ||
224 ($this->getThisType() == $other->getOtherType() && $this->getOtherType() == $other->getThisType()
225 && $this->getThisRole() == $other->getOtherRole() && $this->getOtherRole() == $other->getThisRole())
$thisNavigability
Definition: RelationDescription.php:36
$otherAggregationKind
Definition: RelationDescription.php:34
$thisMinMultiplicity
Definition: RelationDescription.php:28
getThisAggregationKind()
Get the aggregation kind at this end.
Definition: RelationDescription.php:178
getOtherType()
Get the PersistentObject type at the other end.
Definition: RelationDescription.php:122
$hierarchyType
Definition: RelationDescription.php:39
isSameRelation(RelationDescription $other)
Check if another RelationDescription instance describes the same relation as this one.
Definition: RelationDescription.php:221
Instances of RelationDescription describe relations between different types of PersistentObjects.
Definition: RelationDescription.php:21
isMultiValued()
Determine if there may more than one objects at the other side of the relation.
Definition: RelationDescription.php:86
getThisNavigability()
Check whether this end is navigable from the other end or not.
Definition: RelationDescription.php:194
getOtherMinMultiplicity()
Get the minimum number of instances at the other end.
Definition: RelationDescription.php:162
$thisAggregationKind
Definition: RelationDescription.php:33
$otherNavigability
Definition: RelationDescription.php:37
$otherMaxMultiplicity
Definition: RelationDescription.php:31
$otherMinMultiplicity
Definition: RelationDescription.php:30
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
getOtherNavigability()
Check whether the other end is navigable from this end or not.
Definition: RelationDescription.php:202
getOtherAggregationKind()
Get the aggregation kind at the other end.
Definition: RelationDescription.php:186
$thisMaxMultiplicity
Definition: RelationDescription.php:29
__construct($thisType, $thisRole, $otherType, $otherRole, $thisMinMultiplicity, $thisMaxMultiplicity, $otherMinMultiplicity, $otherMaxMultiplicity, $thisAggregationKind, $otherAggregationKind, $thisNavigability, $otherNavigability, $hierarchyType)
Constructor.
Definition: RelationDescription.php:59
getHierarchyType()
Get the hierarchy type that the other end has in relation to this end.
Definition: RelationDescription.php:210
getThisMinMultiplicity()
Get the minimum number of instances at this end.
Definition: RelationDescription.php:146
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
getOtherMaxMultiplicity()
Get the maximum number of instances at the other end.
Definition: RelationDescription.php:170
getThisMaxMultiplicity()
Get the maximum number of instances at this end.
Definition: RelationDescription.php:154