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, 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 ds) copy the DataStructs data into this DataObjectvoidcopyInto(ModifiedTime dc) protected voidgetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.longbooleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidsetModifiedTime(long modTime) Methods inherited from class hec.model.AbstractDBFObject
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hec.model.DataObject
getDescription, isModifiedMethods 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:
createMappingInfoin classAbstractDBFObject
-
copyInto
Description copied from interface:DataObjectcopy the DataStructs data into this DataObject -
copyInto
-
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
-