|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectValidators.CreditCardValidator
| Field Summary | |
private java.lang.String |
message
|
| Constructor Summary | |
CreditCardValidator()
|
|
| Method Summary | |
java.lang.String |
getMessage()
This method is being used for getting the error message if the validation is unsuccessful. |
void |
setMessage(java.lang.String message)
This method is being used for setting the error message. |
boolean |
validate(CreditCard_Data creditCardData)
This method is being used for validating the given credit card details. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String message
| Constructor Detail |
public CreditCardValidator()
| Method Detail |
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - The message to be displayed.
public boolean validate(CreditCard_Data creditCardData)
creditCardData - The credit card details to be validated.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||