Package hec.io
Class SimpleCustomUserTypeObject
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.AbstractDataObject
hec.model.AbstractDBFObject
hec.io.SimpleCustomUserTypeObject
- All Implemented Interfaces:
AbstractDataListener,DataChangeListener,LockListener,AsciiSerializable,DBFSerializable,FieldAccessor,DataObject,DataStruct,Serializable,Cloneable,Comparable,EventListener,Observer,Modifiable
Test Object to see if the DBF Storage can handle custom user types.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean[][]double[][]int[][]int[]float[]int[]Fields inherited from class hec.model.AbstractDBFObject
_dbfMap, DESC_SIZE, FALSE, FD_ID, FD_NAME, ID_TAG, NAME_SIZE, NAME_TAG, TRUEFields inherited from class hec.model.AbstractDataObject
_dataList, _id, _isLocked, _loaded, _objRefs, _observerList, _outOfDateData, _parent, _propertyChangeSupportFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyInto(DataStruct dsObj) copy the DataStructs data into this DataObjectbooleangetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.inthashCode()booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.Methods inherited from class hec.model.AbstractDBFObject
createMappingInfo, DataChanged, getId, getIDTag, getMappingInformation, getName, getNameTag, loadData, locked, toStringMethods inherited from class hec.model.AbstractDataObject
addObjectReference, addObserver, addPropertyChangeListener, addPropertyChangeListener, copyInto, decrementRefCnt, delete, fireDataChangeEvent, getCommonDataListContainer, getData, getDataList, getGmtOffset, getLocked, getObjectReferences, getParent, getRefCnt, getUnitSystem, incrementRefCnt, isLoaded, loadId, locked, reload, removeObjectReference, removeObjectReference, removeObserver, removePropertyChangeSupport, removePropertyChangeSupport, save, setDataList, setDescription, setId, setLocked, setModified, setName, setParentMethods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, isModified, isValid, readResolve, removeModifiableListener, rename, set, setIgnoreModifiedEvents, setIndex, setValid, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.model.DataObject
getDescription, isModifiedMethods inherited from interface hec.io.DBFSerializable
setId
-
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
Description copied from interface:DataObjectcopy the DataStructs data into this DataObject -
equals
-
hashCode
public int hashCode() -
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- Overrides:
getFieldObjectin classAbstractDBFObject- Parameters:
fld- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessorThis allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObjectin interfaceFieldAccessor- Overrides:
setFieldObjectin classAbstractDBFObject- Parameters:
fld- The java field object representing the member field to be setfobj- The data to set in that field- Returns:
- returns true if successful
-