Skip navigation links

Package fr.inria.atlanmod.neoemf.data.mapdb.util

Provides utility classes related to MapDB.

See: Description

Package fr.inria.atlanmod.neoemf.data.mapdb.util Description

Provides utility classes related to MapDB.

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.MapDbURIs 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.MapDbURIs 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() [...]
 
Skip navigation links

Copyright © 2013–2019 Atlanmod. All rights reserved.