The ValidationRevisionMetadataComparisonType enumeration contains metadata comparison types.
It is used by the following properties and methods:
Value | Brief description |
0 | Change. The value is changed. |
1 | NonChanged. The value is not changed. |
2 | AddedValue. The value is added. |
3 | RemovedValue. The value is removed. |
4 | Increase. The value has been increased. |
5 | Decrease. The value has been decreased. |
Values in metadata can be compared both on the series level and on the level of observations in the time series database.
The Increase and Decrease values are used in validations of the Compare with Time Series Database and Compare Metadata Versions types.
Change, NonChanged, Increase, Decrease. If at least one of the compared values is empty, the comparison returns False. Thus, these validation types check only changes in the existing values.
AddedValue. If value was empty and it becomes not empty, the comparison returns True. For the rest, the comparison returns False.
RemovedValue. If value was non-empty and it becomes empty, the comparison returns True. For the rest, the comparison returns False.
See also: