Package hec.io

Class SimpleCustomUserTypeObject

All Implemented Interfaces:
AbstractDataListener, DataChangeListener, LockListener, AsciiSerializable, DBFSerializable, FieldAccessor, DataObject, DataStruct, Serializable, Cloneable, Comparable, EventListener, Observer, Modifiable

public class SimpleCustomUserTypeObject extends AbstractDBFObject
Test Object to see if the DBF Storage can handle custom user types.
See Also:
  • Field Details

    • doubleDoubleArrayValues

      public double[][] doubleDoubleArrayValues
    • singleFloatArrayValues

      public float[] singleFloatArrayValues
    • doubleBooleanArrayValues

      public boolean[][] doubleBooleanArrayValues
    • singleIntArrayValues

      public int[] singleIntArrayValues
    • singleEmptyIntArrayValues

      public int[] singleEmptyIntArrayValues
    • doubleEmptyIntArrayValues

      public int[][] doubleEmptyIntArrayValues
  • Constructor Details

    • SimpleCustomUserTypeObject

      public SimpleCustomUserTypeObject()
  • Method Details

    • copyInto

      public void copyInto(DataStruct dsObj)
      Description copied from interface: DataObject
      copy the DataStructs data into this DataObject
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getFieldObject

      public Object getFieldObject(Field fld)
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class AbstractDBFObject
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class AbstractDBFObject
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful