@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, 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); }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, 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(true, 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(), getCollection()); } }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), getCollection()); }
@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(), getCollection()); } }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), getCollection()); }
@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(), getCollection()); } }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), getCollection()); }