com.ibm.commerce.pa.beans
Class CompareListDataBean

java.lang.Object
  com.ibm.commerce.pa.beans.DynamicDataBeanImpl
      com.ibm.commerce.pa.widget.beans.TableDataBean
          com.ibm.commerce.pa.beans.CompareListDataBean
All Implemented Interfaces:
CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable

public class CompareListDataBean
extends TableDataBean

This class represents the data from a compare list that the customer is interested in

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
protected java.lang.String duplicateMessage
protected int limit
protected java.lang.String limitMessage
protected java.lang.String link
protected java.lang.String listName
protected java.lang.String target
Fields inherited from class com.ibm.commerce.pa.widget.beans.TableDataBean
columnNameCache, removeIrrelevant, table
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
Constructor Summary
CompareListDataBean()
CompareListDataBean constructor comment.
Method Summary
java.lang.String getDuplicateMessage()
This method gets the message to be used when a duplicate product is added to the list
int getLimit()
This method gets the limit to the number of products allowed in the list.
java.lang.String getLimitMessage()
This method gets the message to be used when the limit is exceeded of the limit is greater than zero.
java.lang.String getLink()
This method was created in VisualAge.
java.lang.String getListName()
This method was created in VisualAge.
java.lang.String getTarget()
This method was created in VisualAge.
void setDuplicateMessage(java.lang.String msg)
This method sets the message to be used when a duplicate product is added to the list
void setLimit(int max)
This method sets the limit to the number of products allowed in the list
void setLimitMessage(java.lang.String msg)
This method sets the message to be used when the limit is exceeded of the
void setLink(java.lang.String newValue)
This method was created in VisualAge.
void setListName(java.lang.String newValue)
This method was created in VisualAge.
void setTarget(java.lang.String newValue)
This method was created in VisualAge.
Methods inherited from class com.ibm.commerce.pa.widget.beans.TableDataBean
addColumn, addRow, copy, createColumnNameCache, getColumn, getColumnAt, getColumnCount, getColumnIndex, getElementAt, getRemoveIrrelevant, getRowAt, getRowCount, getRowElements, getTable, getTableHeaderPresentation, insertColumn, insertRow, removeIrrelevantColumns, setRemoveIrrelevant, setTable
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl
addConstraint, getCommandInterfaceName, 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
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

duplicateMessage

protected java.lang.String duplicateMessage

limitMessage

protected java.lang.String limitMessage

limit

protected int limit

listName

protected java.lang.String listName

target

protected java.lang.String target

link

protected java.lang.String link
Constructor Detail

CompareListDataBean

public CompareListDataBean()
CompareListDataBean constructor comment.
Method Detail

getDuplicateMessage

public java.lang.String getDuplicateMessage()
This method gets the message to be used when a duplicate product is added to the list
Returns:
java.lang.String the message to use

getLimit

public int getLimit()
This method gets the limit to the number of products allowed in the list. A value of zero (0) indecates that the list is not limited.
Returns:
int the maximum number allowed in the list

getLimitMessage

public java.lang.String getLimitMessage()
This method gets the message to be used when the limit is exceeded of the limit is greater than zero.
Returns:
java.lang.String the message to be displayed.

getLink

public java.lang.String getLink()
Returns:
java.lang.String

getListName

public java.lang.String getListName()
Returns:
java.lang.String

getTarget

public java.lang.String getTarget()
Returns:
java.lang.String

setDuplicateMessage

public void setDuplicateMessage(java.lang.String msg)
This method sets the message to be used when a duplicate product is added to the list
Parameters:
msg - java.lang.String

setLimit

public void setLimit(int max)
This method sets the limit to the number of products allowed in the list
Parameters:
max - int the maximum number of products for the list

setLimitMessage

public void setLimitMessage(java.lang.String msg)
This method sets the message to be used when the limit is exceeded of the
Parameters:
msg - java.lang.String the message to be used.

setLink

public void setLink(java.lang.String newValue)
Parameters:
newValue - java.lang.String

setListName

public void setListName(java.lang.String newValue)
Parameters:
newValue - java.lang.String

setTarget

public void setTarget(java.lang.String newValue)
Parameters:
newValue - java.lang.String

Feedback