Package hec.model
Class DataObjectProxy
java.lang.Object
hec.model.DataObjectProxy
- All Implemented Interfaces:
hec.io.AsciiSerializable,DataStruct,Serializable,mil.army.usace.hec.dbf.IdReadable
public class DataObjectProxy
extends Object
implements DataStruct, Serializable, hec.io.AsciiSerializable
A simple proxy for managing DataObject references in a DataStorage object.
First use is in AsciiSplitDataStorage
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()getFieldObject(Field fld) longgetId()return this DataStruct's IDbooleansetFieldObject(Field fld, Object fobj)
-
Field Details
-
name
-
id
public long id -
className
-
dataObject
-
-
Constructor Details
-
DataObjectProxy
public DataObjectProxy() -
DataObjectProxy
-
-
Method Details
-
getId
public long getId()Description copied from interface:DataStructreturn this DataStruct's ID- Specified by:
getIdin interfaceDataStruct- Specified by:
getIdin interfacemil.army.usace.hec.dbf.IdReadable
-
getData
-
getFieldObject
- Specified by:
getFieldObjectin interfacehec.io.AsciiSerializable
-
setFieldObject
- Specified by:
setFieldObjectin interfacehec.io.AsciiSerializable
-