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.Serializable
A 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 boolean
equals(java.lang.Object obj)
java.lang.String
getName()
The name of the field, an identifier that can be used to retrieve conditions for specific pieces of data.abstract V
getValueFor(T target)
Returns the value of this field from the provided target.int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-