public interface IConcordanceModel
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String modelElementFragment) |
Collection<org.eclipse.emf.ecore.EObject> |
getAllContents(boolean resolve)
Get all contents of the model.
|
Iterator<org.eclipse.emf.ecore.EObject> |
getAllContentsIterator(boolean resolve)
Get all contents of the model.
|
Set<CrossReference> |
getAllCrossReferences() |
Set<IConcordanceModel> |
getAllReferencedModels() |
org.eclipse.emf.ecore.resource.Resource |
getEmfResource(boolean resolve)
Gets the EMF resource belonging to the model.
|
String |
getNsUri() |
org.eclipse.core.resources.IResource |
getResource() |
org.eclipse.emf.common.util.URI |
getUri() |
boolean |
isInstance(String nsUri) |
void |
reconcileCrossReferences(IConcordanceModel original,
IConcordanceModel moved) |
org.eclipse.core.resources.IResource getResource()
org.eclipse.emf.common.util.URI getUri()
String getNsUri()
boolean contains(String modelElementFragment)
boolean isInstance(String nsUri)
org.eclipse.emf.ecore.resource.Resource getEmfResource(boolean resolve) throws IOException
resolve
- when true all model proxies are resolvedIOException
- when the model could not get loadedIterator<org.eclipse.emf.ecore.EObject> getAllContentsIterator(boolean resolve) throws IOException
getEmfResource(boolean)
resolve
- when true all model proxies are resolvedIOException
- when the model could not get loadedgetAllContents(boolean)
Collection<org.eclipse.emf.ecore.EObject> getAllContents(boolean resolve) throws IOException
Get all contents of the model. Note this method might call
getEmfResource(boolean)
As this method creates a new list containing all contents, it might be
better to use getAllContentsIterator(boolean)
, if result is just
used to find some element for example.
resolve
- when true all model proxies are resolvedIOException
- when the model could not get loadedgetAllContentsIterator(boolean)
Set<CrossReference> getAllCrossReferences()
Set<IConcordanceModel> getAllReferencedModels()
void reconcileCrossReferences(IConcordanceModel original, IConcordanceModel moved)
Copyright © 2016. All rights reserved.