org.apache.taglibs.rdc.sampleapps.musicstore
Class ReviewAlbumTemplate

java.lang.Object
  extended by org.apache.taglibs.rdc.core.BaseModel
      extended by org.apache.taglibs.rdc.core.RDCTemplate
          extended by org.apache.taglibs.rdc.sampleapps.musicstore.ReviewAlbumTemplate
All Implemented Interfaces:
java.io.Serializable

public class ReviewAlbumTemplate
extends RDCTemplate

The RDC template instance used for operations over an individual music album [ describing album details, initiate addition of album to shopping cart ]

Author:
Rahul Akolkar
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.taglibs.rdc.core.BaseModel
BaseModel.ValueInterpreter
 
Field Summary
static int ERR_NEED_DETAILS
          A constant for Error Code stating album details should be played out
 
Fields inherited from class org.apache.taglibs.rdc.core.RDCTemplate
bean, constraints, data, dynamicAttributes, fsmFragment, populateGrammars
 
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
ReviewAlbumTemplate()
          Sets default values for all data members
 
Method Summary
 int getERR_NEED_DETAILS()
           
protected  java.lang.Boolean validate(java.lang.Object newValue, boolean setErrorCode)
          Custom validation
 
Methods inherited from class org.apache.taglibs.rdc.core.RDCTemplate
getBean, getConstraints, getData, getFsmFragment, initComponentGrammars, setBean, setConstraints, setData, setDynamicAttributes, setFsmFragment, setGrammar
 
Methods inherited from class org.apache.taglibs.rdc.core.BaseModel
baseCanonicalize, baseValidate, calculateCanonicalizedValue, canonicalize, getAmbiguousValues, getCandidates, getCanonicalizedValue, getClassName, getConfiguration, getConfirm, getConfirmed, getEcho, getERR_NO_DEFAULT, getERR_NONE, getErrorCode, getExitStatus, getGrammars, getId, getInitial, getInterpretation, getIsAmbiguous, getIsValid, getLocale, getMaxNoInput, getMaxNoMatch, getMinConfidence, getNumNBest, getParamsMap, getRdcLocale, getRdcResourceBundle, getSerializedValue, getSkipSubmit, getState, getSubdialog, getSubmit, getUtterance, getValue, setAmbiguousValues, setCandidates, setCanonicalizedValue, setConfiguration, setConfirm, setConfirmed, setEcho, setErrorCode, setExitStatus, setGrammar, setId, setInitial, setInterpretation, setIsAmbiguous, setIsValid, setLocale, setMaxNoInput, setMaxNoMatch, setMinConfidence, setNumNBest, setSkipSubmit, setState, setSubdialog, setSubmit, setUtterance, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERR_NEED_DETAILS

public static final int ERR_NEED_DETAILS
A constant for Error Code stating album details should be played out

See Also:
Constant Field Values
Constructor Detail

ReviewAlbumTemplate

public ReviewAlbumTemplate()
Sets default values for all data members

Method Detail

getERR_NEED_DETAILS

public final int getERR_NEED_DETAILS()

validate

protected java.lang.Boolean validate(java.lang.Object newValue,
                                     boolean setErrorCode)
Custom validation

Overrides:
validate in class BaseModel
See Also:
BaseModel.validate(Object,boolean)


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.