PHP Class Storm\Drivers\Base\Mapping\Mappings\CompositeEntityPropertyToOneRelationMapping

Inheritance: extends CompositeRelationshipPropertyRelationMapping, implements Storm\Core\Mapping\IEntityPropertyToOneRelationMapping
Datei anzeigen Open project: timetoogo/penumbra

Public Methods

Method Description
AddToRelationalRequest ( DomainDatabaseMap $DomainDatabaseMap, Request $RelationalRequest )
GetEntityProperty ( )
GetProperty ( )
GetToOneRelation ( )
Persist ( Transaction $Transaction, ResultRow $ParentData, RelationshipChange $RelationshipChange )
Revive ( DomainDatabaseMap $DomainDatabaseMap, array $ResultRowArray, array $RevivalDataArray )
__construct ( Storm\Core\Object\IEntityProperty $EntityProperty, Storm\Core\Relational\IToOneRelation $ToOneRelation, $LoadingMode )

Protected Methods

Method Description
GetConcreteRelationshipMapping ( $LoadingMode, Storm\Core\Object\IRelationshipProperty $RelationshipProperty, Storm\Core\Relational\IRelation $Relation )

Method Details

AddToRelationalRequest() public method

public AddToRelationalRequest ( DomainDatabaseMap $DomainDatabaseMap, Request $RelationalRequest )
$DomainDatabaseMap Storm\Core\Mapping\DomainDatabaseMap
$RelationalRequest Storm\Core\Relational\Request

GetConcreteRelationshipMapping() protected method

protected GetConcreteRelationshipMapping ( $LoadingMode, Storm\Core\Object\IRelationshipProperty $RelationshipProperty, Storm\Core\Relational\IRelation $Relation )
$RelationshipProperty Storm\Core\Object\IRelationshipProperty
$Relation Storm\Core\Relational\IRelation

GetEntityProperty() public method

public GetEntityProperty ( )

GetProperty() public method

public GetProperty ( )

GetToOneRelation() public method

public GetToOneRelation ( )

Persist() public method

public Persist ( Transaction $Transaction, ResultRow $ParentData, RelationshipChange $RelationshipChange )
$Transaction Storm\Core\Relational\Transaction
$ParentData Storm\Core\Relational\ResultRow
$RelationshipChange Storm\Core\Relational\RelationshipChange

Revive() public method

public Revive ( DomainDatabaseMap $DomainDatabaseMap, array $ResultRowArray, array $RevivalDataArray )
$DomainDatabaseMap Storm\Core\Mapping\DomainDatabaseMap
$ResultRowArray array
$RevivalDataArray array

__construct() public method

public __construct ( Storm\Core\Object\IEntityProperty $EntityProperty, Storm\Core\Relational\IToOneRelation $ToOneRelation, $LoadingMode )
$EntityProperty Storm\Core\Object\IEntityProperty
$ToOneRelation Storm\Core\Relational\IToOneRelation