|
||||||||||
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
Constructor Summary | |
---|---|
StringValidationItem(String parameterName,
short returnCode,
boolean nullValuesAllowed,
int minLength,
int maxLength,
String encoding)
Constructor Initialize this StringValidationItem with the name of the parameter, the API failure return code, whether to allow null values, the minimum allowable length, the maximum allowable length and the character-encoding name. |
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 StringValidationItem(String parameterName, short returnCode, boolean nullValuesAllowed, int minLength, int maxLength, String encoding)
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 stringmaxLength
- maximum allowable length of the stringencoding
- A character-encoding name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |