ClonableFieldHandler
, ConfigurableFieldHandler
AbstractFieldHandler
, CenturyDescriptor.CenturyFieldHandler
, CollectionFieldHandler
, ContainerFieldHandler
, DateDescriptor.DateFieldHandler
, DateFieldHandler
, DateTimeDescriptor.DateTimeFieldHandler
, DurationDescriptor.DurationFieldHandler
, EnumFieldHandler
, EnumFieldHandler
, ExtendedFieldHandler
, ExtendedFieldHandler
, FieldHandlerFriend
, FieldHandlerImpl
, GDayDescriptor.GDayFieldHandler
, GeneralizedFieldHandler
, GMonthDayDescriptor.GMonthDayFieldHandler
, GMonthDescriptor.GMonthFieldHandler
, GYearDescriptor.GYearFieldHandler
, GYearMonthDescriptor.GYearMonthFieldHandler
, MonthDescriptor.MonthFieldHandler
, RecurringDurationDescriptor.RecurringDurationFieldHandler
, SQLTimeFieldHandler
, SQLTimestampFieldHandler
, TimeDescriptor.TimeFieldHandler
, TimeDurationDescriptor.TimeDurationFieldHandler
, TimePeriodDescriptor.TimePeriodFieldHandler
, ToStringFieldHandler
, TransientFieldHandler
, ValueOfFieldHandler
, XMLFieldHandler
, YearDescriptor.YearFieldHandler
public interface FieldHandler
FieldDescriptor
Modifier and Type | Method | Description |
---|---|---|
void |
checkValidity(java.lang.Object object) |
Deprecated.
No longer supported
|
java.lang.Object |
getValue(java.lang.Object object) |
Returns the value of the field from the object.
|
java.lang.Object |
newInstance(java.lang.Object parent) |
Creates a new instance of the object described by this field.
|
void |
resetValue(java.lang.Object object) |
Sets the value of the field to a default value.
|
void |
setValue(java.lang.Object object,
java.lang.Object value) |
Sets the value of the field on the object.
|
java.lang.Object getValue(java.lang.Object object) throws java.lang.IllegalStateException
object
- The objectjava.lang.IllegalStateException
- The Java object has changed and
is no longer supported by this handler, or the handler is not
compatible with the Java objectvoid setValue(java.lang.Object object, java.lang.Object value) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
object
- The object.value
- The new value.java.lang.IllegalStateException
- The Java object has changed and is no longer
supported by this handler, or the handler is not compatible with the
Java object.java.lang.IllegalArgumentException
- The value passed is not of a supported type.void resetValue(java.lang.Object object) throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
Reference fields are set to null, primitive fields are set to their default value, collection fields are emptied of all elements.
object
- The object.java.lang.IllegalStateException
- The Java object has changed and is no longer
supported by this handler, or the handler is not compatible with the
Java object.java.lang.IllegalArgumentException
void checkValidity(java.lang.Object object) throws ValidityException, java.lang.IllegalStateException
ValidityException
java.lang.IllegalStateException
java.lang.Object newInstance(java.lang.Object parent) throws java.lang.IllegalStateException
parent
- The object for which the field is createdjava.lang.IllegalStateException
- This field is a simple type and
cannot be instantiatedIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com