|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.etill.framework.payapi.ParameterValidationItem | +--com.ibm.etill.framework.payapi.LongValidationItem
The LongValidationItem object is used to check that a parameter's value is a valid Long parameter and insert that parameter and it's value into a given ParameterTable if the verification passed.
ParameterValidationItem
,
ParameterTable
Constructor Summary | |
---|---|
LongValidationItem(String parameterName,
short returnCode,
boolean nullValuesAllowed,
Long minValue,
Long maxValue)
Constructor Initialize this LongValidationItem with the name of the parameter, the API failure return code, whether to allow null values, the minimum allowable Long value and the maximum allowable Long value. |
Methods inherited from class com.ibm.etill.framework.payapi.ParameterValidationItem |
---|
getAliasKey, validateAndInsert, validateAndInsert, validateAndInsert |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LongValidationItem(String parameterName, short returnCode, boolean nullValuesAllowed, Long minValue, Long maxValue)
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
- Long object that represents the minimum allowable valuemaxValue
- Long object that represents the maximum allowable value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |