Package com.e1c.langtool.v8.dt.sync
Class AbstractEObjectCopier
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>
org.eclipse.emf.ecore.util.EcoreUtil.Copier
com.e1c.langtool.v8.dt.sync.AbstractEObjectCopier
- All Implemented Interfaces:
Serializable,Cloneable,Map<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>
- Direct Known Subclasses:
BmObjectCopier
public abstract class AbstractEObjectCopier
extends org.eclipse.emf.ecore.util.EcoreUtil.Copier
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IFeatureSettingsServiceprotected final Stringprotected final ModelNameTranslationCacheprotected final Versionprotected ISymbolicNameServiceprotected final IBmNamespaceprotected ITranslatedSymbolicNameServiceprotected final IProjectTranslationProviderFields inherited from class org.eclipse.emf.ecore.util.EcoreUtil.Copier
resolveProxies, useOriginalReferences -
Constructor Summary
ConstructorsConstructorDescriptionAbstractEObjectCopier(IProjectTranslationProvider translationProvider, IBmNamespace targetNamespace, Version runtimeVersion) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcomputeIfAbsent(Pair<org.eclipse.emf.ecore.EObject, String> key, com.google.inject.Provider<String> provider) protected voidcopyAttribute(org.eclipse.emf.ecore.EAttribute eAttribute, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EObject copyEObject) protected voidcopyContainment(org.eclipse.emf.ecore.EReference eReference, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EObject copyEObject) protected voidcopyReference(org.eclipse.emf.ecore.EReference eReference, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EObject copyEObject) protected org.eclipse.emf.ecore.EObjectcreateReplacement(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject replaceObject, org.eclipse.emf.ecore.EObject targetContext) protected abstract StringMethods inherited from class org.eclipse.emf.ecore.util.EcoreUtil.Copier
copy, copyAll, copyAttributeValue, copyFeatureMap, copyProxyURI, copyReferences, createCopy, getTarget, getTarget, getTarget, getTargetMethods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Field Details
-
symbolicNameService
-
translatedSymbolicNameService
-
featureSettingsService
-
cache
-
nameCache
-
modelCacheSuffix
-
translationProvider
-
runtimeVersion
-
targetNamespace
-
-
Constructor Details
-
AbstractEObjectCopier
public AbstractEObjectCopier(IProjectTranslationProvider translationProvider, IBmNamespace targetNamespace, Version runtimeVersion)
-
-
Method Details
-
copyAttribute
protected void copyAttribute(org.eclipse.emf.ecore.EAttribute eAttribute, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EObject copyEObject) - Overrides:
copyAttributein classorg.eclipse.emf.ecore.util.EcoreUtil.Copier
-
copyContainment
protected void copyContainment(org.eclipse.emf.ecore.EReference eReference, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EObject copyEObject) - Overrides:
copyContainmentin classorg.eclipse.emf.ecore.util.EcoreUtil.Copier
-
copyReference
protected void copyReference(org.eclipse.emf.ecore.EReference eReference, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EObject copyEObject) - Overrides:
copyReferencein classorg.eclipse.emf.ecore.util.EcoreUtil.Copier
-
getTranslatedTopObjectFqn
-
createReplacement
protected org.eclipse.emf.ecore.EObject createReplacement(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EObject replaceObject, org.eclipse.emf.ecore.EObject targetContext) -
getLanguageCodes
-
computeIfAbsent
-