org.eclipse.m2m.atl.engine.emfvm.lib
Class ReferenceModel
java.lang.Object
org.eclipse.m2m.atl.engine.emfvm.lib.Model
org.eclipse.m2m.atl.engine.emfvm.lib.ReferenceModel
public class ReferenceModel
- extends Model
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReferenceModel
public ReferenceModel(ReferenceModel referenceModel,
java.net.URL url)
throws java.io.IOException
- Throws:
java.io.IOException
ReferenceModel
public ReferenceModel(ReferenceModel referenceModel,
org.eclipse.emf.common.util.URI uri)
throws java.io.IOException
- Throws:
java.io.IOException
ReferenceModel
public ReferenceModel(ReferenceModel referenceModel,
org.eclipse.emf.ecore.resource.Resource resource)
ReferenceModel
public ReferenceModel(ReferenceModel referenceModel,
java.lang.String uri)
dispose
public void dispose()
- Overrides:
dispose
in class Model
getMetaElementByName
public org.eclipse.emf.ecore.EClass getMetaElementByName(java.lang.String name)
getMetametamodel
public static ReferenceModel getMetametamodel()
addAllReferencedResources
protected void addAllReferencedResources(org.eclipse.emf.ecore.resource.Resource resource)
- Searches for and adds all resources that are
referenced from the main resource to referencedResources.
- Parameters:
The
- main resource
isModelOf
public boolean isModelOf(java.lang.Object object)
- Parameters:
object
- The model element.
- Returns:
- True if object is contained in this model's resource or a referenced resource.