Package hec.model
Class ModifiedTime
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.AbstractDataObject
hec.model.AbstractDBFObject
hec.model.ModifiedTime
- All Implemented Interfaces:
AbstractDataListener
,DataChangeListener
,LockListener
,AsciiSerializable
,DBFSerializable
,FieldAccessor
,DataObject
,DataStruct
,Serializable
,Cloneable
,Comparable
,EventListener
,Observer
,Modifiable
- See Also:
-
Field Summary
Fields inherited from class hec.model.AbstractDBFObject
_dbfMap, DESC_SIZE, FALSE, FD_ID, FD_NAME, ID_TAG, NAME_SIZE, NAME_TAG, TRUE
Fields inherited from class hec.model.AbstractDataObject
_dataList, _id, _isLocked, _loaded, _objRefs, _observerList, _outOfDateData, _parent, _propertyChangeSupport
Fields 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 TypeMethodDescriptionvoid
copyInto
(DataStruct ds) copy the DataStructs data into this DataObjectvoid
copyInto
(ModifiedTime dc) protected void
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.long
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.void
setModifiedTime
(long modTime) Methods inherited from class hec.model.AbstractDBFObject
DataChanged, getId, getIDTag, getMappingInformation, getName, getNameTag, loadData, locked, toString
Methods 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, setParent
Methods inherited from class hec.lang.NamedType
addModifiableListener, clone, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, isModified, isValid, readResolve, removeModifiableListener, rename, set, setIgnoreModifiedEvents, setIndex, setValid, update, useRecursiveModifiedTest
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hec.model.DataObject
getDescription, isModified
Methods inherited from interface hec.io.DBFSerializable
setId
-
Constructor Details
-
ModifiedTime
public ModifiedTime()
-
-
Method Details
-
setModifiedTime
public void setModifiedTime(long modTime) -
getModifiedTime
public long getModifiedTime() -
createMappingInfo
protected void createMappingInfo()- Overrides:
createMappingInfo
in classAbstractDBFObject
-
copyInto
Description copied from interface:DataObject
copy the DataStructs data into this DataObject -
copyInto
-
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Overrides:
getFieldObject
in classAbstractDBFObject
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in interfaceFieldAccessor
- Overrides:
setFieldObject
in 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
-