Package hec.rss.model
Class PulsChannelRoutingWLossesHotstartState
java.lang.Object
hec.rss.model.HotstartState
hec.rss.model.RoutingHotstartState
hec.rss.model.PulsChannelRoutingWLossesHotstartState
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable
public class PulsChannelRoutingWLossesHotstartState
extends RoutingHotstartState
implements AsciiSerializable
- See Also:
-
Field Summary
Fields inherited from class hec.rss.model.HotstartState
_childStates, RESTORE_STATE_ID -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.booleanvoidsaveState(int stateId) booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.Methods inherited from class hec.rss.model.RoutingHotstartState
getRoutingMethods inherited from class hec.rss.model.HotstartState
addChildState, addTimeSeries, calcNumStepsBack, getChildState, getCurrentRunTimeStep, getFilename, getHotstartTime, getHoursToSave, getName, getNumStepsBack, getObjectClass, getSaveStartTime, getTimeSeriesList, printErrorMessage, printWarningMessage, setName, setObjectClass, setParentState, toString
-
Constructor Details
-
PulsChannelRoutingWLossesHotstartState
public PulsChannelRoutingWLossesHotstartState() -
PulsChannelRoutingWLossesHotstartState
-
-
Method Details
-
restoreState
public boolean restoreState()- Specified by:
restoreStatein classHotstartState
-
saveState
public void saveState(int stateId) - Specified by:
saveStatein classHotstartState
-
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 classRoutingHotstartState- 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 classRoutingHotstartState- 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
-