Package hec.clientapp.model
Class SimRunInfo
java.lang.Object
hec.clientapp.model.SimRunInfo
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSimRunInfo(String altInfo) SimRunInfo(String name, long lastComputeTime) SimRunInfo(String name, long lastComputeTime, boolean dataAvailable) SimRunInfo(String name, long lastComputeTime, boolean dataAvailable, int index) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.intgetIndex()longgetName()voidsetDataAvailable(boolean b) booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidsetIndex(int index) voidsetLastComputeTime(long lastComputeTime) voidtoString()
-
Constructor Details
-
SimRunInfo
public SimRunInfo() -
SimRunInfo
-
SimRunInfo
-
SimRunInfo
-
SimRunInfo
-
-
Method Details
-
getName
-
getLastComputeTime
public long getLastComputeTime() -
getDataAvailable
public boolean getDataAvailable() -
getIndex
public int getIndex() -
setName
-
setLastComputeTime
public void setLastComputeTime(long lastComputeTime) -
setDataAvailable
public void setDataAvailable(boolean b) -
setIndex
public void setIndex(int index) -
toString
-
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- 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- 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
-