org.nakedobjects.runtime.objectstore.inmemory.internal
Class ObjectStoreInstances
java.lang.Object
org.nakedobjects.runtime.objectstore.inmemory.internal.ObjectStoreInstances
public final class ObjectStoreInstances
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectStoreInstances
public ObjectStoreInstances(NakedObjectSpecification spec)
getObjectInstances
public java.util.Map<Oid,java.lang.Object> getObjectInstances()
- TODO: shouldn't really be exposing this directly.
getOids
public java.util.Set<Oid> getOids()
getPojo
public java.lang.Object getPojo(Oid oid)
getVersion
public Version getVersion(Oid oid)
shutdown
public void shutdown()
save
public void save(NakedObject adapter)
remove
public void remove(Oid oid)
retrieveObject
public NakedObject retrieveObject(Oid oid)
- If the pojo exists in the object store, then looks up the
adapter from the AdapterManager, and only
if none found does it recreate
a new adapter.
findInstancesAndAdd
public void findInstancesAndAdd(PersistenceQueryBuiltIn persistenceQuery,
java.util.Vector<NakedObject> foundInstances)
- Not API, but public so can be called by
InMemoryObjectStore.
numberOfInstances
public int numberOfInstances()
hasInstances
public boolean hasInstances()
debugData
public void debugData(DebugString debug)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.