public interface RemoteFormField<T> extends FormField<T>
FormField in that
any method call might result in a RemoteFormData.InaccessibleException, if the remote field is no longer
accessible.| Modifier and Type | Method and Description |
|---|---|
T |
get()
Provides the current value of the field.
|
String |
getName()
Returns the name of the field.
|
Class<T> |
getType()
Get the type of the field's value.
|
boolean |
isDefault()
Indicates that the value is set to default.
|
boolean |
isEmpty()
Indicates that the value of this field is empty.
|
boolean |
isSet()
Indicates that the value of this field is set.
|
void |
set(Object value)
Set the value of this field.
|
void |
setToDefault()
Set the field to its default value.
|
void |
validate(T value)
Remote validation is not supported, therefore, this method will throw UnsupportedOperationException, always.
|
String getName() throws RemoteFormData.InaccessibleException
getName in interface FormField<T>RemoteFormData.InaccessibleException - If the field is (no longer) accessible.Class<T> getType() throws RemoteFormData.InaccessibleException
getType in interface FormField<T>RemoteFormData.InaccessibleException - If the field is (no longer) accessible.boolean isSet()
throws RemoteFormData.InaccessibleException
isSet in interface FormField<T>true, iff field is set.RemoteFormData.InaccessibleException - If the field is (no longer) accessible.boolean isEmpty()
throws RemoteFormData.InaccessibleException
isEmpty in interface FormField<T>true, iff field evaluates to empty.RemoteFormData.InaccessibleException - If the field is (no longer) accessible.boolean isDefault()
throws RemoteFormData.InaccessibleException
isDefault in interface FormField<T>true, iff field is set to default.RemoteFormData.InaccessibleException - If the field is (no longer) accessible.@Nullable T get() throws RemoteFormData.InaccessibleException
get in interface FormField<T>RemoteFormData.InaccessibleException - If the field is (no longer) accessible.void set(Object value) throws InappropriateValueException, UnsupportedOperationException, RemoteFormData.InaccessibleException
set in interface FormField<T>value - The value to be set.InappropriateValueException - If the given value is not appropriate for this field.UnsupportedOperationException - If the field does not support setting its value.RemoteFormData.InaccessibleException - If the field is (no longer) accessible.void setToDefault()
throws UnsupportedOperationException,
RemoteFormData.InaccessibleException
setToDefault in interface FormField<T>UnsupportedOperationException - If the field does not support setting its value.RemoteFormData.InaccessibleException - If the field is (no longer) accessible.void validate(T value) throws UnsupportedOperationException
validate in interface FormField<T>value - The value to validate.UnsupportedOperationException - Always.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408