com.ibm.commerce.user.objects
Class DemographicsAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.DemographicsAccessBean
All Implemented Interfaces:
DemographicsAccessBeanData

public class DemographicsAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements DemographicsAccessBeanData

This table stores demographics information for users. This access bean corresponds to the database table 'USERDEMO'.

See Also:
Serialized Form

Constructor Summary
DemographicsAccessBean()
Zero argument constructor used to initialize the access bean.
DemographicsAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.lang.String getAge()
This method provides access to the USERDEMO.AGE column of DB2 type INTEGER.
java.lang.Integer getAgeInEJBType()
This method provides access to the USERDEMO.AGE column of DB2 type INTEGER.
java.lang.String getCompanyName()
This method provides access to the USERDEMO.COMPANYNAME column of DB2 type VARCHAR(128).
java.lang.String getField1()
This method provides access to the USERDEMO.FIELD1 column of DB2 type CHAR(1).
java.lang.String getField2()
This method provides access to the USERDEMO.FIELD2 column of DB2 type CHAR(1).
java.lang.String getField3()
This method provides access to the USERDEMO.FIELD3 column of DB2 type CHAR(1).
java.lang.String getField4()
This method provides access to the USERDEMO.FIELD4 column of DB2 type CHAR(1).
java.lang.String getField5()
This method provides access to the USERDEMO.FIELD5 column of DB2 type VARCHAR(254).
java.lang.String getField6()
This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER.
java.lang.Integer getField6InEJBType()
This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER.
java.lang.String getField7()
This method provides access to the USERDEMO.FIELD7 column of DB2 type VARCHAR(64).
java.lang.String getGender()
This method provides access to the USERDEMO.GENDER column of DB2 type CHAR(1).
java.lang.String getHobbies()
This method provides access to the USERDEMO.HOBBIES column of DB2 type VARCHAR(254).
java.lang.String getIncome()
This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER.
java.lang.String getIncomeCurrency()
This method provides access to the USERDEMO.INCOMECURRENCY column of DB2 type CHAR(3).
java.lang.Integer getIncomeInEJBType()
This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER.
java.lang.String getMaritalStatus()
This method provides access to the USERDEMO.MARITALSTATUS column of DB2 type CHAR(1).
java.lang.String getNumberOfChildren()
This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER.
java.lang.Integer getNumberOfChildrenInEJBType()
This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER.
java.lang.String getNumberOfHouseholds()
This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER.
java.lang.Integer getNumberOfHouseholdsInEJBType()
This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER.
java.lang.String getOrderBefore()
This method provides access to the USERDEMO.ORDERBEFORE column of DB2 type CHAR(1).
java.lang.String getTimezone()
This method provides access to the USERDEMO.TIMEZONE column of DB2 type CHAR(5).
java.lang.String getUserId()
This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getUserIdInEJBType()
This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAge(java.lang.Integer newValue)
This method accesses a non-CMP field
void setAge(java.lang.String newValue)
This method accesses a non-CMP field
void setCompanyName(java.lang.String newValue)
This method accesses a non-CMP field
void setField1(java.lang.String newValue)
This method accesses a non-CMP field
void setField2(java.lang.String newValue)
This method accesses a non-CMP field
void setField3(java.lang.String newValue)
This method accesses a non-CMP field
void setField4(java.lang.String newValue)
This method accesses a non-CMP field
void setField5(java.lang.String newValue)
This method accesses a non-CMP field
void setField6(java.lang.Integer newValue)
This method accesses a non-CMP field
void setField6(java.lang.String newValue)
This method accesses a non-CMP field
void setField7(java.lang.String newValue)
This method accesses a non-CMP field
void setGender(java.lang.String newValue)
This method accesses a non-CMP field
void setHobbies(java.lang.String newValue)
This method accesses a non-CMP field
void setIncome(java.lang.Integer newValue)
This method accesses a non-CMP field
void setIncome(java.lang.String newValue)
This method accesses a non-CMP field
void setIncomeCurrency(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_UserId(java.lang.String newValue)
Set the primary key for this object
void setMaritalStatus(java.lang.String newValue)
This method accesses a non-CMP field
void setNumberOfChildren(java.lang.Integer newValue)
This method accesses a non-CMP field
void setNumberOfChildren(java.lang.String newValue)
This method accesses a non-CMP field
void setNumberOfHouseholds(java.lang.Integer newValue)
This method accesses a non-CMP field
void setNumberOfHouseholds(java.lang.String newValue)
This method accesses a non-CMP field
void setOrderBefore(java.lang.String newValue)
This method accesses a non-CMP field
void setTimezone(java.lang.String newValue)
This method accesses a non-CMP field
void setUserId(java.lang.Long newValue)
This method accesses a non-CMP field
void setUserId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DemographicsAccessBean

public DemographicsAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.Demographics com.ibm.commerce.user.objimpl.DemographicsHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.DemographicsKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_UserId( java.lang.Long )

DemographicsAccessBean

public DemographicsAccessBean(javax.ejb.EJBObject o)
                       throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException
Method Detail

setInitKey_UserId

public void setInitKey_UserId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getNumberOfChildren

public java.lang.String getNumberOfChildren()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER.

The following is a description of this column:

The number of children that the user has. If not provided, the default is 0.

Specified by:
getNumberOfChildren in interface DemographicsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getNumberOfChildrenInEJBType

public java.lang.Integer getNumberOfChildrenInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER.

The following is a description of this column:

The number of children that the user has. If not provided, the default is 0.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumberOfChildren

public void setNumberOfChildren(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNumberOfChildren in interface DemographicsAccessBeanData

setNumberOfChildren

public void setNumberOfChildren(java.lang.Integer newValue)
This method accesses a non-CMP field

getOrderBefore

public java.lang.String getOrderBefore()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the USERDEMO.ORDERBEFORE column of DB2 type CHAR(1).

The following is a description of this column:

Indicates whether or not the user has previously placed an order. This value is supplied by the user.

Specified by:
getOrderBefore in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrderBefore

public void setOrderBefore(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setOrderBefore in interface DemographicsAccessBeanData

getGender

public java.lang.String getGender()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.GENDER column of DB2 type CHAR(1).

The following is a description of this column:

The gender of the user. Valid values are as follows:&l

Specified by:
getGender in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setGender

public void setGender(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setGender in interface DemographicsAccessBeanData

getCompanyName

public java.lang.String getCompanyName()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the USERDEMO.COMPANYNAME column of DB2 type VARCHAR(128).

The following is a description of this column:

The company for which the user works.

Specified by:
getCompanyName in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCompanyName

public void setCompanyName(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setCompanyName in interface DemographicsAccessBeanData

getUserId

public java.lang.String getUserId()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the USER table for the member (user) who is associated with this demographical information.

Specified by:
getUserId in interface DemographicsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getUserIdInEJBType

public java.lang.Long getUserIdInEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the USER table for the member (user) who is associated with this demographical information.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setUserId

public void setUserId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setUserId in interface DemographicsAccessBeanData

setUserId

public void setUserId(java.lang.Long newValue)
This method accesses a non-CMP field

getMaritalStatus

public java.lang.String getMaritalStatus()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the USERDEMO.MARITALSTATUS column of DB2 type CHAR(1).

The following is a description of this column:

The marital status of the user. Valid values are configurable.

Specified by:
getMaritalStatus in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMaritalStatus

public void setMaritalStatus(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMaritalStatus in interface DemographicsAccessBeanData

getAge

public java.lang.String getAge()
                        throws java.rmi.RemoteException,
                               javax.ejb.CreateException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

This method provides access to the USERDEMO.AGE column of DB2 type INTEGER.

The following is a description of this column:

The age of the user. The default value is 0 (age not provided). Other values are configurable.

Specified by:
getAge in interface DemographicsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getAgeInEJBType

public java.lang.Integer getAgeInEJBType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the USERDEMO.AGE column of DB2 type INTEGER.

The following is a description of this column:

The age of the user. The default value is 0 (age not provided). Other values are configurable.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setAge

public void setAge(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setAge in interface DemographicsAccessBeanData

setAge

public void setAge(java.lang.Integer newValue)
This method accesses a non-CMP field

getField7

public java.lang.String getField7()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD7 column of DB2 type VARCHAR(64).

The following is a description of this column:

Customizable.

Specified by:
getField7 in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField7

public void setField7(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField7 in interface DemographicsAccessBeanData

getField6

public java.lang.String getField6()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

Specified by:
getField6 in interface DemographicsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getField6InEJBType

public java.lang.Integer getField6InEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER.

The following is a description of this column:

Customizable.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField6

public void setField6(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField6 in interface DemographicsAccessBeanData

setField6

public void setField6(java.lang.Integer newValue)
This method accesses a non-CMP field

getField5

public java.lang.String getField5()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD5 column of DB2 type VARCHAR(254).

The following is a description of this column:

Customizable.

Specified by:
getField5 in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField5

public void setField5(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField5 in interface DemographicsAccessBeanData

getTimezone

public java.lang.String getTimezone()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the USERDEMO.TIMEZONE column of DB2 type CHAR(5).

The following is a description of this column:

The time zone in which the user resides.

Specified by:
getTimezone in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTimezone

public void setTimezone(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setTimezone in interface DemographicsAccessBeanData

getField4

public java.lang.String getField4()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD4 column of DB2 type CHAR(1).

The following is a description of this column:

Customizable.

Specified by:
getField4 in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField4

public void setField4(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField4 in interface DemographicsAccessBeanData

getField3

public java.lang.String getField3()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD3 column of DB2 type CHAR(1).

The following is a description of this column:

Customizable.

Specified by:
getField3 in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField3

public void setField3(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField3 in interface DemographicsAccessBeanData

getField2

public java.lang.String getField2()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD2 column of DB2 type CHAR(1).

The following is a description of this column:

Customizable.

Specified by:
getField2 in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField2

public void setField2(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField2 in interface DemographicsAccessBeanData

getField1

public java.lang.String getField1()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.FIELD1 column of DB2 type CHAR(1).

The following is a description of this column:

Customizable.

Specified by:
getField1 in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setField1

public void setField1(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setField1 in interface DemographicsAccessBeanData

getNumberOfHouseholds

public java.lang.String getNumberOfHouseholds()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER.

The following is a description of this column:

Number of people in the household.

Specified by:
getNumberOfHouseholds in interface DemographicsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getNumberOfHouseholdsInEJBType

public java.lang.Integer getNumberOfHouseholdsInEJBType()
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.CreateException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER.

The following is a description of this column:

Number of people in the household.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setNumberOfHouseholds

public void setNumberOfHouseholds(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setNumberOfHouseholds in interface DemographicsAccessBeanData

setNumberOfHouseholds

public void setNumberOfHouseholds(java.lang.Integer newValue)
This method accesses a non-CMP field

getIncomeCurrency

public java.lang.String getIncomeCurrency()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the USERDEMO.INCOMECURRENCY column of DB2 type CHAR(3).

The following is a description of this column:

Currency for the income of the user.

Specified by:
getIncomeCurrency in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setIncomeCurrency

public void setIncomeCurrency(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setIncomeCurrency in interface DemographicsAccessBeanData

getHobbies

public java.lang.String getHobbies()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the USERDEMO.HOBBIES column of DB2 type VARCHAR(254).

The following is a description of this column:

The main interests and hobbies of the user.

Specified by:
getHobbies in interface DemographicsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setHobbies

public void setHobbies(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setHobbies in interface DemographicsAccessBeanData

getIncome

public java.lang.String getIncome()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER.

The following is a description of this column:

The annual income for the user. Valid values are configurable.

Specified by:
getIncome in interface DemographicsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getIncomeInEJBType

public java.lang.Integer getIncomeInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER.

The following is a description of this column:

The annual income for the user. Valid values are configurable.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setIncome

public void setIncome(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setIncome in interface DemographicsAccessBeanData

setIncome

public void setIncome(java.lang.Integer newValue)
This method accesses a non-CMP field

Feedback