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
Constructors -
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 classintGet the length of a typical text field need to display these data.booleansetMaxValue(String maxValue) Set the maximum valuebooleansetMinValue(String minValue) Set the minimum valueMethods inherited from class generalDatabase.dataExport.ValueFilterParams
clone, getMaxQueryValue, getMinQueryValue, isUseMax, isUseMin, setUseMax, setUseMin
-
Constructor Details
-
IntValueParams
public IntValueParams()
-
-
Method Details
-
getMinValue
Get the min value as a string- Specified by:
getMinValuein classValueFilterParams- Returns:
- min value as a string
-
getMaxValue
Get the max value as a string- Specified by:
getMaxValuein classValueFilterParams- Returns:
- max value as a string
-
setMinValue
Set the minimum value- Specified by:
setMinValuein classValueFilterParams- Parameters:
minValue- min value as a string- Returns:
- true if decoded successfully
-
setMaxValue
Set the maximum value- Specified by:
setMaxValuein 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:
getTextFieldLengthin classValueFilterParams- Returns:
- the length of a typical text field need to display these data.
-
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Overrides:
getParameterSetin classValueFilterParams- Returns:
- description of the parameters in a class.
-