Class AbstractComparedEmfObjects<T extends org.eclipse.emf.ecore.EObject>

    • Constructor Detail

      • AbstractComparedEmfObjects

        public AbstractComparedEmfObjects()
        Creates an instance of the AbstractComparedEmfObjects. Used for cloning purposes
      • AbstractComparedEmfObjects

        protected AbstractComparedEmfObjects​(T main,
                                             T other,
                                             T commonAncestor)
        Constructs a triple of EMF objects being compared.
        Parameters:
        main - the main object, may be null
        other - the other object, may be null
        ancestor - the common ancestor object, may be null
    • Method Detail

      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass()
        Returns EClass associated with the compared objects or null if all compared objects are null.
        Returns:
        the corresponding EClass or null