RDBManyToManyRelationDescription Class Reference

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.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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)
 
 isMultiValued ()
 
 getThisType ()
 
 getThisMapper ()
 
 getThisRole ()
 
 getOtherType ()
 
 getOtherMapper ()
 
 getOtherRole ()
 
 getThisMinMultiplicity ()
 
 getThisMaxMultiplicity ()
 
 getOtherMinMultiplicity ()
 
 getOtherMaxMultiplicity ()
 
 getThisAggregationKind ()
 
 getOtherAggregationKind ()
 
 getThisNavigability ()
 
 getOtherNavigability ()
 
 getHierarchyType ()
 
 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 ( RDBOneToManyRelationDescription  $thisEndRelation,
RDBManyToOneRelationDescription  $otherEndRelation 
)

Constructor.

See also
RelationDescription::__construct
Parameters
$thisEndRelationThe RDBOneToManyRelationDescription describing the relation between 'this' end and the connecting type
$otherEndRelationThe RDBManyToOneRelationDescription describing the relation between the connecting type and the 'other' end

Definition at line 37 of file RDBManyToManyRelationDescription.php.

Member Function Documentation

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 ( )

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 ( )
getThisType ( )
getThisRole ( )
getOtherType ( )
getOtherRole ( )
getThisMinMultiplicity ( )
getThisMaxMultiplicity ( )
getOtherMinMultiplicity ( )
getOtherMaxMultiplicity ( )
getThisAggregationKind ( )
getOtherAggregationKind ( )
getThisNavigability ( )
getOtherNavigability ( )
getHierarchyType ( )

Member Data Documentation

$thisEndRelation = ''
protected

Definition at line 28 of file RDBManyToManyRelationDescription.php.

$otherEndRelation = ''
protected

Definition at line 29 of file RDBManyToManyRelationDescription.php.