org.telscenter.pas.steps.domain
Class ChoiceInteraction<T>

java.lang.Object
  extended by java.beans.beancontext.BeanContextChildSupport
      extended by org.telscenter.pas.steps.domain.BlockInteraction
          extended by org.telscenter.pas.steps.domain.ChoiceInteraction<T>
All Implemented Interfaces:
java.beans.beancontext.BeanContextChild, java.beans.beancontext.BeanContextServiceRevokedListener, java.beans.beancontext.BeanContextServicesListener, java.io.Serializable, java.util.EventListener

public class ChoiceInteraction<T>
extends BlockInteraction

Author:
anthonyperritano
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.telscenter.pas.steps.domain.BlockInteraction
prompt, responseIdentifier
 
Fields inherited from class java.beans.beancontext.BeanContextChildSupport
beanContext, beanContextChildPeer, pcSupport, rejectedSetBCOnce, vcSupport
 
Constructor Summary
ChoiceInteraction()
           
 
Method Summary
 void addSimpleChoice(SimpleChoice<T> sc)
           
 int getMaxChoices()
           
 java.util.List<SimpleChoice<T>> getSimpleChoices()
           
 boolean isShuffle()
           
 void setMaxChoices(int maxChoices)
           
 void setShuffle(boolean shuffle)
           
 void setSimpleChoices(java.util.List<SimpleChoice<T>> simpleChoices)
           
 java.lang.String toString()
           
 
Methods inherited from class org.telscenter.pas.steps.domain.BlockInteraction
getPrompt, getResponseIdentifier, setPrompt, setResponseIdentifier
 
Methods inherited from class java.beans.beancontext.BeanContextChildSupport
addPropertyChangeListener, addVetoableChangeListener, firePropertyChange, fireVetoableChange, getBeanContext, getBeanContextChildPeer, initializeBeanContextResources, isDelegated, releaseBeanContextResources, removePropertyChangeListener, removeVetoableChangeListener, serviceAvailable, serviceRevoked, setBeanContext, validatePendingSetBeanContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChoiceInteraction

public ChoiceInteraction()
Method Detail

addSimpleChoice

public void addSimpleChoice(SimpleChoice<T> sc)

getMaxChoices

public int getMaxChoices()

getSimpleChoices

public java.util.List<SimpleChoice<T>> getSimpleChoices()

isShuffle

public boolean isShuffle()

setMaxChoices

public void setMaxChoices(int maxChoices)

setShuffle

public void setShuffle(boolean shuffle)

setSimpleChoices

public void setSimpleChoices(java.util.List<SimpleChoice<T>> simpleChoices)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008 TELS Center. All Rights Reserved.