Package generalDatabase.dataExport
Class IntValueParams
java.lang.Object
generalDatabase.dataExport.ValueFilterParams
generalDatabase.dataExport.IntValueParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
Class for filtering integer values in a database table
- Author:
- Doug Gillespie
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the max value as a 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
getMaxQueryValue, getMinQueryValue, isUseMax, isUseMin, setUseMax, setUseMin
-
Constructor Details
-
IntValueParams
public IntValueParams()
-
-
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
-
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.
-