java.lang.Objectcom.ibm.commerce.pa.beans.DynamicDataBeanImpl
com.ibm.commerce.pa.widget.beans.FormDataBean
Field Summary | |
static java.lang.String | COPYRIGHT |
protected java.util.Vector | formElements |
protected java.lang.Boolean | removeIrrelevant |
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 | |
FormDataBean() A form object constructor. |
Method Summary | |
void | addElement(ColumnDataBean ds) Add a column to the form. |
void | copy(DynamicDataBean ds) Copy the elements from a form object into this object. |
ColumnDataBean | getElement(java.lang.String itemName) This method will return a column given the name associated with it. |
ColumnDataBean | getElementAt(int n) This method returns the ColumnDataBean at element n |
java.util.Vector | getFormElements() This method will return the internal Vector of ColumnDataBeans which make up the collection of form elements |
boolean | getRemoveIrrelevant() If a column is empty it is considered irrelevant. |
int | getSize() This method returns the number of columns in the form. |
void | insertElementAt(ColumnDataBean ds, int index) Insert a column at the index supplied. |
int | removeIrrelevantColumns() Check for empty columns and remove them from the form. |
void | setFormElements(java.util.Vector newValue) This method will set the internal collection of ColumnDataBeans which represent the form elements |
void | setRemoveIrrelevant(java.lang.Boolean newValue) Set the flag indicating whether empty columns should be removed from the form. |
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 |
public static final java.lang.String COPYRIGHT
protected java.util.Vector formElements
protected java.lang.Boolean removeIrrelevant
Constructor Detail |
public FormDataBean()
Method Detail |
public void addElement(ColumnDataBean ds)
public void copy(DynamicDataBean ds)
public ColumnDataBean getElement(java.lang.String itemName)
public ColumnDataBean getElementAt(int n)
public java.util.Vector getFormElements()
public boolean getRemoveIrrelevant()
public int getSize()
public void insertElementAt(ColumnDataBean ds, int index)
public int removeIrrelevantColumns()
public void setFormElements(java.util.Vector newValue)
public void setRemoveIrrelevant(java.lang.Boolean newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.