Interface IPartialListElementNode

    • Method Detail

      • getParentFeature

        org.eclipse.emf.ecore.EStructuralFeature getParentFeature()
        Returns feature of a parent collection where this element lies.
        Returns:
        the corresponding feature, never null
      • getPosition

        int getPosition​(ComparisonSide side)
        Returns element's position (index) in the collection of model objects from the corresponding side.
        Parameters:
        side - the comparison side, cannot be null
        Returns:
        the element's position or -1 if the element is absent under the given comparison side