com.ibm.commerce.pa.beans
Class SalesAssistantDataBean
java.lang.Object
com.ibm.commerce.pa.beans.DynamicDataBeanImpl
com.ibm.commerce.pa.widget.beans.TreeDataBean
com.ibm.commerce.pa.beans.SalesAssistantDataBean
- All Implemented Interfaces:
- CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable
- public class SalesAssistantDataBean
- extends TreeDataBean
Contains data representing a tree of questions and answers. Constraints are set depending on the answers retrieved. Must be used in conjunction with a Widget Bean (e.g. DynamicForm or DynamicTable) to render the data in a browser (HTML).
- See Also:
- Serialized Form
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName |
Method Summary |
DsData[] |
getAnswers()
This method will return the Answer from a Question and Answer tree. |
java.lang.String |
getCommandInterfaceName()
Returns the name of the command interface. |
java.lang.String |
getCount()
Insert the method's description here. |
java.lang.String |
getDefaultLink()
Returns the default url link which is used when there is no place else for an Answer to go. |
java.lang.String |
getQuestion()
Returns the Question from a Question and Answer tree. |
void |
setCount(java.lang.String newCount)
Insert the method's description here. |
void |
setDefaultLink(java.lang.String newValue)
Set the default url link which is used when there is no place else for an Answer to go. |
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
addConstraint, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getRequestProperties, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, setRequestProperties, setScriptName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
-
- See Also:
- Constant Field Values
defaultLink
protected java.lang.String defaultLink
count
protected java.lang.String count
SalesAssistantDataBean
public SalesAssistantDataBean()
- SalesAssistantDataBean constructor.
getAnswers
public DsData[] getAnswers()
- This method will return the Answer from a Question and Answer tree.
-
- Returns:
- com.ibm.commerce.pa.datatype.DsData[] an array of DsData objects
getCommandInterfaceName
public java.lang.String getCommandInterfaceName()
- Returns the name of the command interface.
-
- Specified by:
- getCommandInterfaceName in interface CommandDataBean
- Overrides:
- getCommandInterfaceName in class DynamicDataBeanImpl
-
- Returns:
- java.lang.String
getCount
public java.lang.String getCount()
- Insert the method's description here. Creation date: (2/25/2002 11:39:36 AM)
-
- Returns:
- java.lang.String
getDefaultLink
public java.lang.String getDefaultLink()
- Returns the default url link which is used when there is no place else for an Answer to go.
-
- Returns:
- java.lang.String
getQuestion
public java.lang.String getQuestion()
- Returns the Question from a Question and Answer tree.
-
- Returns:
- java.lang.String
setCount
public void setCount(java.lang.String newCount)
- Insert the method's description here. Creation date: (2/25/2002 11:39:36 AM)
-
- Parameters:
- newCount - java.lang.String
setDefaultLink
public void setDefaultLink(java.lang.String newValue)
- Set the default url link which is used when there is no place else for an Answer to go.
-
- Parameters:
- newValue - java.lang.String
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.