PHP Class Storm\Core\Mapping\EntityRelationalMap

Inheritance: implements Storm\Core\Mapping\IEntityRelationalMap, use trait Storm\Core\Helpers\Type
Mostrar archivo Open project: timetoogo/penumbra

Public Methods

Method 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}

Protected Methods

Method 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

Method 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 method

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
return Storm\Core\Object\IEntityMap

GetAllMappedPersistColumns() final public method

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

GetAllMappedReviveColumns() final public method

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

GetCollectionPropertyToManyRelationMappings() final public method

{@inheritDoc}

GetCriterion() final public method

{@inheritDoc}
final public GetCriterion ( )

GetDataPropertyColumnMappings() final public method

{@inheritDoc}

GetEntityMap() final public method

{@inheritDoc}
final public GetEntityMap ( )

GetEntityPropertyToOneRelationMappings() final public method

{@inheritDoc}

GetEntityType() final public method

{@inheritDoc}
final public GetEntityType ( )

GetIdentityPropertyPrimaryKeyMappings() final public method

{@inheritDoc}

GetMappedPersistColumns() final public method

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

GetMappedPersistTables() final public method

{@inheritDoc}
final public GetMappedPersistTables ( )

GetMappedProperties() final public method

{@inheritDoc}
final public GetMappedProperties ( )

GetMappedReviveColumns() final public method

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

GetMappedReviveTables() final public method

{@inheritDoc}
final public GetMappedReviveTables ( )

GetPrimaryKeyTable() final public method

{@inheritDoc}
final public GetPrimaryKeyTable ( )

GetPropertyMappings() final public method

{@inheritDoc}
final public GetPropertyMappings ( )

Initialize() final public method

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

MapIdentitiesToPrimaryKeys() final public method

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

MapIdentityToPrimaryKey() final public method

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

MapPrimaryKeyToIdentity() final public method

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

MapPrimaryKeysToIdentities() final public method

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

OnInitialize() protected method

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

OnInitialized() protected method

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

RegisterPropertyMappings() abstract protected method

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
return void

RelationalCriterion() protected method

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

ResultRow() public method

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