Record Class AnnotationChangePoint

java.lang.Object
java.lang.Record
com.inductiveautomation.historian.common.model.data.AnnotationChangePoint
Record Components:
identifier - the annotation's unique id; not null
source - the annotation's source path; not null
timestamp - when the change happened; defaults to the current time at microsecond precision if null, and a supplied value is kept as given
value - the new annotation, or null for a deletion
All Implemented Interfaces:
ChangePoint<AnnotationPoint>, TemporalPoint<AnnotationPoint, ChangePointType>, Comparable<TemporalPoint<AnnotationPoint, ChangePointType>>

public record AnnotationChangePoint(UUID identifier, QualifiedPath source, Instant timestamp, @Nullable AnnotationPoint value) extends Record implements ChangePoint<AnnotationPoint>
A ChangePoint that creates, updates or deletes an annotation; a null value is a deletion.
  • Constructor Details

    • AnnotationChangePoint

      public AnnotationChangePoint(UUID identifier, QualifiedPath source, Instant timestamp, @Nullable AnnotationPoint value)
      Creates an instance of a AnnotationChangePoint record class.
      Parameters:
      identifier - the value for the identifier record component
      source - the value for the source record component
      timestamp - the value for the timestamp record component
      value - the value for the value record component
  • Method Details