public static class EcoreUtil.ProxyCrossReferencer extends EcoreUtil.CrossReferencer
emfObjects| Modifier | Constructor and Description |
|---|---|
protected |
EcoreUtil.ProxyCrossReferencer(java.util.Collection<?> emfObjects)
Creates an instance for the given collection of objects.
|
protected |
EcoreUtil.ProxyCrossReferencer(EObject eObject)
Creates an instance for the given object.
|
protected |
EcoreUtil.ProxyCrossReferencer(Resource resource)
Creates an instance for the given resource.
|
protected |
EcoreUtil.ProxyCrossReferencer(ResourceSet resourceSet)
Creates an instance for the given resource set.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
crossReference(EObject eObject,
EReference eReference,
EObject crossReferencedEObject)
Return true if the specified eReference from eObject to crossReferencedEObject should be
considered a cross reference by this cross referencer.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
find(java.util.Collection<?> emfObjects)
Returns a map of all proxy references from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
find(EObject eObject)
Returns a map of all proxy references from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
find(Resource resource)
Returns a map of all proxy references from the specified content tree.
|
static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
find(ResourceSet resourceSet)
Returns a map of all proxy references from the specified content tree.
|
protected java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> |
findProxyCrossReferences()
Returns the map of proxy references for this cross referencer.
|
protected boolean |
resolve()
Return true if potential cross references that are proxies should be resolved.
|
add, containment, crossReference, done, getCollection, getCrossReferences, handleCrossReference, newCollection, newContentsIterator, print, print, toStringclear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesprotected EcoreUtil.ProxyCrossReferencer(EObject eObject)
eObject - the object to cross reference.protected EcoreUtil.ProxyCrossReferencer(Resource resource)
resource - the resource to cross reference.protected EcoreUtil.ProxyCrossReferencer(ResourceSet resourceSet)
resourceSet - the resource set to cross reference.protected EcoreUtil.ProxyCrossReferencer(java.util.Collection<?> emfObjects)
emfObjects - the collection of objects to cross reference.protected boolean resolve()
resolve in class EcoreUtil.CrossReferencerprotected boolean crossReference(EObject eObject, EReference eReference, EObject crossReferencedEObject)
crossReference in class EcoreUtil.CrossReferencereObject - an object in the cross referencer's content tree.eReference - a reference from the object.crossReferencedEObject - the target of the specified reference.protected java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> findProxyCrossReferences()
public static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> find(EObject eObject)
eObject - an object whose content trees should be considered.public static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> find(Resource resource)
resource - a resource whose content tree should be considered.public static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> find(ResourceSet resourceSet)
resourceSet - a resourceSet whose content tree should be considered.public static java.util.Map<EObject,java.util.Collection<EStructuralFeature.Setting>> find(java.util.Collection<?> emfObjects)
emfObjects - a collection of objects whose combined content trees should be considered.