|
||||||||||
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.StringValidationItem | +--com.ibm.etill.framework.payapi.NumericStringValidationItem
Constructor Summary | |
---|---|
NumericStringValidationItem(String parameterName,
short returnCode,
boolean nullValuesAllowed,
int minLength,
int maxLength,
Long minValue,
Long maxValue)
Constructor Initialize this NumericStringValidationItem with the name of the parameter, the API failure return code, whether to allow null values, the minimum allowable length, the maximum allowable length, the minimum allowable value and the maximum allowable 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 NumericStringValidationItem(String parameterName, short returnCode, boolean nullValuesAllowed, int minLength, int maxLength, 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 otherwiseminLength
- minimum allowable length of the numeric stringmaxLength
- maximum allowable length of the numeric stringminValue
- represents the minimum allowable valuemaxValue
- represents the maximum allowable value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |