Skip navigation links

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

Provides utility classes to create Blueprints specific URIs.

See: Description

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

Provides utility classes to create Blueprints specific URIs.

This package defines the BlueprintsURI class, that extends PersistenceURI to create Blueprints specific URIs. BlueprintsURIs are convenience wrappers of EMF URIs that set a dedicated protocol that is parsed by NeoEMF to create the appropriate database.

BlueprintsURIs are created using the following code:


 URI blueprintsURI = BlueprintsURI.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(blueprintsURI);

 // And accessed as a regular EMF resource
 neoEMFResource.getContents() [...]
 
Skip navigation links

Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.