public class DataBeanHelper
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
DataBeanHelper()
This is the default constructor for this class.
|
DataBeanHelper(java.lang.String interfaceName)
This constructor initializes the default interface name and class name of the data bean command.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
This method gets the error of for the data bean.
|
java.lang.String |
getErrorMessage()
This method gets the error message for the data bean.
|
java.lang.String |
getInterfaceName()
This method gets the interface name of the command to invoke to
return a populated instance of the data bean.
|
java.lang.String |
getPageName()
This method gets the page name of the current request of this data bean.
|
void |
setErrorCode(int newCode)
This method sets the error code of the data bean.
|
void |
setErrorMessage(java.lang.String newMessage)
This method sets the error message of the data bean.
|
void |
setPageName(java.lang.String newPage)
This method sets the page name for the current request of this data bean.
|
public static final java.lang.String COPYRIGHT
public DataBeanHelper()
public DataBeanHelper(java.lang.String interfaceName)
interfaceName
- This is the interface name of data bean command.public int getErrorCode()
public java.lang.String getErrorMessage()
public java.lang.String getInterfaceName()
public java.lang.String getPageName()
public void setErrorCode(int newCode)
newCode
- This is the error code.public void setErrorMessage(java.lang.String newMessage)
newMessage
- This is the error message.public void setPageName(java.lang.String newPage)
newPage
- This is the page name.