Package oracle.rules.sdk2.dictionary
Class SettableProperty.Diff<T>
java.lang.Object
oracle.rules.sdk2.dictionary.DictionaryProperty.Diff
oracle.rules.sdk2.dictionary.SettableProperty.Diff<T>
- Direct Known Subclasses:
UserTranslatedProperty.Diff
- Enclosing class:
- SettableProperty<T>
Describe differences between 2
SettableProperty this and that,
and allow the differences from that to be appled to this so this and that are the same.-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyDiff(boolean partial) Get theSettablePropertycontaining this Diff.Get the value to be shown as new, e.g. in a prominant non-strikeout font In diff mode, this is the value from the edited file.Get the value to be shown as old, e.g. in a strikeout font In merge mode, this is the value from the edited file.getValue()Get the value of the diff -- the value that differs fromgetContainingProperty().getValue()Methods inherited from class oracle.rules.sdk2.dictionary.DictionaryProperty.Diff
applyDiff, getContainingComponent, getDiffType, getVersionInfo, removeDiff
-
Method Details
-
getValue
Get the value of the diff -- the value that differs fromgetContainingProperty().getValue()- Returns:
- the different value
-
getOldValue
Get the value to be shown as old, e.g. in a strikeout font In merge mode, this is the value from the edited file. In diff mode, this is the value from the (older) version- Returns:
- old value of diff
-
getNewValue
Get the value to be shown as new, e.g. in a prominant non-strikeout font In diff mode, this is the value from the edited file. In merge mode, this is the value from the (newer) version- Returns:
- new value of diff
-
getContainingProperty
Get theSettablePropertycontaining this Diff.- Overrides:
getContainingPropertyin classDictionaryProperty.Diff- Returns:
SettableProperty
-
applyDiff
public void applyDiff(boolean partial)
-