Class Mapper.Mapping

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal
    Enclosing class:
    Mapper

    protected abstract static class Mapper.Mapping
    extends org.eclipse.emf.common.notify.impl.AdapterImpl
    An abstract superclass of the mappings based on EMF Adapter mechanism. Holds the list of mapped EObjects for an adapted EObject, thus supporting a many-to-many mapping between EObjects.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter

        org.eclipse.emf.common.notify.Adapter.Internal
    • Field Summary

      • Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl

        target
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Mapping()  
    • Constructor Detail

      • Mapping

        protected Mapping()
    • Method Detail

      • getMappedObjects

        public List<org.eclipse.emf.ecore.EObject> getMappedObjects()
        Returns the list of mapped EObjects.
        Returns:
        the list of mapped EObjects (never null)
      • isAdapterForType

        public boolean isAdapterForType​(Object type)
        Specified by:
        isAdapterForType in interface org.eclipse.emf.common.notify.Adapter
        Overrides:
        isAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImpl