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())
getOtherNavigability()
Check whether the other end is navigable from this end or not.
Definition: RelationDescription.php:202
$otherAggregationKind
Definition: RelationDescription.php:34
$thisMinMultiplicity
Definition: RelationDescription.php:28
isMultiValued()
Determine if there may more than one objects at the other side of the relation.
Definition: RelationDescription.php:86
$otherMaxMultiplicity
Definition: RelationDescription.php:31
$thisNavigability
Definition: RelationDescription.php:36
$otherNavigability
Definition: RelationDescription.php:37
getOtherType()
Get the PersistentObject type at the other end.
Definition: RelationDescription.php:122
getOtherMaxMultiplicity()
Get the maximum number of instances at the other end.
Definition: RelationDescription.php:170
getHierarchyType()
Get the hierarchy type that the other end has in relation to this end.
Definition: RelationDescription.php:210
$thisAggregationKind
Definition: RelationDescription.php:33
static getInstance($name, $dynamicConfiguration=array())
Definition: ObjectFactory.php:39
$thisMaxMultiplicity
Definition: RelationDescription.php:29
__construct($thisType, $thisRole, $otherType, $otherRole, $thisMinMultiplicity, $thisMaxMultiplicity, $otherMinMultiplicity, $otherMaxMultiplicity, $thisAggregationKind, $otherAggregationKind, $thisNavigability, $otherNavigability, $hierarchyType)
Constructor.
Definition: RelationDescription.php:59
getOtherMinMultiplicity()
Get the minimum number of instances at the other end.
Definition: RelationDescription.php:162
getThisMinMultiplicity()
Get the minimum number of instances at this end.
Definition: RelationDescription.php:146
getOtherAggregationKind()
Get the aggregation kind at the other end.
Definition: RelationDescription.php:186
$otherMinMultiplicity
Definition: RelationDescription.php:30
getThisAggregationKind()
Get the aggregation kind at this end.
Definition: RelationDescription.php:178
Instances of RelationDescription describe relations between different types of PersistentObjects.
Definition: RelationDescription.php:21
getThisNavigability()
Check whether this end is navigable from the other end or not.
Definition: RelationDescription.php:194
$hierarchyType
Definition: RelationDescription.php:39
isSameRelation(RelationDescription $other)
Check if another RelationDescription instance describes the same relation as this one...
Definition: RelationDescription.php:221
getThisMaxMultiplicity()
Get the maximum number of instances at this end.
Definition: RelationDescription.php:154