Interface FieldAccessor<T>
- Type Parameters:
T- - field valueType.
public interface FieldAccessor<T>
An interface for retrieving the field content. (Credits: TinyProtocol)
-
Method Summary
-
Method Details
-
get
Retrieve the content of a field.- Parameters:
target- - the targetToLoad object, or NULL for a static field.- Returns:
- The value of the field.
-
set
Set the content of a field.- Parameters:
target- - the targetToLoad object, or NULL for a static field.value- - the new value of the field.
-
hasField
Determine if the given object has this field.- Parameters:
target- - the object to test.- Returns:
- TRUE if it does, FALSE otherwise.
-