public interface PersistentStore extends InternalEObject.EStore
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_INDEX
A value indicating that no index is specified.
|
| Modifier and Type | Method and Description |
|---|---|
EObject |
eObject(Id id)
|
default EList<EObject> |
getAllInstances(EClass eClass,
boolean strict)
Back-end specific computation of
Resource.getAllContents(). |
Resource |
resource()
Returns the
Resource to persist and access. |
void |
save()
Saves the modifications of the owned
EObjects in the persistence back-end. |
add, clear, contains, create, get, getContainer, getContainingFeature, hashCode, indexOf, isEmpty, isSet, lastIndexOf, move, remove, set, size, toArray, toArray, unsetstatic final int NO_INDEX
Resource resource()
Resource to persist and access.default EList<EObject> getAllInstances(EClass eClass, boolean strict)
Resource.getAllContents().eClass - the EClass to compute the instances ofstrict - true if the lookup searches for strict instancesEList containing all the EObjects that are instances of the given EClassUnsupportedOperationException - if the back-end does not support custom all instances computationvoid save()
EObjects in the persistence back-end.Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.