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:
java.io.Serializable
public abstract class Field<T,V,C extends Condition<V>> extends java.lang.Object implements java.io.SerializableA field defines the particular source of data that a condition would apply to.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Field(java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()The name of the field, an identifier that can be used to retrieve conditions for specific pieces of data.abstract VgetValueFor(T target)Returns the value of this field from the provided target.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.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(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-