Package com.gpudb

Class TypeObjectMap.FieldHandler

    • Method Detail

      • get

        public Object get​(Object o)
        Returns the value of the field specified in the constructor from the specified object. The object must belong to the class containing the field.
        Specified by:
        get in interface TypeObjectMap.Accessor
        Parameters:
        o - the object
        Returns:
        the value of the field
        Throws:
        GPUdbRuntimeException - if the value could not be retrieved
      • set

        public void set​(Object o,
                        Object value)
        Sets the value of the field specified in the constructor in the specified object. The object must belong to the class containing the field.
        Specified by:
        set in interface TypeObjectMap.Mutator
        Parameters:
        o - the object
        value - the new value of the field
        Throws:
        GPUdbRuntimeException - if the value could not be set