Package com.nomagic.magicdraw.diff
Interface ElementAddition
-
- All Superinterfaces:
Difference
,DifferenceLocation
,ElementDifference
@OpenApiAll public interface ElementAddition extends ElementDifference
Difference when new element is created in contributor project. Together withElementAddition
there must be found more differences to fill up created element with data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<java.lang.String>
getAppliedStereotypes()
long
getContributorVersion()
java.lang.Class<? extends Element>
getElementType()
Returns created element type.java.util.UUID
getESIElementID()
java.lang.String
getLocalID()
boolean
isModelRoot()
boolean
isNew()
Checks if added element is persisted into the project.-
Methods inherited from interface com.nomagic.magicdraw.diff.Difference
accept
-
Methods inherited from interface com.nomagic.magicdraw.diff.DifferenceLocation
getModuleURI
-
Methods inherited from interface com.nomagic.magicdraw.diff.ElementDifference
getElementID
-
-
-
-
Method Detail
-
getElementType
java.lang.Class<? extends Element> getElementType()
Returns created element type.- Returns:
- created element type.
-
getLocalID
@CheckForNull java.lang.String getLocalID()
-
isModelRoot
boolean isModelRoot()
-
getContributorVersion
long getContributorVersion()
-
getESIElementID
java.util.UUID getESIElementID()
-
isNew
boolean isNew()
Checks if added element is persisted into the project.- Returns:
true
when added element is not persisted into the project.
-
getAppliedStereotypes
java.util.Collection<java.lang.String> getAppliedStereotypes()
- Returns:
- applied stereotype ids
-
-