Package com.nomagic.magicdraw.diff
Interface PrimitiveMultiValueModificationInfo
- All Superinterfaces:
ModificationInfo
,ValueModificationInfo
Modification of an item in a list of primitive values such as string, integer, boolean.
-
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
Value is not enough for value identification.default boolean
Was change made when ancestor value was the default.Methods inherited from interface com.nomagic.magicdraw.diff.ValueModificationInfo
getModificationKind, getValue
-
Method Details
-
getIndex
int getIndex()Value is not enough for value identification.- Returns:
- index in the list of primitive type values.
-
wasChangeFromDefaultValue
default boolean wasChangeFromDefaultValue()Was change made when ancestor value was the default.- Returns:
true
if modification kind is changed and ancestor property value was default, otherwise -false
-