Tabnine Logo
EcoreUtil$Copier.get
Code IndexAdd Tabnine 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)

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: 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.xmi

EObject copyEObject = copier.get(targetEObject);
if (copyEObject != null)
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

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

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

Object copyReferencedEObject = get(referencedEObject);
if (copyReferencedEObject == null && referencedEObject != null)
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: 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: 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;
 }
}
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

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Kernel (java.awt.image)
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • JButton (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now