PHP Interface Storm\Core\Mapping\IEntityRelationalMap

Author: Elliot Levin ([email protected])
Afficher le fichier Open project: timetoogo/penumbra Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

GetAllMappedPersistColumns() public méthode

public GetAllMappedPersistColumns ( array $Properties = null ) : Storm\Core\Relational\IColumn[]
$Properties array The mapped properties
Résultat Storm\Core\Relational\IColumn[]

GetAllMappedReviveColumns() public méthode

public GetAllMappedReviveColumns ( array $Properties = null ) : Storm\Core\Relational\IColumn[]
$Properties array The mapped properties
Résultat Storm\Core\Relational\IColumn[]

GetCollectionPropertyToManyRelationMappings() public méthode

public GetCollectionPropertyToManyRelationMappings ( ) : Storm\Core\Mapping\ICollectionPropertyToManyRelationMapping[]
Résultat Storm\Core\Mapping\ICollectionPropertyToManyRelationMapping[]

GetCriterion() public méthode

Get the criterion that must be included for every request.
public GetCriterion ( ) : Criterion
Résultat Storm\Core\Relational\Criterion

GetDataPropertyColumnMappings() public méthode

public GetDataPropertyColumnMappings ( ) : Storm\Core\Mapping\IDataPropertyColumnMapping[]
Résultat Storm\Core\Mapping\IDataPropertyColumnMapping[]

GetEntityMap() public méthode

The entity map of represented entity.
public GetEntityMap ( ) : Storm\Core\Object\IEntityMap
Résultat Storm\Core\Object\IEntityMap

GetEntityPropertyToOneRelationMappings() public méthode

public GetEntityPropertyToOneRelationMappings ( ) : Storm\Core\Mapping\IEntityPropertyToOneRelationMapping[]
Résultat Storm\Core\Mapping\IEntityPropertyToOneRelationMapping[]

GetEntityType() public méthode

The type of entity that this relational map is representing.
public GetEntityType ( ) : string
Résultat string

GetIdentityPropertyPrimaryKeyMappings() public méthode

public GetIdentityPropertyPrimaryKeyMappings ( ) : Storm\Core\Mapping\IDataPropertyColumnMapping[]
Résultat Storm\Core\Mapping\IDataPropertyColumnMapping[]

GetMappedPersistColumns() public méthode

public GetMappedPersistColumns ( Storm\Core\Object\IProperty $Property ) : Storm\Core\Relational\IColumn[]
$Property Storm\Core\Object\IProperty The mapped property
Résultat Storm\Core\Relational\IColumn[]

GetMappedPersistTables() public méthode

The tables that are mapped to for persistence.
public GetMappedPersistTables ( ) : Storm\Core\Relational\ITable[]
Résultat Storm\Core\Relational\ITable[]

GetMappedProperties() public méthode

The properties that mapped.
public GetMappedProperties ( ) : Storm\Core\Object\IProperties[]
Résultat Storm\Core\Object\IProperties[]

GetMappedReviveColumns() public méthode

public GetMappedReviveColumns ( Storm\Core\Object\IProperty $Property ) : Storm\Core\Relational\IColumn[]
$Property Storm\Core\Object\IProperty The mapped property
Résultat Storm\Core\Relational\IColumn[]

GetMappedReviveTables() public méthode

The tables that are mapped from for revival.
public GetMappedReviveTables ( ) : Storm\Core\Relational\ITable[]
Résultat Storm\Core\Relational\ITable[]

GetPrimaryKeyTable() public méthode

The table in which the identity is stored.
public GetPrimaryKeyTable ( ) : Storm\Core\Relational\ITable
Résultat Storm\Core\Relational\ITable

GetPropertyMappings() public méthode

public GetPropertyMappings ( ) : Storm\Core\Mapping\IPropertyMapping[]
Résultat Storm\Core\Mapping\IPropertyMapping[]

Initialize() public méthode

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
Résultat void

MapIdentitiesToPrimaryKeys() public méthode

NOTE: Keys are preserved
public MapIdentitiesToPrimaryKeys ( array $Identities ) : PrimaryKey[]
$Identities array
Résultat Storm\Core\Relational\PrimaryKey[] The mapped primary keys

MapIdentityToPrimaryKey() public méthode

Maps an identity to the equivalent primary key.
public MapIdentityToPrimaryKey ( Identity $Identity ) : PrimaryKey
$Identity Storm\Core\Object\Identity The identity to map
Résultat Storm\Core\Relational\PrimaryKey The mapped primary key

MapPrimaryKeyToIdentity() public méthode

Map a primary key to the equivalent identity.
public MapPrimaryKeyToIdentity ( PrimaryKey $PrimaryKey ) : Identity
$PrimaryKey Storm\Core\Relational\PrimaryKey
Résultat Storm\Core\Object\Identity $Identity The mapped identity

MapPrimaryKeysToIdentities() public méthode

NOTE: Keys are preserved
public MapPrimaryKeysToIdentities ( array $PrimaryKeys ) : Identity[]
$PrimaryKeys array
Résultat Storm\Core\Object\Identity[] $Identity The mapped identities

ResultRow() public méthode

Instantiate a new result row for the given column data.
public ResultRow ( array $ColumnData = [] ) : ResultRow
$ColumnData array the column data
Résultat Storm\Core\Relational\ResultRow