Package com.nomagic.magicdraw.diff
Interface ElementAddition
- All Superinterfaces:
Difference,DifferenceLocation,ElementDifference
Difference when new element is created in contributor project. Together with
ElementAddition there must be found more differences to fill up created element with data.-
Method Summary
Modifier and TypeMethodDescriptionlongReturns created element type.booleanbooleanisNew()Checks if added element is persisted into the project.Methods inherited from interface com.nomagic.magicdraw.diff.Difference
acceptMethods inherited from interface com.nomagic.magicdraw.diff.DifferenceLocation
getModuleURIMethods inherited from interface com.nomagic.magicdraw.diff.ElementDifference
getElementID
-
Method Details
-
getElementType
Returns created element type.- Returns:
- created element type.
-
getLocalID
-
isModelRoot
boolean isModelRoot() -
getContributorVersion
long getContributorVersion() -
getESIElementID
UUID getESIElementID() -
isNew
boolean isNew()Checks if added element is persisted into the project.- Returns:
truewhen added element is not persisted into the project.
-
getAppliedStereotypes
Collection<String> getAppliedStereotypes()- Returns:
- applied stereotype ids
-