kea.appfw.html
Class DataBeanImpl
java.lang.Object
|
+--kea.appfw.html.HtmlBeanImpl
|
+--kea.appfw.html.ViewBeanImpl
|
+--kea.appfw.html.DataBeanImpl
- All Implemented Interfaces:
- DataBean, HtmlBean, ViewBean
- Direct Known Subclasses:
- EditForm, ViewTable
- public abstract class DataBeanImpl
- extends ViewBeanImpl
- implements DataBean
DataBean's base implementation.
- Version:
- $Id: DataBeanImpl.java,v 1.1 2001/02/27 13:45:39 k3ys Exp $
- Author:
- He Jian
Field Summary |
protected kea.appfw.html.Vector |
displayAttributes
The Business Entity's attributes that will be displayed. |
protected java.lang.String |
entityId
Current Business Entity's Id being processed. |
protected java.lang.String |
entityName
Business Entity's name being processed. |
Method Summary |
void |
setDisplayAttributes(java.lang.String attributes)
Sets the list of the Business Entity's attributes that will be
displayed. |
void |
setEntityId(java.lang.String entityId)
Set the current Business Entity's Id being processed. |
void |
setEntityName(java.lang.String entityName)
Set the Business Entity's name being processed. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
entityName
protected java.lang.String entityName
- Business Entity's name being processed.
entityId
protected java.lang.String entityId
- Current Business Entity's Id being processed.
displayAttributes
protected kea.appfw.html.Vector displayAttributes
- The Business Entity's attributes that will be displayed.
DataBeanImpl
public DataBeanImpl()
setEntityName
public void setEntityName(java.lang.String entityName)
- Set the Business Entity's name being processed.
- Specified by:
setEntityName
in interface DataBean
setEntityId
public void setEntityId(java.lang.String entityId)
- Set the current Business Entity's Id being processed.
- Specified by:
setEntityId
in interface DataBean
setDisplayAttributes
public void setDisplayAttributes(java.lang.String attributes)
- Sets the list of the Business Entity's attributes that will be
displayed. This is useful for limiting the set of abbributes that are to
be displayed by the Bean. If this function is not called. all attributes
are displayed.
Specify the attributes as a comma-delimited list. For example, to
display the attributes NO, and Name enter setDisplayAttributes("NO,
Name").
- Specified by:
setDisplayAttributes
in interface DataBean
- Parameters:
sAttrs
- names of the attributes to be displayed.
Copyright #169; 2000 Kea team. All Rights Reserved.