public static final class TypeObjectMap.FieldHandler extends Object implements TypeObjectMap.Accessor, TypeObjectMap.Mutator
TypeObjectMap.Accessor and TypeObjectMap.Mutator that provides access to a
specified field using reflection. The field must be public.| Constructor and Description |
|---|
TypeObjectMap.FieldHandler(Field field)
Creates a
TypeObjectMap.FieldHandler for the specified field. |
public TypeObjectMap.FieldHandler(Field field)
TypeObjectMap.FieldHandler for the specified field.field - the fieldpublic Object get(Object o)
get in interface TypeObjectMap.Accessoro - the objectGPUdbRuntimeException - if the value could not be retrievedpublic void set(Object o, Object value)
set in interface TypeObjectMap.Mutatoro - the objectvalue - the new value of the fieldGPUdbRuntimeException - if the value could not be setCopyright © 2017. All rights reserved.