Codota Logo
EcoreUtil$Copier.get
Code IndexAdd Codota to your IDE (free)

How to use
get
method
in
org.eclipse.emf.ecore.util.EcoreUtil$Copier

Best Java code snippets using org.eclipse.emf.ecore.util.EcoreUtil$Copier.get (Showing top 12 results out of 315)

  • Common ways to obtain EcoreUtil$Copier
private void myMethod () {
EcoreUtil$Copier e =
  • Codota Iconnew Copier()
  • Smart code suggestions by Codota
}
origin: org.eclipse.emf/org.eclipse.emf.ecore.change

@Override
public EObject get(Object key)
{
 EObject eObject = super.get(key);
 // If the object isn't already in the map...
 //
 if (eObject == null)
 {
  // Any object in the original proxy map is copied as proxy as needed.
  //
  URI proxyURI = eObjectToProxyURIMap.get(key);
  if (proxyURI != null)
  {
   EObject keyEObject = (EObject)key;
   InternalEObject copyEObject = (InternalEObject)createCopy(keyEObject);
   copyEObject.eSetProxyURI(proxyURI);
   put(keyEObject, copyEObject);
   return copyEObject;
  }
 }
 return eObject;
}
origin: org.eclipse.emf/org.eclipse.emf.ecore.change

EObject copiedObjectToChange = copier.get(objectToChange);
   featureChange.setReferenceValue(copier.get(referenceValue));
     referenceValues.set(copier.get(referenceValue));
  referenceValues.set(copier.get(referenceValue));
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore.change

EObject copiedObjectToChange = copier.get(objectToChange);
   featureChange.setReferenceValue(copier.get(referenceValue));
     referenceValues.set(copier.get(referenceValue));
  referenceValues.set(copier.get(referenceValue));
origin: org.eclipse/org.eclipse.emf.codegen.ecore

 @Override
 public EObject get(Object key)
 {
  EObject value = super.get(key);
  if (value == null)
  {
   if (key instanceof EObject)
   {
    EObject referencedEObject = (EObject)key;
    if (EcoreUtil.isAncestor(oldContext, referencedEObject))
    {
     URI uri = EcoreUtil.getURI(referencedEObject);
     referencedEObject = newContext.getEObject(uri, false);
     if (referencedEObject != null)
     {
      value = referencedEObject;
     }
    }
   }
  }
  return value;
 }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore.change

@Override
public EObject get(Object key)
{
 EObject eObject = super.get(key);
 // If the object isn't already in the map...
 //
 if (eObject == null)
 {
  // Any object in the original proxy map is copied as proxy as needed.
  //
  URI proxyURI = eObjectToProxyURIMap.get(key);
  if (proxyURI != null)
  {
   EObject keyEObject = (EObject)key;
   InternalEObject copyEObject = (InternalEObject)createCopy(keyEObject);
   copyEObject.eSetProxyURI(proxyURI);
   put(keyEObject, copyEObject);
   return copyEObject;
  }
 }
 return eObject;
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

Object copyReferencedEObject = get(referencedEObject);
if (copyReferencedEObject == null && referencedEObject != null)
origin: org.eclipse.emf/org.eclipse.emf.ecore

Object copyReferencedEObject = get(referencedEObject);
if (copyReferencedEObject == null && referencedEObject != null)
origin: org.eclipse.emf/org.eclipse.emf.codegen.ecore

 @Override
 public EObject get(Object key)
 {
  EObject value = super.get(key);
  if (value == null)
  {
   if (key instanceof EObject)
   {
    EObject referencedEObject = (EObject)key;
    if (EcoreUtil.isAncestor(oldContext, referencedEObject))
    {
     URI uri = EcoreUtil.getURI(referencedEObject);
     referencedEObject = newContext.getEObject(uri, false);
     if (referencedEObject != null)
     {
      value = referencedEObject;
     }
    }
   }
  }
  return value;
 }
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore.xmi

EObject copyEObject = copier.get(targetEObject);
if (copyEObject != null)
origin: org.eclipse.emf/org.eclipse.emf.ecore.xmi

EObject copyEObject = copier.get(targetEObject);
if (copyEObject != null)
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

 EObject copyReferencedEObject = get(referencedEObject);
 if (copyReferencedEObject == null)
Object copyReferencedEObject = get(value);
if (copyReferencedEObject == null)
origin: org.eclipse.emf/org.eclipse.emf.ecore

 EObject copyReferencedEObject = get(referencedEObject);
 if (copyReferencedEObject == null)
Object copyReferencedEObject = get(value);
if (copyReferencedEObject == null)
org.eclipse.emf.ecore.utilEcoreUtil$Copierget

Javadoc

Returns the target class used to create a copy instance for objects of the given source class.

Popular methods of EcoreUtil$Copier

  • copyReferences
    Hooks up cross references; it delegates to #copyReference.
  • copy
    Returns a copy of the given eObject.
  • copyAll
    Returns a collection containing a copy of each EObject in the given collection.
  • <init>
    Creates an instance that resolves proxies or not and uses non-copied references or not as specified.
  • copyAttribute
    Called to handle the copying of an attribute; this adds a list of values or sets a single value as a
  • entrySet
  • copyContainment
    Called to handle the copying of a containment feature; this adds a list of copies or sets a single c
  • copyReference
    Called to handle the copying of a cross reference; this adds values or sets a single value as approp
  • createCopy
    Returns a new instance of the object's target class.
  • copyAttributeValue
    Called to handle copying of an attribute's value to the target setting.
  • copyFeatureMap
    Call to handle copying the contained objects within a feature map.
  • copyProxyURI
    Copies the proxy URI from the original to the copy, if present.
  • copyFeatureMap,
  • copyProxyURI,
  • getTarget,
  • put

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now