PHP Интерфейс Storm\Core\Mapping\IEntityRelationalMap

Автор: Elliot Levin ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
GetAllMappedPersistColumns ( array $Properties = null ) : Storm\Core\Relational\IColumn[]
GetAllMappedReviveColumns ( array $Properties = null ) : Storm\Core\Relational\IColumn[]
GetCollectionPropertyToManyRelationMappings ( ) : Storm\Core\Mapping\ICollectionPropertyToManyRelationMapping[]
GetCriterion ( ) : Criterion Get the criterion that must be included for every request.
GetDataPropertyColumnMappings ( ) : Storm\Core\Mapping\IDataPropertyColumnMapping[]
GetEntityMap ( ) : Storm\Core\Object\IEntityMap The entity map of represented entity.
GetEntityPropertyToOneRelationMappings ( ) : Storm\Core\Mapping\IEntityPropertyToOneRelationMapping[]
GetEntityType ( ) : string The type of entity that this relational map is representing.
GetIdentityPropertyPrimaryKeyMappings ( ) : Storm\Core\Mapping\IDataPropertyColumnMapping[]
GetMappedPersistColumns ( Storm\Core\Object\IProperty $Property ) : Storm\Core\Relational\IColumn[]
GetMappedPersistTables ( ) : Storm\Core\Relational\ITable[] The tables that are mapped to for persistence.
GetMappedProperties ( ) : Storm\Core\Object\IProperties[] The properties that mapped.
GetMappedReviveColumns ( Storm\Core\Object\IProperty $Property ) : Storm\Core\Relational\IColumn[]
GetMappedReviveTables ( ) : Storm\Core\Relational\ITable[] The tables that are mapped from for revival.
GetPrimaryKeyTable ( ) : Storm\Core\Relational\ITable The table in which the identity is stored.
GetPropertyMappings ( ) : Storm\Core\Mapping\IPropertyMapping[]
Initialize ( DomainDatabaseMap $DomainDatabaseMap ) : void Intialize the property mapping in the context of the parent domain database map.
MapIdentitiesToPrimaryKeys ( array $Identities ) : PrimaryKey[] Maps an array of identities to the equivalent primary keys.
MapIdentityToPrimaryKey ( Identity $Identity ) : PrimaryKey Maps an identity to the equivalent primary key.
MapPrimaryKeyToIdentity ( PrimaryKey $PrimaryKey ) : Identity Map a primary key to the equivalent identity.
MapPrimaryKeysToIdentities ( array $PrimaryKeys ) : Identity[] Maps an array of primary keysto the equivalent identities.
ResultRow ( array $ColumnData = [] ) : ResultRow Instantiate a new result row for the given column data.

Описание методов

GetAllMappedPersistColumns() публичный Метод

public GetAllMappedPersistColumns ( array $Properties = null ) : Storm\Core\Relational\IColumn[]
$Properties array The mapped properties
Результат Storm\Core\Relational\IColumn[]

GetAllMappedReviveColumns() публичный Метод

public GetAllMappedReviveColumns ( array $Properties = null ) : Storm\Core\Relational\IColumn[]
$Properties array The mapped properties
Результат Storm\Core\Relational\IColumn[]

GetCollectionPropertyToManyRelationMappings() публичный Метод

public GetCollectionPropertyToManyRelationMappings ( ) : Storm\Core\Mapping\ICollectionPropertyToManyRelationMapping[]
Результат Storm\Core\Mapping\ICollectionPropertyToManyRelationMapping[]

GetCriterion() публичный Метод

Get the criterion that must be included for every request.
public GetCriterion ( ) : Criterion
Результат Storm\Core\Relational\Criterion

GetDataPropertyColumnMappings() публичный Метод

public GetDataPropertyColumnMappings ( ) : Storm\Core\Mapping\IDataPropertyColumnMapping[]
Результат Storm\Core\Mapping\IDataPropertyColumnMapping[]

GetEntityMap() публичный Метод

The entity map of represented entity.
public GetEntityMap ( ) : Storm\Core\Object\IEntityMap
Результат Storm\Core\Object\IEntityMap

GetEntityPropertyToOneRelationMappings() публичный Метод

public GetEntityPropertyToOneRelationMappings ( ) : Storm\Core\Mapping\IEntityPropertyToOneRelationMapping[]
Результат Storm\Core\Mapping\IEntityPropertyToOneRelationMapping[]

GetEntityType() публичный Метод

The type of entity that this relational map is representing.
public GetEntityType ( ) : string
Результат string

GetIdentityPropertyPrimaryKeyMappings() публичный Метод

public GetIdentityPropertyPrimaryKeyMappings ( ) : Storm\Core\Mapping\IDataPropertyColumnMapping[]
Результат Storm\Core\Mapping\IDataPropertyColumnMapping[]

GetMappedPersistColumns() публичный Метод

public GetMappedPersistColumns ( Storm\Core\Object\IProperty $Property ) : Storm\Core\Relational\IColumn[]
$Property Storm\Core\Object\IProperty The mapped property
Результат Storm\Core\Relational\IColumn[]

GetMappedPersistTables() публичный Метод

The tables that are mapped to for persistence.
public GetMappedPersistTables ( ) : Storm\Core\Relational\ITable[]
Результат Storm\Core\Relational\ITable[]

GetMappedProperties() публичный Метод

The properties that mapped.
public GetMappedProperties ( ) : Storm\Core\Object\IProperties[]
Результат Storm\Core\Object\IProperties[]

GetMappedReviveColumns() публичный Метод

public GetMappedReviveColumns ( Storm\Core\Object\IProperty $Property ) : Storm\Core\Relational\IColumn[]
$Property Storm\Core\Object\IProperty The mapped property
Результат Storm\Core\Relational\IColumn[]

GetMappedReviveTables() публичный Метод

The tables that are mapped from for revival.
public GetMappedReviveTables ( ) : Storm\Core\Relational\ITable[]
Результат Storm\Core\Relational\ITable[]

GetPrimaryKeyTable() публичный Метод

The table in which the identity is stored.
public GetPrimaryKeyTable ( ) : Storm\Core\Relational\ITable
Результат Storm\Core\Relational\ITable

GetPropertyMappings() публичный Метод

public GetPropertyMappings ( ) : Storm\Core\Mapping\IPropertyMapping[]
Результат Storm\Core\Mapping\IPropertyMapping[]

Initialize() публичный Метод

Intialize the property mapping in the context of the parent domain database map.
public Initialize ( DomainDatabaseMap $DomainDatabaseMap ) : void
$DomainDatabaseMap DomainDatabaseMap The parent domain database map
Результат void

MapIdentitiesToPrimaryKeys() публичный Метод

NOTE: Keys are preserved
public MapIdentitiesToPrimaryKeys ( array $Identities ) : PrimaryKey[]
$Identities array
Результат Storm\Core\Relational\PrimaryKey[] The mapped primary keys

MapIdentityToPrimaryKey() публичный Метод

Maps an identity to the equivalent primary key.
public MapIdentityToPrimaryKey ( Identity $Identity ) : PrimaryKey
$Identity Storm\Core\Object\Identity The identity to map
Результат Storm\Core\Relational\PrimaryKey The mapped primary key

MapPrimaryKeyToIdentity() публичный Метод

Map a primary key to the equivalent identity.
public MapPrimaryKeyToIdentity ( PrimaryKey $PrimaryKey ) : Identity
$PrimaryKey Storm\Core\Relational\PrimaryKey
Результат Storm\Core\Object\Identity $Identity The mapped identity

MapPrimaryKeysToIdentities() публичный Метод

NOTE: Keys are preserved
public MapPrimaryKeysToIdentities ( array $PrimaryKeys ) : Identity[]
$PrimaryKeys array
Результат Storm\Core\Object\Identity[] $Identity The mapped identities

ResultRow() публичный Метод

Instantiate a new result row for the given column data.
public ResultRow ( array $ColumnData = [] ) : ResultRow
$ColumnData array the column data
Результат Storm\Core\Relational\ResultRow