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.public abstract class Field<T,V,C extends Condition<V>>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Field(java.lang.String name) |
Modifier and Type | Method and 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() |
public java.lang.String getName()
public abstract V getValueFor(T target)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object