Package com.nomagic.magicdraw.diff
Interface PrimitiveMultiValueModificationInfo
-
- All Superinterfaces:
ModificationInfo
,ValueModificationInfo
@OpenApiAll public interface PrimitiveMultiValueModificationInfo extends ValueModificationInfo
Modification of an item in a list of primitive values such as string, integer, boolean.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getIndex()
Value is not enough for value identification.default boolean
wasChangeFromDefaultValue()
Was change made when ancestor value was the default.-
Methods inherited from interface com.nomagic.magicdraw.diff.ModificationInfo
accept
-
Methods inherited from interface com.nomagic.magicdraw.diff.ValueModificationInfo
getModificationKind, getValue
-
-
-
-
Method Detail
-
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
-
-