Package | Description |
---|---|
fr.inria.atlanmod.neoemf.core |
Provides the base classes that extends EMF API to enable lazy-loading of model elements.
|
fr.inria.atlanmod.neoemf.core.internal |
Provides helper classes for the base classes, such as lazy collections.
|
fr.inria.atlanmod.neoemf.data |
Provides generic classes representing data management operations.
|
fr.inria.atlanmod.neoemf.data.bean |
Provides simple representations of objects used to translate model-level operations in persistence calls.
|
fr.inria.atlanmod.neoemf.data.bean.serializer |
Provides classes related to bean serialization.
|
fr.inria.atlanmod.neoemf.data.blueprints.internal.graph |
Provides the dedicated graph structure for storing an EMF model.
|
fr.inria.atlanmod.neoemf.data.im |
Provides classes related to data management specific to the default in-memory implementation.
|
fr.inria.atlanmod.neoemf.data.mapping |
Provides interfaces for data mapping.
|
fr.inria.atlanmod.neoemf.data.store |
Provides classes that adds preprocessing and postprocessing functionalities during persistence operations.
|
fr.inria.atlanmod.neoemf.data.store.adapter |
Provides classes to map model-level operations into persistence-level operations.
|
fr.inria.atlanmod.neoemf.io.proxy |
Provides simple representations of objects used during import/export.
|
fr.inria.atlanmod.neoemf.io.reader |
Provides classes related to data reading.
|
fr.inria.atlanmod.neoemf.io.writer |
Provides classes related to data writing.
|
fr.inria.atlanmod.neoemf.resource |
Provides classes extending EMF resource management to support lazy-loading and database delegation.
|
Modifier and Type | Field and Description |
---|---|
static Id |
Id.UNDEFINED
An immutable undefined
Id . |
Modifier and Type | Method and Description |
---|---|
Id |
IdProvider.fromHexString(String hexValue)
Creates a new
Id from an hexadecimal representation. |
Id |
IdProvider.fromLong(long value)
Creates a new
Id from a long representation. |
Id |
IdProvider.generate()
Generates a new instance of an
Id initialized with a random value. |
Id |
IdProvider.generate(String baseValue)
Generates a new instance of an
Id from a baseValue . |
Id |
PersistentEObject.id()
Returns the identifier of this
PersistentEObject . |
Id |
DefaultPersistentEObject.id() |
Modifier and Type | Method and Description |
---|---|
void |
PersistentEObject.id(Id newId)
Defines the identifier of this
PersistentEObject . |
void |
DefaultPersistentEObject.id(Id newId) |
static PersistentEObject |
PersistenceFactory.newInstance(org.eclipse.emf.ecore.EClass eClass,
Id id)
Creates a new instance of the
eClass . |
Constructor and Description |
---|
DefaultPersistentEObject(Id id)
Constructs a new
DefaultPersistentEObject with the given id . |
Modifier and Type | Class and Description |
---|---|
class |
LongId
An
Id with a long representation. |
class |
UndefinedId
An undefined
Id . |
Modifier and Type | Method and Description |
---|---|
Id |
LongIdProvider.fromHexString(String hexValue) |
Id |
LongIdProvider.fromLong(long value) |
Id |
LongIdProvider.generate() |
Id |
LongIdProvider.generate(String baseValue) |
Id |
LongIdConverter.revert(Long aLong) |
Id |
StringIdConverter.revert(String s) |
Modifier and Type | Method and Description |
---|---|
int |
UndefinedId.compareTo(Id o) |
int |
LongId.compareTo(Id id) |
String |
StringIdConverter.convert(Id id) |
Long |
LongIdConverter.convert(Id id) |
Modifier and Type | Method and Description |
---|---|
Stream<Id> |
AbstractBackend.allInstancesOf(ClassBean metaClass,
boolean strict) |
Modifier and Type | Field and Description |
---|---|
protected Id |
AbstractFeatureBean.owner
The identifier of the object using the feature.
|
Modifier and Type | Method and Description |
---|---|
Id |
FeatureBean.owner()
Returns the identifier of the object using the feature.
|
Id |
AbstractFeatureBean.owner() |
Modifier and Type | Method and Description |
---|---|
static SingleFeatureBean |
SingleFeatureBean.of(Id owner,
int id)
Creates a new
SingleFeatureBean with the given owner and the given id , which are used as
a simple representation of a feature of an object. |
static ManyFeatureBean |
ManyFeatureBean.of(Id owner,
int id,
int position)
Creates a new
ManyFeatureBean with the given owner and the given id , which are used as a
simple representation of a feature of an object. |
Constructor and Description |
---|
AbstractFeatureBean(Id owner,
int id)
Constructs a new
AbstractFeatureBean with the given owner and the given id . |
AbstractFeatureBean(Id owner,
int id,
int position)
Constructs a new
ManyFeatureBean with the given id and the given name , which are used as
a simple representation of a feature of an object. |
ManyFeatureBean(Id owner,
int id,
int position)
Constructs a new
ManyFeatureBean with the given owner and the given id , which are used as
a simple representation of a feature of an object. |
SingleFeatureBean(Id owner,
int id)
Constructs a new
SingleFeatureBean with the given owner and the given id , which are used
as a simple representation of a feature of an object. |
Modifier and Type | Method and Description |
---|---|
BinarySerializer<Id> |
BeanSerializerFactory.forId()
Gets the
BinarySerializer for Id s. |
Modifier and Type | Method and Description |
---|---|
Id |
ElementVertex.getElementId()
Returns the converted identifier of this element vertex.
|
Modifier and Type | Method and Description |
---|---|
Converter<Id,Object> |
ModelGraph.getIdConverter()
Returns the converter to use a primitive representation instead of a complete
Id . |
Modifier and Type | Method and Description |
---|---|
protected static ElementEdge |
ElementEdge.create(ModelGraph graph,
ElementVertex referencing,
Id referenced,
String label)
Creates a new
ElementEdge between the referencing vertex and its reference. |
protected static ElementEdge |
ElementEdge.create(ModelGraph graph,
ElementVertex referencing,
Id referenced,
String label,
int position)
Creates a new
ElementEdge between the referencing vertex and its positionned reference. |
ElementVertex |
ModelGraph.getOrCreateVertex(Id id)
Returns the vertex referenced by the provided
id . |
Optional<ElementVertex> |
ModelGraph.getVertex(Id id)
Returns the vertex referenced by the provided
id . |
Optional<ElementVertex> |
ElementVertex.replaceReference(FeatureBean feature,
int position,
Id reference)
Replaces the current reference of the
feature at the defined position . |
Optional<ElementVertex> |
ElementVertex.setReference(FeatureBean feature,
Id reference)
Replaces the current reference of the
feature by the specified reference . |
void |
ElementVertex.setReference(FeatureBean feature,
int position,
Id reference)
Defines the current reference of the
feature at the defined position . |
Modifier and Type | Method and Description |
---|---|
Stream<Id> |
AbstractInMemoryBackend.allInstancesOf(Set<ClassBean> metaClasses) |
protected Map<Id,SingleFeatureBean> |
DefaultInMemoryBackend.containers() |
protected Map<Id,SingleFeatureBean> |
BoundInMemoryBackend.containers() |
protected abstract Map<Id,SingleFeatureBean> |
AbstractInMemoryBackend.containers()
Returns the map that holds all containers.
|
protected Map<Id,ClassBean> |
DefaultInMemoryBackend.instances() |
protected Map<Id,ClassBean> |
BoundInMemoryBackend.instances() |
protected abstract Map<Id,ClassBean> |
AbstractInMemoryBackend.instances()
Returns the map that holds all instances.
|
Converter<Id,Long> |
AbstractInMemoryBackend.referenceConverter() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractInMemoryBackend.containerFor(Id id,
SingleFeatureBean container) |
Optional<SingleFeatureBean> |
AbstractInMemoryBackend.containerOf(Id id) |
boolean |
AbstractInMemoryBackend.metaClassFor(Id id,
ClassBean metaClass) |
Optional<ClassBean> |
AbstractInMemoryBackend.metaClassOf(Id id) |
void |
AbstractInMemoryBackend.removeContainer(Id id) |
Constructor and Description |
---|
BoundInMemoryBackend(Id owner)
Constructs a new
BoundInMemoryBackend with the given owner . |
Modifier and Type | Method and Description |
---|---|
Stream<Id> |
InvalidDataMapper.allInstancesOf(ClassBean metaClass,
boolean strict) |
Stream<Id> |
ClassMapper.allInstancesOf(ClassBean metaClass,
boolean strict)
Retrieves all instances of the given
metaClass . |
Stream<Id> |
AbstractDataMapperChain.allInstancesOf(ClassBean metaClass,
boolean strict) |
Stream<Id> |
InvalidDataMapper.allInstancesOf(Set<ClassBean> metaClasses) |
Stream<Id> |
ClassMapper.allInstancesOf(Set<ClassBean> metaClasses)
Retrieves all instances of the given
metaClasses . |
Stream<Id> |
AbstractDataMapperChain.allInstancesOf(Set<ClassBean> metaClasses) |
default Stream<Id> |
ManyReferenceMergedAs.allReferencesOf(SingleFeatureBean feature) |
Stream<Id> |
ManyReferenceMapper.allReferencesOf(SingleFeatureBean feature)
Retrieves all references of the specified
feature . |
default Stream<Id> |
ManyReferenceAs.allReferencesOf(SingleFeatureBean feature) |
Stream<Id> |
InvalidDataMapper.allReferencesOf(SingleFeatureBean feature) |
Stream<Id> |
AbstractDataMapperChain.allReferencesOf(SingleFeatureBean feature) |
Converter<Id,M> |
ManyReferenceAs.manyReferenceConverter()
Returns the converter used to transform a multi-valued reference to the desired type.
|
default Converter<Id,M> |
AllReferenceAs.manyReferenceConverter() |
Converter<List<Id>,M> |
ManyReferenceMergedAs.manyReferenceMerger()
Returns the converter used to transform a ordered list of references to the desired type.
|
Converter<Id,M> |
ReferenceAs.referenceConverter()
Returns the converter used to transform a reference to the desired type.
|
default Optional<Id> |
ManyReferenceMergedAs.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
ManyReferenceMapper.referenceFor(ManyFeatureBean feature,
Id reference)
Defines the
reference of the specified feature at a defined position. |
default Optional<Id> |
ManyReferenceAs.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
InvalidDataMapper.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
AbstractDataMapperChain.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
ReferenceMapper.referenceFor(SingleFeatureBean feature,
Id reference)
Defines the reference of the specified
feature . |
default Optional<Id> |
ReferenceAs.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
InvalidDataMapper.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
AbstractDataMapperChain.referenceFor(SingleFeatureBean feature,
Id reference) |
default Optional<Id> |
ManyReferenceMergedAs.referenceOf(ManyFeatureBean feature) |
Optional<Id> |
ManyReferenceMapper.referenceOf(ManyFeatureBean feature)
Retrieves the reference of the specified
feature at a defined position. |
default Optional<Id> |
ManyReferenceAs.referenceOf(ManyFeatureBean feature) |
Optional<Id> |
InvalidDataMapper.referenceOf(ManyFeatureBean feature) |
Optional<Id> |
AbstractDataMapperChain.referenceOf(ManyFeatureBean feature) |
Optional<Id> |
ReferenceMapper.referenceOf(SingleFeatureBean feature)
Retrieves the reference of the specified
feature . |
default Optional<Id> |
ReferenceAs.referenceOf(SingleFeatureBean feature) |
Optional<Id> |
InvalidDataMapper.referenceOf(SingleFeatureBean feature) |
Optional<Id> |
AbstractDataMapperChain.referenceOf(SingleFeatureBean feature) |
default Optional<Id> |
ManyReferenceMergedAs.removeReference(ManyFeatureBean feature) |
Optional<Id> |
ManyReferenceMapper.removeReference(ManyFeatureBean feature)
Removes the reference of the specified
feature at a defined position. |
default Optional<Id> |
ManyReferenceAs.removeReference(ManyFeatureBean feature) |
Optional<Id> |
InvalidDataMapper.removeReference(ManyFeatureBean feature) |
Optional<Id> |
AbstractDataMapperChain.removeReference(ManyFeatureBean feature) |
Modifier and Type | Method and Description |
---|---|
default void |
ManyReferenceMergedAs.addReference(ManyFeatureBean feature,
Id reference) |
void |
ManyReferenceMapper.addReference(ManyFeatureBean feature,
Id reference)
Adds the
reference to the specified feature at a defined position. |
default void |
ManyReferenceAs.addReference(ManyFeatureBean feature,
Id reference) |
void |
InvalidDataMapper.addReference(ManyFeatureBean feature,
Id reference) |
void |
AbstractDataMapperChain.addReference(ManyFeatureBean feature,
Id reference) |
default int |
ManyReferenceMapper.appendReference(SingleFeatureBean feature,
Id reference)
Adds the
reference to the specified feature at the last position. |
default int |
ManyReferenceAs.appendReference(SingleFeatureBean feature,
Id reference) |
int |
InvalidDataMapper.appendReference(SingleFeatureBean feature,
Id reference) |
int |
AbstractDataMapperChain.appendReference(SingleFeatureBean feature,
Id reference) |
void |
InvalidDataMapper.containerFor(Id id,
SingleFeatureBean container) |
void |
ContainerMapper.containerFor(Id id,
SingleFeatureBean container)
Stores the
container for the specified id . |
void |
AbstractDataMapperChain.containerFor(Id id,
SingleFeatureBean container) |
Optional<SingleFeatureBean> |
InvalidDataMapper.containerOf(Id id) |
Optional<SingleFeatureBean> |
ContainerMapper.containerOf(Id id)
Retrieves the container for the specified
id . |
Optional<SingleFeatureBean> |
AbstractDataMapperChain.containerOf(Id id) |
boolean |
InvalidDataMapper.metaClassFor(Id id,
ClassBean metaClass) |
boolean |
ClassMapper.metaClassFor(Id id,
ClassBean metaClass)
Stores the
metaClass for the specified id . |
boolean |
AbstractDataMapperChain.metaClassFor(Id id,
ClassBean metaClass) |
Optional<ClassBean> |
InvalidDataMapper.metaClassOf(Id id) |
Optional<ClassBean> |
ClassMapper.metaClassOf(Id id)
Retrieves the meta-class for the specified
id . |
Optional<ClassBean> |
AbstractDataMapperChain.metaClassOf(Id id) |
default Optional<Id> |
ManyReferenceMergedAs.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
ManyReferenceMapper.referenceFor(ManyFeatureBean feature,
Id reference)
Defines the
reference of the specified feature at a defined position. |
default Optional<Id> |
ManyReferenceAs.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
InvalidDataMapper.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
AbstractDataMapperChain.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
ReferenceMapper.referenceFor(SingleFeatureBean feature,
Id reference)
Defines the reference of the specified
feature . |
default Optional<Id> |
ReferenceAs.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
InvalidDataMapper.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
AbstractDataMapperChain.referenceFor(SingleFeatureBean feature,
Id reference) |
void |
InvalidDataMapper.removeContainer(Id id) |
void |
ContainerMapper.removeContainer(Id id)
Removes the container of the specified
id . |
void |
AbstractDataMapperChain.removeContainer(Id id) |
Modifier and Type | Method and Description |
---|---|
default void |
ManyReferenceMergedAs.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
ManyReferenceMapper.addAllReferences(ManyFeatureBean feature,
List<Id> collection)
Adds all the
collection to the specified feature from the position of the feature . |
default void |
ManyReferenceAs.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
InvalidDataMapper.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
AbstractDataMapperChain.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
default int |
ManyReferenceMapper.appendAllReferences(SingleFeatureBean feature,
List<Id> collection)
Adds all the
collection to the specified feature from the last position. |
default int |
ManyReferenceAs.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
int |
InvalidDataMapper.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
int |
AbstractDataMapperChain.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
Modifier and Type | Method and Description |
---|---|
void |
SizeCachingStore.addReference(ManyFeatureBean feature,
Id reference) |
void |
ReadOnlyStore.addReference(ManyFeatureBean feature,
Id reference) |
void |
ListeningStore.addReference(ManyFeatureBean feature,
Id reference) |
void |
FeatureCachingStore.addReference(ManyFeatureBean feature,
Id reference) |
void |
AutoSavingStore.addReference(ManyFeatureBean feature,
Id reference) |
int |
SizeCachingStore.appendReference(SingleFeatureBean feature,
Id reference) |
int |
ReadOnlyStore.appendReference(SingleFeatureBean feature,
Id reference) |
int |
ListeningStore.appendReference(SingleFeatureBean feature,
Id reference) |
int |
FeatureCachingStore.appendReference(SingleFeatureBean feature,
Id reference) |
int |
AutoSavingStore.appendReference(SingleFeatureBean feature,
Id reference) |
void |
ReadOnlyStore.containerFor(Id id,
SingleFeatureBean container) |
void |
ListeningStore.containerFor(Id id,
SingleFeatureBean container) |
void |
ContainerCachingStore.containerFor(Id id,
SingleFeatureBean container) |
void |
AutoSavingStore.containerFor(Id id,
SingleFeatureBean container) |
Optional<SingleFeatureBean> |
ListeningStore.containerOf(Id id) |
Optional<SingleFeatureBean> |
ContainerCachingStore.containerOf(Id id) |
boolean |
ReadOnlyStore.metaClassFor(Id id,
ClassBean metaClass) |
boolean |
ListeningStore.metaClassFor(Id id,
ClassBean metaClass) |
boolean |
ClassCachingStore.metaClassFor(Id id,
ClassBean metaClass) |
boolean |
AutoSavingStore.metaClassFor(Id id,
ClassBean metaClass) |
Optional<ClassBean> |
ListeningStore.metaClassOf(Id id) |
Optional<ClassBean> |
ClassCachingStore.metaClassOf(Id id) |
Optional<Id> |
ReadOnlyStore.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
ListeningStore.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
FeatureCachingStore.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
AutoSavingStore.referenceFor(ManyFeatureBean feature,
Id reference) |
Optional<Id> |
ReadOnlyStore.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
ListeningStore.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
FeatureCachingStore.referenceFor(SingleFeatureBean feature,
Id reference) |
Optional<Id> |
AutoSavingStore.referenceFor(SingleFeatureBean feature,
Id reference) |
void |
ReadOnlyStore.removeContainer(Id id) |
void |
ListeningStore.removeContainer(Id id) |
void |
ContainerCachingStore.removeContainer(Id id) |
void |
AutoSavingStore.removeContainer(Id id) |
Modifier and Type | Method and Description |
---|---|
void |
SizeCachingStore.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
ReadOnlyStore.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
ListeningStore.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
FeatureCachingStore.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
void |
AutoSavingStore.addAllReferences(ManyFeatureBean feature,
List<Id> collection) |
int |
SizeCachingStore.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
int |
ReadOnlyStore.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
int |
ListeningStore.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
int |
FeatureCachingStore.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
int |
AutoSavingStore.appendAllReferences(SingleFeatureBean feature,
List<Id> collection) |
Modifier and Type | Method and Description |
---|---|
Id |
ReferenceConverter.convert(PersistentEObject object) |
Modifier and Type | Method and Description |
---|---|
protected static Cache<Id,PersistentEObject> |
AbstractStoreAdapter.createCache()
Creates a new in-memory cache to store
Id s and their associated PersistentEObject . |
protected Cache<Id,PersistentEObject> |
TransientStoreAdapter.getCache() |
protected Cache<Id,PersistentEObject> |
PersistentStoreAdapter.getCache() |
protected abstract Cache<Id,PersistentEObject> |
AbstractStoreAdapter.getCache()
Returns the in-memory cache holding recently loaded
PersistentEObject s. |
Modifier and Type | Method and Description |
---|---|
PersistentEObject |
StoreAdapter.resolve(Id id)
Retrieves the object associated to the given
id . |
PersistentEObject |
AbstractStoreAdapter.resolve(Id id) |
org.eclipse.emf.ecore.EClass |
StoreAdapter.resolveInstanceOf(Id id)
Compute the
EClass associated to the model element with the provided Id . |
org.eclipse.emf.ecore.EClass |
AbstractStoreAdapter.resolveInstanceOf(Id id) |
PersistentEObject |
ReferenceConverter.revert(Id id) |
Modifier and Type | Method and Description |
---|---|
Id |
AbstractProxyFeature.getOwner()
Returns the identifier of the element that owns this feature.
|
Modifier and Type | Method and Description |
---|---|
ProxyValue<Id> |
ProxyElement.getId()
Returns the identifier of this element.
|
Modifier and Type | Method and Description |
---|---|
T |
AbstractProxyFeature.setOwner(Id owner)
Defines the identifier of the element that owns this feature.
|
Modifier and Type | Method and Description |
---|---|
ProxyElement |
ProxyElement.setId(ProxyValue<Id> id)
Defines the identifier of this element.
|
Modifier and Type | Method and Description |
---|---|
Id |
AbstractStreamReader.getPreviousId()
Returns the identifier of the previous element.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapperWriter.onReference(ProxyReference reference,
List<Id> values) |
void |
AbstractXmiStreamWriter.onReference(ProxyReference reference,
List<Id> values) |
abstract void |
AbstractWriter.onReference(ProxyReference reference,
List<Id> values)
Handles a reference in the current element.
|
Modifier and Type | Field and Description |
---|---|
static Id |
PersistentResource.ROOT_ID
The identifier of the root element in a
PersistentResource . |
Copyright © 2013–2019 Atlanmod. All rights reserved.