com.ibm.commerce.pa.beans
Class ElementDataBean
java.lang.Object
com.ibm.commerce.pa.beans.DynamicDataBeanImpl
com.ibm.commerce.pa.beans.ElementDataBean
- All Implemented Interfaces:
- CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable
- Direct Known Subclasses:
- GenericLinkDataBean, IncludeURLDataBean, ProductCountDataBean
- public class ElementDataBean
- extends DynamicDataBeanImpl
- 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 |
Constructor Summary |
ElementDataBean()
Construct a databean which can be used for representing an element within a metaphor. |
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
addConstraint, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, 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
dataElement
protected DsData dataElement
ElementDataBean
public ElementDataBean()
- Construct a databean which can be used for representing an element within a metaphor.
copy
public void copy(DynamicDataBean ds)
- Make this object a copy of the bean supplied.
-
- Specified by:
- copy in interface DynamicDataBean
- Specified by:
- copy in class DynamicDataBeanImpl
-
- Parameters:
- ds - The DynamicDataBean to use as the source for the copy.
getCommandInterfaceName
public java.lang.String getCommandInterfaceName()
- The interface name of the command that can be used to populate this bean is retrieved through this method.
-
- Specified by:
- getCommandInterfaceName in interface CommandDataBean
- Overrides:
- getCommandInterfaceName in class DynamicDataBeanImpl
-
- Returns:
- The name of the command that can populate this bean.
getDataElement
public DsData getDataElement()
- Retrieve the data object containing the value for this element.
-
- Returns:
- The data object.
- See Also:
- DsData
getRequestProperties
public TypedProperty getRequestProperties()
- Description copied from class: DynamicDataBeanImpl
- Return the request properties.
-
- Specified by:
- getRequestProperties in interface InputDataBean
- Overrides:
- getRequestProperties in class DynamicDataBeanImpl
-
- Returns:
- The request properties associated with this bean.
setDataElement
public void setDataElement(DsData newValue)
- Set the data to be contained by this element.
-
- Parameters:
- newValue - An object containing the data object.
- See Also:
- DsData
setRequestProperties
public void setRequestProperties(TypedProperty reqProperties)
- Set the request properties for the page containing this bean.
-
- Specified by:
- setRequestProperties in interface InputDataBean
- Overrides:
- setRequestProperties in class DynamicDataBeanImpl
-
- Parameters:
- reqProperties - The request properties.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.