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.
|
protected int | errorCode
This is the error code for the data bean.
|
protected java.lang.String | errorMessage
This is the error message for the data bean.
|
protected java.lang.String | interfaceName
This is the interface name of the command to invoke to return a populated instance of the data bean.
|
protected java.lang.String | pageName
This is the page name of the current request for this data bean.
|
protected java.lang.String | storeReferenceNumber
This is the store reference number.
|
protected java.lang.String | userReferenceNumber
This is the user reference number.
|
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.
|
protected void | setInterfaceName(java.lang.String newInterfaceName)
This method sets the interface name of the command to invoke to return a populated instance 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
protected java.lang.String errorMessage
protected int errorCode
protected java.lang.String interfaceName
protected java.lang.String storeReferenceNumber
protected java.lang.String userReferenceNumber
protected java.lang.String pageName
public DataBeanHelper()
public DataBeanHelper(java.lang.String interfaceName)
public int getErrorCode()
public java.lang.String getErrorMessage()
public java.lang.String getInterfaceName()
public java.lang.String getPageName()
public void setErrorCode(int newCode)
public void setErrorMessage(java.lang.String newMessage)
protected void setInterfaceName(java.lang.String newInterfaceName)
public void setPageName(java.lang.String newPage)