Class Annotation

  • All Implemented Interfaces:

    public class Annotation
    extends java.lang.Object
    An Annotation represents data of a certain type, for a given path, for a given point in time or range of time. There is little contract defined for types and data formats, though in general data is expected to be simple text, or a json document.
    See Also:
    Serialized Form
    • Constructor Detail

      • Annotation

        public Annotation()
    • Method Detail

      • newDelete

        public static Annotation newDelete​( storageId)
      • fromJson

        public static Annotation fromJson​(java.lang.String json)
      • fromJson

        public static Annotation fromJson​(com.inductiveautomation.ignition.common.gson.JsonElement json)
      • updatePath

        public void updatePath​(QualifiedPath path)
        Path can be mutated as we move from system to system.
      • getType

        public java.lang.String getType()
      • getRangeStart

        public java.util.Date getRangeStart()
      • getRangeEnd

        public java.util.Date getRangeEnd()
      • getData

        public java.lang.String getData()
      • getStorageId

        public getStorageId()
      • isDeleted

        public boolean isDeleted()
      • delete

        public void delete()
      • toJson

        public java.lang.String toJson()
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object