|
||||||||||
| 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.MortgageType
public class MortgageType
DataModel for the Mortgage Term RDC
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.taglibs.rdc.core.BaseModel |
|---|
BaseModel.ValueInterpreter |
| Field Summary | |
|---|---|
static int |
ERR_INVALID_MORTGAGE_TERM
|
static int |
ERR_NEED_HIGHER_VALUE
|
static int |
ERR_NEED_LOWER_VALUE
|
| 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 | |
|---|---|
MortgageType()
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
canonicalize(java.lang.Object input,
boolean isAttribute)
This method returns the mortgage term format |
java.lang.String |
getMaxTerm()
Get the max mortgage term that a user has specified in the attirbute |
java.lang.String |
getMinTerm()
Get what min Mortgage term that a user has specified in the attirbute |
void |
setMaxTerm(java.lang.String maxTerm)
Set the MaxTerm value. |
void |
setMinTerm(java.lang.String minTerm)
Set the MinTerm value. |
protected java.lang.Boolean |
validate(java.lang.Object newValue,
boolean setErrorCode)
Validate 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_INVALID_MORTGAGE_TERM
public static final int ERR_NEED_LOWER_VALUE
public static final int ERR_NEED_HIGHER_VALUE
| Constructor Detail |
|---|
public MortgageType()
| Method Detail |
|---|
public java.lang.String getMaxTerm()
public void setMaxTerm(java.lang.String maxTerm)
maxTerm - The max mortgage term value.public java.lang.String getMinTerm()
public void setMinTerm(java.lang.String minTerm)
minTerm - The min Mortgage term value.
protected java.lang.Object canonicalize(java.lang.Object input,
boolean isAttribute)
canonicalize in class BaseModelinput - The mortgage term input string
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 | |||||||||