org.apache.taglibs.rdc.core
Class GroupModel

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

public class GroupModel
extends BaseModel
implements java.io.Serializable

This is the book-keeping class for the RDC container group.

Author:
Abhishek Verma, 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
protected  java.util.List activeChildren
           
protected  GroupConfirm groupConfirm
           
protected  java.lang.Object instanceData
           
protected  java.util.Map localMap
           
 
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
GroupModel()
           
 
Method Summary
 java.util.List getActiveChildren()
          Get the currently active children (not in dormant or done state)
 GroupConfirm getGroupConfirm()
          Get the GroupConfirm object
 java.lang.Object getInstanceData()
          Get the instance data
 java.util.Map getLocalMap()
          Get the map of child RDC datamodels
 void setActiveChildren(java.util.List list)
          Set the currently active children
 void setGroupConfirm(GroupConfirm groupConfirm)
          Set the GroupConfirm
 void setInstanceData(java.lang.Object instanceData)
          Set the instance data
 void setLocalMap(java.util.Map localMap)
          Set the map of child RDC datamodels
 
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
 

Field Detail

localMap

protected java.util.Map localMap

groupConfirm

protected GroupConfirm groupConfirm

activeChildren

protected java.util.List activeChildren

instanceData

protected transient java.lang.Object instanceData
Constructor Detail

GroupModel

public GroupModel()
Method Detail

getLocalMap

public java.util.Map getLocalMap()
Get the map of child RDC datamodels

Returns:
the map of child RDC datamodels

setLocalMap

public void setLocalMap(java.util.Map localMap)
Set the map of child RDC datamodels

Parameters:
localMap - The map of child RDC datamodels

getGroupConfirm

public GroupConfirm getGroupConfirm()
Get the GroupConfirm object

Returns:
groupConfirm the group confirmation object

setGroupConfirm

public void setGroupConfirm(GroupConfirm groupConfirm)
Set the GroupConfirm

Parameters:
groupConfirm - The confirmation setting for this group

getActiveChildren

public java.util.List getActiveChildren()
Get the currently active children (not in dormant or done state)

Returns:
activeChildren

setActiveChildren

public void setActiveChildren(java.util.List list)
Set the currently active children

Parameters:
list -

getInstanceData

public java.lang.Object getInstanceData()
Get the instance data

Returns:
Returns the instanceData.

setInstanceData

public void setInstanceData(java.lang.Object instanceData)
Set the instance data

Parameters:
instanceData - The instanceData to set.


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