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

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

Best Java code snippets using org.eclipse.emf.ecore.util.EcoreUtil$Copier.copyFeatureMap (Showing top 2 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: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.ecore

/**
 * Called to handle the copying of an attribute;
 * this adds a list of values or sets a single value as appropriate for the multiplicity.
 * @param eAttribute the attribute to copy.
 * @param eObject the object from which to copy.
 * @param copyEObject the object to copy to.
 */
protected void copyAttribute(EAttribute eAttribute, EObject eObject, EObject copyEObject)
{
 if (eObject.eIsSet(eAttribute))
 {
  if (FeatureMapUtil.isFeatureMap(eAttribute))
  {
   FeatureMap featureMap = (FeatureMap)eObject.eGet(eAttribute);
   copyFeatureMap(featureMap);
  }
  else
  {
   EStructuralFeature.Setting setting = getTarget(eAttribute, eObject, copyEObject);
   if (setting != null)
   {
    copyAttributeValue(eAttribute, eObject, eObject.eGet(eAttribute), setting);
   }
  }
 }
}
origin: org.eclipse.emf/org.eclipse.emf.ecore

/**
 * Called to handle the copying of an attribute;
 * this adds a list of values or sets a single value as appropriate for the multiplicity.
 * @param eAttribute the attribute to copy.
 * @param eObject the object from which to copy.
 * @param copyEObject the object to copy to.
 */
protected void copyAttribute(EAttribute eAttribute, EObject eObject, EObject copyEObject)
{
 if (eObject.eIsSet(eAttribute))
 {
  if (FeatureMapUtil.isFeatureMap(eAttribute))
  {
   FeatureMap featureMap = (FeatureMap)eObject.eGet(eAttribute);
   copyFeatureMap(featureMap);
  }
  else
  {
   EStructuralFeature.Setting setting = getTarget(eAttribute, eObject, copyEObject);
   if (setting != null)
   {
    copyAttributeValue(eAttribute, eObject, eObject.eGet(eAttribute), setting);
   }
  }
 }
}
org.eclipse.emf.ecore.utilEcoreUtil$CopiercopyFeatureMap

Javadoc

Call to handle copying the contained objects within a feature map.

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.
  • get
  • <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.
  • copyProxyURI
    Copies the proxy URI from the original to the copy, if present.
  • copyAttributeValue,
  • 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