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, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
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.