public class EMFCompareCopier extends EcoreUtil.Copier
Namely, references now have their own Diffs, they will be merged separately from the EObject copy. However, attributes must be copied from the start.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
resolveProxies, useOriginalReferences
Constructor and Description |
---|
EMFCompareCopier() |
Modifier and Type | Method and Description |
---|---|
EObject |
copy(EObject eObject)
Implementation mostly copied from Copier#copy(EObject), we only remove the reference copying from here.
|
copyAll, copyAttribute, copyAttributeValue, copyContainment, copyFeatureMap, copyProxyURI, copyReference, copyReferences, createCopy, getTarget, getTarget, getTarget, getTarget
clear, containsValue, get, removeEldestEntry
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public EObject copy(EObject eObject)
Implementation mostly copied from Copier#copy(EObject), we only remove the reference copying from here.
copy
in class EcoreUtil.Copier
EcoreUtil.Copier.copy(org.eclipse.emf.ecore.EObject)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.