Class FormEntityCounterpartComparer


  • public class FormEntityCounterpartComparer
    extends Object
    Comparer for the given form EObject and it's direct counterpart from another form. Direct counterpart must have the same name, id and path.
    • Constructor Detail

      • FormEntityCounterpartComparer

        public FormEntityCounterpartComparer​(Form targetForm,
                                             org.eclipse.emf.ecore.EObject target)
        Constructor.
        Parameters:
        targetForm - form to counterpart object search-in, cannot be null
        target - the form EObject for lookup, cannot be null
    • Method Detail

      • isEqualParts

        public boolean isEqualParts()
        Returns true if the given object is equals with the corresponding counterpart.
        Returns:
        true if the given object is equals with the corresponding counterpart.
      • getNonEqualFeatures

        public Collection<org.eclipse.emf.ecore.EStructuralFeature> getNonEqualFeatures()