Package hec.model
Class TrialReference
java.lang.Object
hec.model.TrialReference
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
index of the TrialForecastRunint
index into altlist of modeltrial key ie Q1 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(TrialReference that) boolean
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.toString()
-
Field Details
-
mgrIndex
public int mgrIndexindex of the TrialForecastRun -
modelPosition
public int modelPositionindex into altlist of model -
trialKey
trial key ie Q1
-
-
Constructor Details
-
TrialReference
public TrialReference()
-
-
Method Details
-
equals
-
equals
-
toString
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in 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
-
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
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-