ERJoinEntityStore Class Reference

Inherits er::memoryadaptor::EREntityStore, and er::memoryadaptor::EREntityStore::JoinEntityStore.

Collaboration diagram for ERJoinEntityStore:

Collaboration graph
[legend]

List of all members.

Classes

class  InnerJoinEntityStore

Public Member Functions

 ERJoinEntityStore (NSDictionary< EOEntity, EREntityStore > stores, EOEntity entity)
NSMutableArray
< NSMutableDictionary< String,
Object > > 
fetch (NSArray< EOAttribute > attributesToFetch, EOFetchSpecification fetchSpecification, boolean shouldLock, EOEntity entity)
void insertRow (NSDictionary< String, Object > row, EOEntity entity)
Iterator< NSMutableDictionary
< String, Object > > 
iterator ()
int nextSequence ()

Protected Member Functions

void _insertRow (NSMutableDictionary< String, Object > row, EOEntity entity)

Private Member Functions

EREntityStore join (EORelationship rel, EREntityStore store1, EREntityStore store2)
EREntityStore joinedStore (NSArray< EOAttribute > attributesToFetch, EOFetchSpecification fetchSpecification, EOEntity entity)

Private Attributes

EOEntity _entity
NSDictionary< EOEntity,
EREntityStore
_stores


Detailed Description

ERJoinEntityStore is a datastore implementation that provides a basic EREntityStore join implementation. This class is used by EREntityStoreFactory when resolving an EREntityStore for an entity that has flattened attributes but doesn't implement EREntityStore.JoinEntityStore

Author:
q

Constructor & Destructor Documentation

ERJoinEntityStore ( NSDictionary< EOEntity, EREntityStore stores,
EOEntity  entity 
)


Member Function Documentation

void _insertRow ( NSMutableDictionary< String, Object >  row,
EOEntity  entity 
) [protected, virtual]

Implements EREntityStore.

NSMutableArray<NSMutableDictionary<String, Object> > fetch ( NSArray< EOAttribute >  attributesToFetch,
EOFetchSpecification  fetchSpecification,
boolean  shouldLock,
EOEntity  entity 
)

Reimplemented from EREntityStore.

void insertRow ( NSDictionary< String, Object >  row,
EOEntity  entity 
)

Reimplemented from EREntityStore.

Iterator<NSMutableDictionary<String, Object> > iterator (  )  [virtual]

Implements EREntityStore.

EREntityStore join ( EORelationship  rel,
EREntityStore  store1,
EREntityStore  store2 
) [private]

EREntityStore joinedStore ( NSArray< EOAttribute >  attributesToFetch,
EOFetchSpecification  fetchSpecification,
EOEntity  entity 
) [private]

int nextSequence (  ) 

Reimplemented from EREntityStore.


Member Data Documentation

EOEntity _entity [private]

NSDictionary<EOEntity, EREntityStore> _stores [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:23 2012 for Project Wonder by  doxygen 1.5.8