@Override public boolean wasInitialized() { return persistentMap.wasInitialized(); }
@Override public boolean wasInitialized() { return internalPersistentCollection().wasInitialized(); }
public PersistentMap<K, V> clone(boolean uninitialize) { PersistentMap<K, V> map = new PersistentMap<K, V>(); if (wasInitialized() && !uninitialize) map.init(getCollection(), null, isDirty()); return map; } }
public PersistentMap<K, V> clone(boolean uninitialize) { PersistentMap<K, V> map = new PersistentMap<K, V>(); if (wasInitialized() && !uninitialize) map.init(getCollection(), null, isDirty()); return map; } }
public PersistentMap<K, V> clone(boolean uninitialize) { PersistentMap<K, V> map = new PersistentMap<K, V>(); if (wasInitialized() && !uninitialize) map.init(getCollection(), null, isDirty()); return map; } }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), this); }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), this); }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), this); }