Package generalDatabase.dataExport
Class TimeValueParams
java.lang.Object
generalDatabase.dataExport.ValueFilterParams
generalDatabase.dataExport.TimeValueParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
Class for filtering double of float values in a database table
- Author:
- Doug Gillespie
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMaxQueryValue
(SQLTypes sqlTypes) Get the maximum value in a format suitable for including in an SQL stringGet the max value as a stringgetMinQueryValue
(SQLTypes sqlTypes) Get the minimum value in a format suitable for including in an SQL stringGet the min value as a stringGet a set of data that describes all of the parameters in a classint
Get the length of a typical text field need to display these data.boolean
setMaxValue
(String maxValue) Set the maximum valueboolean
setMinValue
(String minValue) Set the minimum valueMethods inherited from class generalDatabase.dataExport.ValueFilterParams
isUseMax, isUseMin, setUseMax, setUseMin
-
Constructor Details
-
TimeValueParams
public TimeValueParams()
-
-
Method Details
-
getMinValue
Get the min value as a string- Specified by:
getMinValue
in classValueFilterParams
- Returns:
- min value as a string
-
getMaxValue
Get the max value as a string- Specified by:
getMaxValue
in classValueFilterParams
- Returns:
- max value as a string
-
getMinQueryValue
Description copied from class:ValueFilterParams
Get the minimum value in a format suitable for including in an SQL string- Overrides:
getMinQueryValue
in classValueFilterParams
- Returns:
- the minimum value in a format suitable for including in an SQL string
-
getMaxQueryValue
Description copied from class:ValueFilterParams
Get the maximum value in a format suitable for including in an SQL string- Overrides:
getMaxQueryValue
in classValueFilterParams
- Returns:
- the maximum value in a format suitable for including in an SQL string
-
setMinValue
Set the minimum value- Specified by:
setMinValue
in classValueFilterParams
- Parameters:
minValue
- min value as a string- Returns:
- true if decoded successfully
-
setMaxValue
Set the maximum value- Specified by:
setMaxValue
in classValueFilterParams
- Parameters:
maxValue
- max value as a string- Returns:
- true if decoded successfully
-
getTextFieldLength
public int getTextFieldLength()Get the length of a typical text field need to display these data.- Specified by:
getTextFieldLength
in classValueFilterParams
- Returns:
- the length of a typical text field need to display these data.
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Overrides:
getParameterSet
in classValueFilterParams
- Returns:
- description of the parameters in a class.
-