com.ibm.etill.framework.payapi
Class IntegerValidationItem
java.lang.Object
|
+--com.ibm.etill.framework.payapi.ParameterValidationItem
|
+--com.ibm.etill.framework.payapi.IntegerValidationItem
- All Implemented Interfaces:
- FrameworkReturnCodes, com.ibm.etill.framework.payapi.validation.IParameterValidator, PaymentAPIConstants
- public class IntegerValidationItem
- extends ParameterValidationItem
- implements PaymentAPIConstants
The IntegerValidationItem object is used to check that a parameter's value
is a valid Integer parameter and insert that parameter and it's value into a
given ParameterTable if the verification passed.
- See Also:
ParameterValidationItem
,
ParameterTable
Constructor Summary |
IntegerValidationItem(String parameterName,
short returnCode,
boolean nullValuesAllowed,
Integer minValue,
Integer maxValue)
Constructor
Initialize this IntegerValidationItem with the name of the parameter, the API
failure return code, whether to allow null values, the minimum allowable
Integer and the maximum allowable Integer. |
IntegerValidationItem
public IntegerValidationItem(String parameterName,
short returnCode,
boolean nullValuesAllowed,
Integer minValue,
Integer maxValue)
- Constructor
Initialize this IntegerValidationItem with the name of the parameter, the API
failure return code, whether to allow null values, the minimum allowable
Integer and the maximum allowable Integer.
- Parameters:
parameterName
- name given to identify this parameterreturnCode
- The return code to return in the API response
if parameter fails validation.nullValuesAllowed
- true to allow null values; false otherwiseminValue
- Integer object that represents the minimum allowable valuemaxValue
- Integer object that represents the maximum allowable value