Class MatchedEmfObjects

    • Constructor Detail

      • MatchedEmfObjects

        public MatchedEmfObjects()
        Constructs an empty set of matched objects.
      • MatchedEmfObjects

        public MatchedEmfObjects​(org.eclipse.emf.ecore.EObject main,
                                 org.eclipse.emf.ecore.EObject other,
                                 org.eclipse.emf.ecore.EObject ancestor)
        Constructs matched objects set.
        Parameters:
        main - the main EMF object, can be null
        other - the other EMF object, can be null
        ancestor - the common ancestor EMF object, can be null
    • Method Detail

      • setRelatedNodeId

        public void setRelatedNodeId​(long nodeId)
        Stores the node id the compared objects belong to.
        Parameters:
        nodeId - the node id to store
      • getRelatedNodeId

        public Long getRelatedNodeId()
        Returns the node id the compared objects belong to.
        Returns:
        the related node id or null if node set