Package hec.data
Class Parameter
java.lang.Object
mil.army.usace.hec.metadata.Parameter
hec.data.Parameter
- All Implemented Interfaces:
Serializable
Deprecated.
The Class Parameter.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.The Constant PARAMID_AREA.static final int
Deprecated.The Constant PARAMID_AREABASIN.static final int
Deprecated.The Constant PARAMID_AREAIMPACTED.static final int
Deprecated.The Constant PARAMID_AREAKA.static final int
Deprecated.The Constant PARAMID_AREARESERVOIR.static final int
Deprecated.The Constant PARAMID_AREASURFACE.static final int
Deprecated.The Constant PARAMID_ATI.static final int
Deprecated.The Constant PARAMID_BOTTOM_LENGTH.static final int
Deprecated.The Constant PARAMID_COLDRATE.static final int
Deprecated.The Constant PARAMID_CONC.static final int
Deprecated.The Constant PARAMID_COSTKAF.static final int
Deprecated.The Constant PARAMID_COUNT.static final int
Deprecated.The Constant PARAMID_CURENCY.static final int
Deprecated.The Constant PARAMID_DENSITY.static final int
Deprecated.The Constant PARAMID_DEPOSITION.static final int
Deprecated.The Constant PARAMID_DEPTH.static final int
Deprecated.The Constant PARAMID_DISTANCE.static final int
Deprecated.The Constant PARAMID_ELEV.static final int
Deprecated.The Constant PARAMID_ENERGY.static final int
Deprecated.The Constant PARAMID_EVAP.static final int
Deprecated.The Constant PARAMID_EVAPRATE.static final int
Deprecated.The Constant PARAMID_EXTINCTION.static final int
Deprecated.The Constant PARAMID_FLOW.static final int
Deprecated.The Constant PARAMID_FLOWKAF.static final int
Deprecated.The Constant PARAMID_FLOWPERAREA.static final int
Deprecated.The Constant PARAMID_GROWTH_RATE.static final int
Deprecated.The Constant PARAMID_LENGTH.static final int
Deprecated.The Constant PARAMID_LOSSDEFICIT.static final int
Deprecated.The Constant PARAMID_LOSSRATE.static final int
Deprecated.The Constant PARAMID_MELTRATE.static final int
Deprecated.The Constant PARAMID_OPENING.static final int
Deprecated.The Constant PARAMID_PENALTY.static final int
Deprecated.The Constant PARAMID_PERC.static final int
Deprecated.The Constant PARAMID_PERCENT.static final int
Deprecated.The Constant PARAMID_PERCRATE.static final int
Deprecated.The Constant PARAMID_POWER.static final int
Deprecated.The Constant PARAMID_PRECIP.static final int
Deprecated.The Constant PARAMID_PRESSURE.static final int
Deprecated.The Constant PARAMID_RATE_OF_RISE.static final int
Deprecated.The Constant PARAMID_SALINITY.static final int
Deprecated.The Constant PARAMID_SED_LOAD.static final int
Deprecated.The Constant PARAMID_SED_SIZE.static final int
Deprecated.The Constant PARAMID_SEDIMENT_DISCHARGE.static final int
Deprecated.The Constant PARAMID_SHADE_FRAC.static final int
Deprecated.static final int
Deprecated.The Constant PARAMID_SPINRATE.static final int
Deprecated.The Constant PARAMID_STAGE.static final int
Deprecated.The Constant PARAMID_STOR.static final int
Deprecated.The Constant PARAMID_STORKAF.static final int
Deprecated.The Constant PARAMID_SUSP_SOLIDS.static final int
Deprecated.The Constant PARAMID_TEMP.static final int
Deprecated.The Constant PARAMID_THICKNESS.static final int
Deprecated.The Constant PARAMID_TIMING.static final int
Deprecated.The Constant PARAMID_TIMING_OFFSET.static final int
Deprecated.The Constant PARAMID_TIMING_PERIOD.static final int
Deprecated.The Constant PARAMID_TRAVEL.static final int
Deprecated.The Constant PARAMID_VOLUME.static final int
Deprecated.The Constant PARAMID_WIDTH.static final int
Deprecated.The Constant UNDEF_PARAMETER_ID.Fields inherited from class mil.army.usace.hec.metadata.Parameter
PARAMID_COEFF, PARAMID_CURRENCY, PARAMID_PROBABILITY
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Instantiates a new parameter.Deprecated.Instantiates a new parameter.Deprecated.Instantiates a new parameter.Deprecated.Instantiates a new parameter.Parameter
(mil.army.usace.hec.metadata.Parameter parameter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Use the object equals instead cause it is more accurate.static String[]
Deprecated.static Parameter
getParameter
(int paramID) Deprecated.Gets the Parameter for the given ParamID.static Parameter
getParameterForUnitsString
(String units) Deprecated.Gets the parameter for units string.static String
getParamString
(int parameterId) Deprecated.getUnits()
Deprecated.Gets the units.static String
getUnitsStringForSystem
(int paramId, int unitSystem) Deprecated.returns the english or si units string for the given parameter id.static String
getUnitsStringForSystem
(String param, int unitSystem) Deprecated.returns the english or si units string for the given parameter.static boolean
isNotValid
(String parameter) Deprecated.Checks if is not valid.static boolean
Deprecated.Checks if is valid.void
setBaseParameter
(String baseParameter) Deprecated.void
setParameter
(String parameter) Deprecated.Sets the parameter.void
setParameter
(String baseParameter, String subParameter) Deprecated.Sets the parameter.Methods inherited from class mil.army.usace.hec.metadata.Parameter
baseParameterMatches, equals, generateParameterId, getBaseParameter, getDefaultUnits, getParameter, getParameterId, getSubParameter, getUnitsString, getUnitsStringForSystem, hashCode, hasSubParameter, setSubParameter, toString
-
Field Details
-
UNDEF_PARAMETER_ID
public static final int UNDEF_PARAMETER_IDDeprecated.The Constant UNDEF_PARAMETER_ID.- See Also:
-
PARAMID_PERCENT
public static final int PARAMID_PERCENTDeprecated.The Constant PARAMID_PERCENT. -
PARAMID_AREA
public static final int PARAMID_AREADeprecated.The Constant PARAMID_AREA. -
PARAMID_CONC
public static final int PARAMID_CONCDeprecated.The Constant PARAMID_CONC. -
PARAMID_COUNT
public static final int PARAMID_COUNTDeprecated.The Constant PARAMID_COUNT. -
PARAMID_CURENCY
public static final int PARAMID_CURENCYDeprecated.The Constant PARAMID_CURENCY. -
PARAMID_DEPTH
public static final int PARAMID_DEPTHDeprecated.The Constant PARAMID_DEPTH. -
PARAMID_ELEV
public static final int PARAMID_ELEVDeprecated.The Constant PARAMID_ELEV. -
PARAMID_EVAP
public static final int PARAMID_EVAPDeprecated.The Constant PARAMID_EVAP. -
PARAMID_EVAPRATE
public static final int PARAMID_EVAPRATEDeprecated.The Constant PARAMID_EVAPRATE. -
PARAMID_FLOW
public static final int PARAMID_FLOWDeprecated.The Constant PARAMID_FLOW. -
PARAMID_LENGTH
public static final int PARAMID_LENGTHDeprecated.The Constant PARAMID_LENGTH. -
PARAMID_OPENING
public static final int PARAMID_OPENINGDeprecated.The Constant PARAMID_OPENING. -
PARAMID_PERCRATE
public static final int PARAMID_PERCRATEDeprecated.The Constant PARAMID_PERCRATE. -
PARAMID_PERC
public static final int PARAMID_PERCDeprecated.The Constant PARAMID_PERC. -
PARAMID_PRECIP
public static final int PARAMID_PRECIPDeprecated.The Constant PARAMID_PRECIP. -
PARAMID_STAGE
public static final int PARAMID_STAGEDeprecated.The Constant PARAMID_STAGE. -
PARAMID_STOR
public static final int PARAMID_STORDeprecated.The Constant PARAMID_STOR. -
PARAMID_TEMP
public static final int PARAMID_TEMPDeprecated.The Constant PARAMID_TEMP. -
PARAMID_WIDTH
public static final int PARAMID_WIDTHDeprecated.The Constant PARAMID_WIDTH. -
PARAMID_LOSSDEFICIT
public static final int PARAMID_LOSSDEFICITDeprecated.The Constant PARAMID_LOSSDEFICIT. -
PARAMID_LOSSRATE
public static final int PARAMID_LOSSRATEDeprecated.The Constant PARAMID_LOSSRATE. -
PARAMID_AREABASIN
public static final int PARAMID_AREABASINDeprecated.The Constant PARAMID_AREABASIN. -
PARAMID_AREAIMPACTED
public static final int PARAMID_AREAIMPACTEDDeprecated.The Constant PARAMID_AREAIMPACTED. -
PARAMID_AREARESERVOIR
public static final int PARAMID_AREARESERVOIRDeprecated.The Constant PARAMID_AREARESERVOIR. -
PARAMID_AREASURFACE
public static final int PARAMID_AREASURFACEDeprecated.The Constant PARAMID_AREASURFACE. -
PARAMID_POWER
public static final int PARAMID_POWERDeprecated.The Constant PARAMID_POWER. -
PARAMID_ENERGY
public static final int PARAMID_ENERGYDeprecated.The Constant PARAMID_ENERGY. -
PARAMID_TRAVEL
public static final int PARAMID_TRAVELDeprecated.The Constant PARAMID_TRAVEL. -
PARAMID_SPINRATE
public static final int PARAMID_SPINRATEDeprecated.The Constant PARAMID_SPINRATE. -
PARAMID_SPEED
public static final int PARAMID_SPEEDDeprecated. -
PARAMID_SALINITY
public static final int PARAMID_SALINITYDeprecated.The Constant PARAMID_SALINITY. -
PARAMID_FLOWPERAREA
public static final int PARAMID_FLOWPERAREADeprecated.The Constant PARAMID_FLOWPERAREA. -
PARAMID_STORKAF
public static final int PARAMID_STORKAFDeprecated.The Constant PARAMID_STORKAF. -
PARAMID_FLOWKAF
public static final int PARAMID_FLOWKAFDeprecated.The Constant PARAMID_FLOWKAF. -
PARAMID_COSTKAF
public static final int PARAMID_COSTKAFDeprecated.The Constant PARAMID_COSTKAF. -
PARAMID_AREAKA
public static final int PARAMID_AREAKADeprecated.The Constant PARAMID_AREAKA. -
PARAMID_MELTRATE
public static final int PARAMID_MELTRATEDeprecated.The Constant PARAMID_MELTRATE. -
PARAMID_PENALTY
public static final int PARAMID_PENALTYDeprecated.The Constant PARAMID_PENALTY. -
PARAMID_THICKNESS
public static final int PARAMID_THICKNESSDeprecated.The Constant PARAMID_THICKNESS. -
PARAMID_SEDIMENT_DISCHARGE
public static final int PARAMID_SEDIMENT_DISCHARGEDeprecated.The Constant PARAMID_SEDIMENT_DISCHARGE. -
PARAMID_SED_SIZE
public static final int PARAMID_SED_SIZEDeprecated.The Constant PARAMID_SED_SIZE. -
PARAMID_BOTTOM_LENGTH
public static final int PARAMID_BOTTOM_LENGTHDeprecated.The Constant PARAMID_BOTTOM_LENGTH. -
PARAMID_DEPOSITION
public static final int PARAMID_DEPOSITIONDeprecated.The Constant PARAMID_DEPOSITION. -
PARAMID_VOLUME
public static final int PARAMID_VOLUMEDeprecated.The Constant PARAMID_VOLUME. -
PARAMID_SED_LOAD
public static final int PARAMID_SED_LOADDeprecated.The Constant PARAMID_SED_LOAD. -
PARAMID_DISTANCE
public static final int PARAMID_DISTANCEDeprecated.The Constant PARAMID_DISTANCE. -
PARAMID_RATE_OF_RISE
public static final int PARAMID_RATE_OF_RISEDeprecated.The Constant PARAMID_RATE_OF_RISE. -
PARAMID_GROWTH_RATE
public static final int PARAMID_GROWTH_RATEDeprecated.The Constant PARAMID_GROWTH_RATE. -
PARAMID_DENSITY
public static final int PARAMID_DENSITYDeprecated.The Constant PARAMID_DENSITY. -
PARAMID_EXTINCTION
public static final int PARAMID_EXTINCTIONDeprecated.The Constant PARAMID_EXTINCTION. -
PARAMID_SHADE_FRAC
public static final int PARAMID_SHADE_FRACDeprecated.The Constant PARAMID_SHADE_FRAC. -
PARAMID_SUSP_SOLIDS
public static final int PARAMID_SUSP_SOLIDSDeprecated.The Constant PARAMID_SUSP_SOLIDS. -
PARAMID_PRESSURE
public static final int PARAMID_PRESSUREDeprecated.The Constant PARAMID_PRESSURE. -
PARAMID_TIMING
public static final int PARAMID_TIMINGDeprecated.The Constant PARAMID_TIMING. -
PARAMID_TIMING_OFFSET
public static final int PARAMID_TIMING_OFFSETDeprecated.The Constant PARAMID_TIMING_OFFSET. -
PARAMID_TIMING_PERIOD
public static final int PARAMID_TIMING_PERIODDeprecated.The Constant PARAMID_TIMING_PERIOD. -
PARAMID_ATI
public static final int PARAMID_ATIDeprecated.The Constant PARAMID_ATI. -
PARAMID_COLDRATE
public static final int PARAMID_COLDRATEDeprecated.The Constant PARAMID_COLDRATE.
-
-
Constructor Details
-
Parameter
public Parameter()Deprecated.Instantiates a new parameter. -
Parameter
Deprecated.Instantiates a new parameter.- Parameters:
parameter
- the parameter- Throws:
DataSetIllegalArgumentException
- the data set illegal argument exception
-
Parameter
Deprecated.Instantiates a new parameter.- Parameters:
baseParameter
- the base parametersubParameter
- the sub parameter- Throws:
DataSetIllegalArgumentException
- the data set illegal argument exception
-
Parameter
Deprecated.Instantiates a new parameter.- Parameters:
parameter
- the parameter
-
Parameter
public Parameter(mil.army.usace.hec.metadata.Parameter parameter) Deprecated.
-
-
Method Details
-
getParamString
Deprecated. -
getAvailableParameters
Deprecated. -
setParameter
public void setParameter(String baseParameter, String subParameter) throws DataSetIllegalArgumentException Deprecated.Sets the parameter.- Overrides:
setParameter
in classmil.army.usace.hec.metadata.Parameter
- Parameters:
baseParameter
- the base parametersubParameter
- the sub parameter- Throws:
DataSetIllegalArgumentException
- the data set illegal argument exception
-
setBaseParameter
Deprecated.- Overrides:
setBaseParameter
in classmil.army.usace.hec.metadata.Parameter
- Throws:
DataSetIllegalArgumentException
-
setParameter
Deprecated.Sets the parameter.- Overrides:
setParameter
in classmil.army.usace.hec.metadata.Parameter
- Parameters:
parameter
- the new parameter- Throws:
DataSetIllegalArgumentException
- the data set illegal argument exception
-
getUnits
Deprecated.Gets the units.- Returns:
- the units
-
getParameterForUnitsString
Deprecated.Gets the parameter for units string.- Parameters:
units
- the units- Returns:
- the parameter for units string
-
getParameter
Deprecated.Gets the Parameter for the given ParamID.- Parameters:
paramID
- the param id- Returns:
- the Parameter
- Throws:
DataSetIllegalArgumentException
- the data set illegal argument exception
-
getUnitsStringForSystem
Deprecated.returns the english or si units string for the given parameter id.- Parameters:
paramId
- the param idunitSystem
- the unit system- Returns:
- the units string for system
-
getUnitsStringForSystem
Deprecated.returns the english or si units string for the given parameter.- Parameters:
param
- the parameterunitSystem
- the unit system- Returns:
- the units string for system
-
isValid
Deprecated.Checks if is valid.- Parameters:
parameter
- the parameter- Returns:
- true, if is valid
-
isNotValid
Deprecated.Checks if is not valid.- Parameters:
parameter
- the parameter- Returns:
- true, if is not valid
-
equals
Deprecated.Use the object equals instead cause it is more accurate.This only tests the base parameter and is a type specific equals for only comparing Parameter base parameter values.- Parameters:
parameter
- the parameter- Returns:
- true, if successful
-
Parameter
from hec-nucleus-metadata instead.