org.apache.taglibs.rdc
Class SelectOne

java.lang.Object
  extended by org.apache.taglibs.rdc.core.BaseModel
      extended by org.apache.taglibs.rdc.SelectOne
All Implemented Interfaces:
java.io.Serializable

public class SelectOne
extends BaseModel

Datamodel for list RDC. The SelectOne RDC will be associated with the list input. From a list of options the user selects one option .

Author:
Tanveer Faruquie, Rahul Akolkar
See Also:
Serialized Form

Nested Class Summary
static class SelectOne.Options
          Encapsulates a set of options.
 
Nested classes/interfaces inherited from class org.apache.taglibs.rdc.core.BaseModel
BaseModel.ValueInterpreter
 
Field Summary
 
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
SelectOne()
          Sets default values for all data members
 
Method Summary
 java.lang.Object getOptionList()
          Gets the Options object.
 java.lang.Object getOptions()
          Gets the options list.
 java.lang.String getOptionsClass()
          Get the class name of the options for this instance
 void setOptionList(java.lang.Object optionList)
          Sets the Options object.
 void setOptions(java.lang.Object options)
          Sets the options list.
 void setOptionsClass(java.lang.String string)
          Set the class name of the options for this instance
 
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, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectOne

public SelectOne()
Sets default values for all data members

Method Detail

getOptions

public java.lang.Object getOptions()
Gets the options list. This list has all the options from which the user selects a value.

Returns:
options list.

setOptions

public void setOptions(java.lang.Object options)
Sets the options list. This list has all the options from which the user selects a value

Parameters:
options - The options list.

getOptionList

public java.lang.Object getOptionList()
Gets the Options object. This contains all the options from which the user selects a value.

Returns:
Options

setOptionList

public void setOptionList(java.lang.Object optionList)
Sets the Options object. This contains all the options from which the user selects a value.

Parameters:
optionList - The list of options

getOptionsClass

public java.lang.String getOptionsClass()
Get the class name of the options for this instance

Returns:
String class name as a String

setOptionsClass

public void setOptionsClass(java.lang.String string)
Set the class name of the options for this instance

Parameters:
string - The class name as a string


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