Interface Difference

All Known Subinterfaces:
DiagramDifference, DomainSpecificCustomizationDifference, ElementAddition, ElementDeletion, ElementDifference, ElementModification, MacroDifference, MDExtensionDifference, MDExtensionExistenceDifference, MDExtensionModificationDifference, Modification, ModuleUsageDifference, MultiplePersistentPropertyDifference<T>, PersistentPropertyOrderDifference<T>, ProjectOptionsDifference, ShareDifference, StereotypeModification, SymbolAddition, SymbolDeletion, SymbolDifference, SymbolPersistentPropertyDifference<T>, TagValueModification

@OpenApi public interface Difference
Difference between two entities which can be compared. Original entity is named ancestor, changed entity is contributor. Difference must hold information which is enough to restore change when applying to ancestor entity.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(com.nomagic.magicdraw.diff.DifferenceVisitor visitor)
    Accept visitor.
  • Method Details

    • accept

      void accept(com.nomagic.magicdraw.diff.DifferenceVisitor visitor)
      Accept visitor.
      Parameters:
      visitor - visitor