Class EMFUtil.TreeMapping<T extends EObject>

java.lang.Object
java.util.AbstractMap<T,T>
java.util.HashMap<T,T>
org.eclipse.emf.cdo.common.model.EMFUtil.TreeMapping<T>
All Implemented Interfaces:
Serializable, Cloneable, Map<T,T>
Enclosing class:
EMFUtil

public static final class EMFUtil.TreeMapping<T extends EObject> extends HashMap<T,T>
A mapping between two EObjects and their contents based on their URIs as returned by EcoreUtil.getURI(EObject).
Since:
4.27
Author:
Eike Stepper
See Also:
  • Constructor Details

    • TreeMapping

      public TreeMapping(Class<T> type)
  • Method Details

    • getFromObjectsByURI

      public Map<String,T> getFromObjectsByURI()
    • getToObjectsByURI

      public Map<String,T> getToObjectsByURI()
    • map

      public void map(EObject fromObject, EObject toObject)
    • map

      public void map(EObject fromObject, EObject toObject, boolean allContents)
    • filter

      protected T filter(EObject object)