congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EcoreUtil$Copier.copyFeatureMap
Code IndexAdd Tabnine 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)

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);
   }
  }
 }
}
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);
   }
  }
 }
}
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

  • Running tasks concurrently on multiple threads
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
  • getExternalFilesDir (Context)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Option (scala)
  • Top PhpStorm plugins
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