Package com.nomagic.magicdraw.diff
Interface ReferenceModificationInfo
-
- All Superinterfaces:
ModificationInfo
,ValueModificationInfo
- All Known Subinterfaces:
ChangeOwnerInfo
@OpenApiAll public interface ReferenceModificationInfo extends ValueModificationInfo
Reference value is changed for element. In case element has multiple reference changes all of them will be recorded asReferenceModificationInfo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getValue()
default java.lang.String
getValueSpecificationID()
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
-
-
-
-
Method Detail
-
getValue
java.lang.String getValue()
- Specified by:
getValue
in interfaceValueModificationInfo
- Returns:
- Reference value - id of element.
-
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
-
getValueSpecificationID
default java.lang.String getValueSpecificationID()
- Returns:
- id of value specification
-
-