Class Field<T,V,C extends Condition<V>>

java.lang.Object
com.inductiveautomation.ignition.common.alarming.query.Field<T,V,C>
Type Parameters:
T - The type of object that this Field is valid for.
V - The type of value contained by this field in the target object.
C - The type of condition used to filter this field.
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TagQuery.TagPropertyField

public abstract class Field<T,V,C extends Condition<V>> extends Object implements Serializable
A field defines the particular source of data that a condition would apply to.
See Also:
  • Constructor Details

    • Field

      public Field(String name)
  • Method Details

    • getName

      public String getName()
      The name of the field, an identifier that can be used to retrieve conditions for specific pieces of data.
    • getValueFor

      public abstract V getValueFor(T target)
      Returns the value of this field from the provided target.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object