public abstract class FieldHandlerFriend<T> extends Object implements FieldHandler<T>
FieldDescriptor
,
FieldHandler
Constructor and Description |
---|
FieldHandlerFriend() |
Modifier and Type | Method and Description |
---|---|
abstract void |
checkValidity(Object object)
Deprecated.
No longer supported
|
protected abstract FieldDescriptor |
getFieldDescriptor()
Returns the FieldDescriptor for the field that this handler is responsible
for, or null if no FieldDescriptor has been set.
|
abstract void |
setFieldDescriptor(FieldDescriptor fieldDesc)
Sets the FieldDescriptor that this FieldHander is responsibile for.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValue, newInstance, resetValue, setValue
protected abstract FieldDescriptor getFieldDescriptor()
FieldHandler
interface that wish to obtain
information about the field in order to make the FieldHandler more generic
and reusable, or simply for validation purposes.FieldDescriptor
, or null if none exists.public abstract void setFieldDescriptor(FieldDescriptor fieldDesc)
fieldDesc
- the FieldDescriptor to setpublic abstract void checkValidity(Object object) throws ValidityException, IllegalStateException
checkValidity
in interface FieldHandler<T>
ValidityException
IllegalStateException
Copyright © 2018. All rights reserved.