|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.taglibs.rdc.core.BaseModel
org.apache.taglibs.rdc.CreditCardExpiry
public class CreditCardExpiry
Datamodel for the credit card expiry date RDC.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.taglibs.rdc.core.BaseModel |
|---|
BaseModel.ValueInterpreter |
| Field Summary | |
|---|---|
static int |
ERR_EXPIRED
A constant for Error Code stating card has already expired (as of today) |
| Fields inherited from class org.apache.taglibs.rdc.core.BaseModel |
|---|
ambiguousValues, candidates, canonicalizedValue, className, configuration, confirm, confirmed, DEFAULT_INITIAL_GRAMMAR_NAME, DEFAULT_MIN_CONFIDENCE, DEFAULT_NUM_N_BEST, echo, ERR_NO_DEFAULT, ERR_NONE, errorCode, exitStatus, grammars, id, initial, initialGrammar, interpretation, isAmbiguous, isValid, locale, maxNoInput, maxNoMatch, minConfidence, numNBest, paramsMap, PROPERTY_INITIAL_GRAMMAR, rdcLocale, rdcResourceBundle, skipSubmit, state, subdialog, submit, utterance, value |
| Constructor Summary | |
|---|---|
CreditCardExpiry()
Sets default values for all data members |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
canonicalize(java.lang.Object input,
boolean isAttribute)
Canonicalize |
int |
getMaxDenials()
Get the maximum denials allowed before graceful exit |
void |
setConfirmed(java.lang.Boolean confirmed)
Record user response to confirmation |
void |
setMaxDenials(int maxDenials)
Set the maximum denials allowed before graceful exit |
protected java.lang.Boolean |
validate(java.lang.Object newValue,
boolean setErrorCode)
Validates the received input against the validation constraints |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ERR_EXPIRED
| Constructor Detail |
|---|
public CreditCardExpiry()
| Method Detail |
|---|
public void setConfirmed(java.lang.Boolean confirmed)
setConfirmed in class BaseModelconfirmed - The user confirmationpublic int getMaxDenials()
public void setMaxDenials(int maxDenials)
maxDenials - The maxDenials to set.
protected java.lang.Object canonicalize(java.lang.Object input,
boolean isAttribute)
canonicalize in class BaseModelinput - the value
protected java.lang.Boolean validate(java.lang.Object newValue,
boolean setErrorCode)
validate in class BaseModel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||