EREntityStore Class Reference

Inherited by ERJoinEntityStore, ERJoinEntityStore.InnerJoinEntityStore, and ERMemoryEntityStore.

List of all members.

Classes

interface  JoinEntityStore

Public Member Functions

void clear ()
void commitFromTransactionStore (EREntityStore store)
int deleteRowsDescribedByQualifier (EOQualifier qualifier, EOEntity entity)
NSMutableArray
< NSMutableDictionary< String,
Object > > 
fetch (NSArray< EOAttribute > attributesToFetch, EOFetchSpecification fetchSpecification, boolean shouldLock, EOEntity entity)
void insertRow (NSDictionary< String, Object > row, EOEntity entity)
abstract Iterator
< NSMutableDictionary< String,
Object > > 
iterator ()
int nextSequence ()
EREntityStore transactionStore ()
int updateValuesInRowsDescribedByQualifier (NSDictionary< String, Object > updatedRow, EOQualifier qualifier, EOEntity entity)

Protected Member Functions

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

Private Attributes

int _sequence = 0


Detailed Description

EREntityStore is an abstract datastore implementation for a single "table" in non relational EOAdaptors like ERMemoryAdaptor. It provides basic fetch support. Additionally, this tracks a sequence number for the entity (for pk generation).

Author:
q

Member Function Documentation

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

Implemented in ERJoinEntityStore, and ERMemoryEntityStore.

void clear (  ) 

Reimplemented in ERMemoryEntityStore.

void commitFromTransactionStore ( EREntityStore  store  ) 

Reimplemented in ERMemoryEntityStore.

int deleteRowsDescribedByQualifier ( EOQualifier  qualifier,
EOEntity  entity 
)

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

Reimplemented in ERJoinEntityStore.

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

Reimplemented in ERJoinEntityStore.

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

int nextSequence (  ) 

Reimplemented in ERJoinEntityStore.

NSMutableDictionary<String, Object> rowFromStoredValues ( NSMutableDictionary< String, Object >  rawRow,
EOEntity  entity 
) [protected]

EREntityStore transactionStore (  ) 

Reimplemented in ERMemoryEntityStore.

int updateValuesInRowsDescribedByQualifier ( NSDictionary< String, Object >  updatedRow,
EOQualifier  qualifier,
EOEntity  entity 
)


Member Data Documentation

int _sequence = 0 [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