See: Description
Class | Description |
---|---|
MapDbUriFactory |
A
UriFactory that creates MapDB specific resource URIs. |
This package defines the fr.inria.atlanmod.neoemf.data.mapdb.util.MapDbURI
class, that extends fr.inria.atlanmod.neoemf.util.URIBuilder
to create MapDB specific URIs. fr.inria.atlanmod.neoemf.data.mapdb.util.MapDbURI
s are convenience wrappers of EMF URIs that set a dedicated
protocol that is parsed by NeoEMF to create the appropriate database.
fr.inria.atlanmod.neoemf.data.mapdb.util.MapDbURI
s are created using the following code:
URI mapDBURI = MapDBURI.createFileURI(new File("model_path"));
// The created URI can be used as a regular EMF URI to create a NeoEMF resource
Resource neoEMFResource = resourceSet.createResource(hbaseURI);
// And accessed as a regular EMF resource
neoEMFResource.getContents() [...]
Copyright © 2013–2019 Atlanmod. All rights reserved.