| java.lang.Object org.andromda.repositories.emf.EMFRepositoryFacade
All known Subclasses: org.andromda.repositories.emf.uml2.EMFUML2RepositoryFacade,
EMFRepositoryFacade | abstract public class EMFRepositoryFacade implements RepositoryFacade(Code) | | An abtract EMF
RepositoryFacade instance that should be extended by any repository wishing to load EMF models.
author: Steve Jerman author: Chad Brandon |
model | protected Resource model(Code) | | Stores the actual loaded model.
|
createNewResourceSet | abstract protected ResourceSet createNewResourceSet()(Code) | | Creates and returns a new resource suitable suitable for loading models into EMF.
This callback is used when (re-)initializing this repository so that it can be reused between different
AndroMDA runs, once a resource set is used for a model it becomes 'polluted' so that subsequent models
will see things from the previous runs, which might mess up the processing.
a new resource set to be used by this repository |
getLoadOptions | protected Map getLoadOptions()(Code) | | Gets the current load options.
the load options. |
readModel | protected void readModel(String uri)(Code) | | Reads the model with the given uri .
Parameters: uri - the URI to the model |
|
|