Package com.nomagic.magicdraw.diff
Interface DiagramDifference
-
- All Superinterfaces:
Difference
@OpenApiAll public interface DiagramDifference extends Difference
Difference between two diagrams. Contains diagram information, diagram id, and modification kind. If any information in diagram is changed only oneDiagramDifference
is created.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiagramData
getAncestorDiagramData()
Get ancestor diagram data.DiagramData
getDiagramData()
Get contributor diagram data.java.lang.String
getDiagramID()
Get diagram presentation element id.ModificationKind
getModificationKind()
Get modification kind.-
Methods inherited from interface com.nomagic.magicdraw.diff.Difference
accept
-
-
-
-
Method Detail
-
getDiagramID
java.lang.String getDiagramID()
Get diagram presentation element id.- Returns:
- changed diagram presentation element id.
-
getDiagramData
DiagramData getDiagramData()
Get contributor diagram data.- Returns:
- data of modified diagram.
- See Also:
DiagramData
-
getAncestorDiagramData
@CheckForNull DiagramData getAncestorDiagramData()
Get ancestor diagram data.- Returns:
- data of modified diagram.
- See Also:
DiagramData
-
getModificationKind
ModificationKind getModificationKind()
Get modification kind.- Returns:
- modification kind.
-
-