er.memoryadaptor
Class ERMemoryEntityStore
java.lang.Object
er.memoryadaptor.EREntityStore
er.memoryadaptor.ERMemoryEntityStore
public class ERMemoryEntityStore
- extends EREntityStore
ERMemoryEntityStore is the actual datastore implementation for a single "table"
in ERMemoryAdaptor. It's about as simple as you can get -- each row of the
"database" is represented by a dictionary that maps attribute names to values.
- Author:
- mschrag, q
Field Summary |
protected com.webobjects.foundation.NSMutableArray<com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object>> |
_rows
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_rows
protected com.webobjects.foundation.NSMutableArray<com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object>> _rows
ERMemoryEntityStore
public ERMemoryEntityStore()
clear
public void clear()
- Overrides:
clear
in class EREntityStore
transactionStore
public ERMemoryEntityStore transactionStore()
- Overrides:
transactionStore
in class EREntityStore
commitFromTransactionStore
public void commitFromTransactionStore(EREntityStore store)
- Overrides:
commitFromTransactionStore
in class EREntityStore
iterator
public java.util.Iterator<com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object>> iterator()
- Specified by:
iterator
in class EREntityStore
_insertRow
protected void _insertRow(com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> row,
com.webobjects.eoaccess.EOEntity entity)
- Specified by:
_insertRow
in class EREntityStore
Copyright © 2002 – 2007 Project Wonder.