Package hec.model
Class ConditionalValue
java.lang.Object
hec.model.ConditionalValue
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.int
getType()
getValue()
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.void
setType
(int type) void
toString()
void
updateParentData
(Conditional cond)
-
Field Details
-
CONSTANT_TYPE
public static final int CONSTANT_TYPE- See Also:
-
DATE_TIME_TIME
public static final int DATE_TIME_TIME- See Also:
-
CURRENT_DATE_TYPE
public static final int CURRENT_DATE_TYPE- See Also:
-
TIMESERIES_TYPE
public static final int TIMESERIES_TYPE- See Also:
-
OPEN_PAREN_TYPE
public static final int OPEN_PAREN_TYPE- See Also:
-
CLOSE_PAREN_TYPE
public static final int CLOSE_PAREN_TYPE- See Also:
-
SEASONAL
public static final int SEASONAL- See Also:
-
TIME_OF_DAY
public static final int TIME_OF_DAY- See Also:
-
DAY_OF_WEEK
public static final int DAY_OF_WEEK- See Also:
-
_value
-
-
Constructor Details
-
ConditionalValue
public ConditionalValue() -
ConditionalValue
public ConditionalValue(int type)
-
-
Method Details
-
getType
public int getType() -
updateParentData
-
clone
-
setType
public void setType(int type) -
setValue
-
getValue
-
toString
-
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
-
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
-