PHP Class Storm\Core\Mapping\EntityRelationalMap

Inheritance: implements Storm\Core\Mapping\IEntityRelationalMap, use trait Storm\Core\Helpers\Type
Afficher le fichier Open project: timetoogo/penumbra

Méthodes publiques

Méthode Description
GetAllMappedPersistColumns ( array $Properties = null ) {@inheritDoc}
GetAllMappedReviveColumns ( array $Properties = null ) {@inheritDoc}
GetCollectionPropertyToManyRelationMappings ( ) {@inheritDoc}
GetCriterion ( ) {@inheritDoc}
GetDataPropertyColumnMappings ( ) {@inheritDoc}
GetEntityMap ( ) {@inheritDoc}
GetEntityPropertyToOneRelationMappings ( ) {@inheritDoc}
GetEntityType ( ) {@inheritDoc}
GetIdentityPropertyPrimaryKeyMappings ( ) {@inheritDoc}
GetMappedPersistColumns ( Storm\Core\Object\IProperty $Property ) {@inheritDoc}
GetMappedPersistTables ( ) {@inheritDoc}
GetMappedProperties ( ) {@inheritDoc}
GetMappedReviveColumns ( Storm\Core\Object\IProperty $Property ) {@inheritDoc}
GetMappedReviveTables ( ) {@inheritDoc}
GetPrimaryKeyTable ( ) {@inheritDoc}
GetPropertyMappings ( ) {@inheritDoc}
Initialize ( DomainDatabaseMap $DomainDatabaseMap ) {@inheritDoc}
MapIdentitiesToPrimaryKeys ( array $Identities ) {@inheritDoc}
MapIdentityToPrimaryKey ( Identity $Identity ) {@inheritDoc}
MapPrimaryKeyToIdentity ( PrimaryKey $PrimaryKey ) {@inheritDoc}
MapPrimaryKeysToIdentities ( array $PrimaryKeys ) {@inheritDoc}
ResultRow ( $ColumnData = [] ) {@inheritDoc}

Méthodes protégées

Méthode Description
EntityMap ( Domain $Domain ) : Storm\Core\Object\IEntityMap The method to specify the entity map representing the entity properties of this relational map.
OnInitialize ( DomainDatabaseMap $DomainDatabaseMap ) Event called pre initialization.
OnInitialized ( DomainDatabaseMap $DomainDatabaseMap ) Event called post initialization.
RegisterPropertyMappings ( Registrar $Registrar, Storm\Core\Object\IEntityMap $EntityMap, Database $Database ) : void The method to register all the property mappings for this entity relational map.
RelationalCriterion ( Criterion $RelationalCriterion )

Private Methods

Méthode Description
AddIdentityPrimaryKeyMapping ( Storm\Core\Mapping\IDataPropertyColumnMapping $PropertyMapping )
AddPropertyMapping ( Storm\Core\Mapping\IPropertyMapping $PropertyMapping ) Adds a property mapping to the entity relation map.
VerifyDataPropertyColumnMapping ( $Method, Storm\Core\Object\IProperty $Property ) : Storm\Core\Mapping\IDataPropertyColumnMapping Verifies that the data property column mapping exists for the supplied property.

Method Details

EntityMap() abstract protected méthode

The method to specify the entity map representing the entity properties of this relational map.
abstract protected EntityMap ( Domain $Domain ) : Storm\Core\Object\IEntityMap
$Domain Storm\Core\Object\Domain
Résultat Storm\Core\Object\IEntityMap

GetAllMappedPersistColumns() final public méthode

{@inheritDoc}
final public GetAllMappedPersistColumns ( array $Properties = null )
$Properties array

GetAllMappedReviveColumns() final public méthode

{@inheritDoc}
final public GetAllMappedReviveColumns ( array $Properties = null )
$Properties array

GetCollectionPropertyToManyRelationMappings() final public méthode

{@inheritDoc}

GetCriterion() final public méthode

{@inheritDoc}
final public GetCriterion ( )

GetDataPropertyColumnMappings() final public méthode

{@inheritDoc}

GetEntityMap() final public méthode

{@inheritDoc}
final public GetEntityMap ( )

GetEntityPropertyToOneRelationMappings() final public méthode

{@inheritDoc}

GetEntityType() final public méthode

{@inheritDoc}
final public GetEntityType ( )

GetIdentityPropertyPrimaryKeyMappings() final public méthode

{@inheritDoc}

GetMappedPersistColumns() final public méthode

{@inheritDoc}
final public GetMappedPersistColumns ( Storm\Core\Object\IProperty $Property )
$Property Storm\Core\Object\IProperty

GetMappedPersistTables() final public méthode

{@inheritDoc}
final public GetMappedPersistTables ( )

GetMappedProperties() final public méthode

{@inheritDoc}
final public GetMappedProperties ( )

GetMappedReviveColumns() final public méthode

{@inheritDoc}
final public GetMappedReviveColumns ( Storm\Core\Object\IProperty $Property )
$Property Storm\Core\Object\IProperty

GetMappedReviveTables() final public méthode

{@inheritDoc}
final public GetMappedReviveTables ( )

GetPrimaryKeyTable() final public méthode

{@inheritDoc}
final public GetPrimaryKeyTable ( )

GetPropertyMappings() final public méthode

{@inheritDoc}
final public GetPropertyMappings ( )

Initialize() final public méthode

{@inheritDoc}
final public Initialize ( DomainDatabaseMap $DomainDatabaseMap )
$DomainDatabaseMap DomainDatabaseMap

MapIdentitiesToPrimaryKeys() final public méthode

{@inheritDoc}
final public MapIdentitiesToPrimaryKeys ( array $Identities )
$Identities array

MapIdentityToPrimaryKey() final public méthode

{@inheritDoc}
final public MapIdentityToPrimaryKey ( Identity $Identity )
$Identity Storm\Core\Object\Identity

MapPrimaryKeyToIdentity() final public méthode

{@inheritDoc}
final public MapPrimaryKeyToIdentity ( PrimaryKey $PrimaryKey )
$PrimaryKey Storm\Core\Relational\PrimaryKey

MapPrimaryKeysToIdentities() final public méthode

{@inheritDoc}
final public MapPrimaryKeysToIdentities ( array $PrimaryKeys )
$PrimaryKeys array

OnInitialize() protected méthode

Event called pre initialization.
protected OnInitialize ( DomainDatabaseMap $DomainDatabaseMap )
$DomainDatabaseMap DomainDatabaseMap The parent domain database map

OnInitialized() protected méthode

Event called post initialization.
protected OnInitialized ( DomainDatabaseMap $DomainDatabaseMap )
$DomainDatabaseMap DomainDatabaseMap The parent domain database map

RegisterPropertyMappings() abstract protected méthode

The method to register all the property mappings for this entity relational map.
abstract protected RegisterPropertyMappings ( Registrar $Registrar, Storm\Core\Object\IEntityMap $EntityMap, Database $Database ) : void
$Registrar Storm\Core\Containers\Registrar The registrar to register the property mappings
$EntityMap Storm\Core\Object\IEntityMap The entity map representing the entity properties
$Database Storm\Core\Relational\Database The current database instance
Résultat void

RelationalCriterion() protected méthode

protected RelationalCriterion ( Criterion $RelationalCriterion )
$RelationalCriterion Storm\Core\Relational\Criterion

ResultRow() public méthode

{@inheritDoc}
public ResultRow ( $ColumnData = [] )