com.ibm.commerce.user.objects
Class DemographicsAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.user.objects.DemographicsAccessBean
All Implemented Interfaces:
DemographicsAccessBeanData, java.io.Serializable

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

This bean provides access to the USERDEMO table.

The following is a description of this table:

This table stores demographics information for users.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
DemographicsAccessBean()
          Default constructor.
DemographicsAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
DemographicsAccessBean(java.util.Hashtable aProperties)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
DemographicsAccessBean(java.lang.Long aUserId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.lang.String getAge()
          User age.
 java.lang.Integer getAgeInEJBType()
          User age.
 java.lang.String getCompanyName()
          This method provides access to the USERDEMO.COMPANYNAME column of DB2 type VARCHAR(128) NULL.
 java.lang.String getField1()
          This method provides access to the USERDEMO.FIELD1 column of DB2 type CHAR(1) NULL.
 java.lang.String getField2()
          This method provides access to the USERDEMO.FIELD2 column of DB2 type CHAR(1) NULL.
 java.lang.String getField3()
          This method provides access to the USERDEMO.FIELD3 column of DB2 type CHAR(1) NULL.
 java.lang.String getField4()
          This method provides access to the USERDEMO.FIELD4 column of DB2 type CHAR(1) NULL.
 java.lang.String getField5()
          This method provides access to the USERDEMO.FIELD5 column of DB2 type VARCHAR(254) NULL.
 java.lang.String getField6()
          This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER NULL.
 java.lang.Integer getField6InEJBType()
          This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER NULL.
 java.lang.String getField7()
          This method provides access to the USERDEMO.FIELD7 column of DB2 type VARCHAR(64) NULL.
 java.lang.String getGender()
          This method provides access to the USERDEMO.GENDER column of DB2 type CHAR(1) NULL.
 java.lang.String getHobbies()
          This method provides access to the USERDEMO.HOBBIES column of DB2 type VARCHAR(254) NULL.
 java.lang.String getIncome()
          This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER NULL.
 java.lang.String getIncomeCurrency()
          This method provides access to the USERDEMO.INCOMECURRENCY column of DB2 type CHAR(3) NULL.
 java.lang.Integer getIncomeInEJBType()
          This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER NULL.
 java.lang.String getMaritalStatus()
          This method provides access to the USERDEMO.MARITALSTATUS column of DB2 type CHAR(1) NULL.
 java.lang.String getNumberOfChildren()
          This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER NULL.
 java.lang.Integer getNumberOfChildrenInEJBType()
          This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER NULL.
 java.lang.String getNumberOfHouseholds()
          This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER NULL.
 java.lang.Integer getNumberOfHouseholdsInEJBType()
          This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER NULL.
 java.lang.String getOrderBefore()
          This method provides access to the USERDEMO.ORDERBEFORE column of DB2 type CHAR(1) NULL.
 java.lang.String getTimezone()
          This method provides access to the USERDEMO.TIMEZONE column of DB2 type CHAR(5) NULL.
 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.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAge(java.lang.Integer aAge)
          Set the user age.
 void setAge(java.lang.String aAge)
          Set the user age.
 void setCompanyName(java.lang.String aCompanyName)
          This method provides access to the USERDEMO.COMPANYNAME column of DB2 type VARCHAR(128) NULL.
 void setField1(java.lang.String aField1)
          This method provides access to the USERDEMO.FIELD1 column of DB2 type CHAR(1) NULL.
 void setField2(java.lang.String aField2)
          This method provides access to the USERDEMO.FIELD2 column of DB2 type CHAR(1) NULL.
 void setField3(java.lang.String aField3)
          This method provides access to the USERDEMO.FIELD3 column of DB2 type CHAR(1) NULL.
 void setField4(java.lang.String aField4)
          This method provides access to the USERDEMO.FIELD4 column of DB2 type CHAR(1) NULL.
 void setField5(java.lang.String aField5)
          This method provides access to the USERDEMO.FIELD5 column of DB2 type VARCHAR(254) NULL.
 void setField6(java.lang.Integer aField6)
          This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER NULL.
 void setField6(java.lang.String aField6)
          This method provides access to the USERDEMO.FIELD6 column of DB2 type INTEGER NULL.
 void setField7(java.lang.String aField7)
          This method provides access to the USERDEMO.FIELD7 column of DB2 type VARCHAR(64) NULL.
 void setGender(java.lang.String aGender)
          This method provides access to the USERDEMO.GENDER column of DB2 type CHAR(1) NULL.
 void setHobbies(java.lang.String aHobbies)
          This method provides access to the USERDEMO.HOBBIES column of DB2 type VARCHAR(254) NULL.
 void setIncome(java.lang.Integer aIncome)
          This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER NULL.
 void setIncome(java.lang.String aIncome)
          This method provides access to the USERDEMO.INCOME column of DB2 type INTEGER NULL.
 void setIncomeCurrency(java.lang.String aIncomeCurrency)
          This method provides access to the USERDEMO.INCOMECURRENCY column of DB2 type CHAR(3) NULL.
 void setInitKey_UserId(java.lang.String aInitKey_UserId)
          Set the primary key for this object
 void setMaritalStatus(java.lang.String aMaritalStatus)
          This method provides access to the USERDEMO.MARITALSTATUS column of DB2 type CHAR(1) NULL.
 void setNumberOfChildren(java.lang.Integer aNumberOfChildren)
          This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER NULL.
 void setNumberOfChildren(java.lang.String aNumberOfChildren)
          This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER NULL.
 void setNumberOfHouseholds(java.lang.Integer aNumberOfHouseholds)
          This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER NULL.
 void setNumberOfHouseholds(java.lang.String aNumberOfHouseholds)
          This method provides access to the USERDEMO.HOUSEHOLD column of DB2 type INTEGER NULL.
 void setOrderBefore(java.lang.String aOrderBefore)
          This method provides access to the USERDEMO.ORDERBEFORE column of DB2 type CHAR(1) NULL.
 void setTimezone(java.lang.String aTimezone)
          This method provides access to the USERDEMO.TIMEZONE column of DB2 type CHAR(5) NULL.
 void setUserId(java.lang.Long aUserId)
          This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setUserId(java.lang.String aUserId)
          This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemographicsAccessBean

public DemographicsAccessBean()

Default constructor. Maps to findByPrimaryKey.


DemographicsAccessBean

public DemographicsAccessBean(javax.ejb.EJBObject Object)
                       throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

DemographicsAccessBean

public DemographicsAccessBean(java.util.Hashtable aProperties)
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.naming.NamingException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aProperties - java.util.Hashtable
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception

DemographicsAccessBean

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

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aUserId - java.lang.Long
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.naming.NamingException - The javax.naming.NamingException exception
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAge

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

User age.

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

getAgeInEJBType

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

User age.

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

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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 NULL.

The following is a description of this column:

Customizable.

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

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 NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

Customizable.

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

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) NULL.

The following is a description of this column:

The gender of the user. Valid values are F (female), M (male), or N (not provided). If not provided, N is used as the default.

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

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 NULL.

The following is a description of this column:

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

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

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 NULL.

The following is a description of this column:

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

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

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 NULL.

The following is a description of this column:

Number of people in the household.

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

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 NULL.

The following is a description of this column:

Number of people in the household.

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

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAge

public void setAge(java.lang.Integer aAge)

Set the user age.

Parameters:
aAge - java.lang.Integer
Returns:
void

setAge

public void setAge(java.lang.String aAge)

Set the user age.

Specified by:
setAge in interface DemographicsAccessBeanData
Parameters:
aAge - java.lang.String
Returns:
void

setCompanyName

public void setCompanyName(java.lang.String aCompanyName)

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

The following is a description of this column:

The company for which the user works.

Specified by:
setCompanyName in interface DemographicsAccessBeanData
Parameters:
aCompanyName - java.lang.String
Returns:
void

setField1

public void setField1(java.lang.String aField1)

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

The following is a description of this column:

Customizable.

Specified by:
setField1 in interface DemographicsAccessBeanData
Parameters:
aField1 - java.lang.String
Returns:
void

setField2

public void setField2(java.lang.String aField2)

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

The following is a description of this column:

Customizable.

Specified by:
setField2 in interface DemographicsAccessBeanData
Parameters:
aField2 - java.lang.String
Returns:
void

setField3

public void setField3(java.lang.String aField3)

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

The following is a description of this column:

Customizable.

Specified by:
setField3 in interface DemographicsAccessBeanData
Parameters:
aField3 - java.lang.String
Returns:
void

setField4

public void setField4(java.lang.String aField4)

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

The following is a description of this column:

Customizable.

Specified by:
setField4 in interface DemographicsAccessBeanData
Parameters:
aField4 - java.lang.String
Returns:
void

setField5

public void setField5(java.lang.String aField5)

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

The following is a description of this column:

Customizable.

Specified by:
setField5 in interface DemographicsAccessBeanData
Parameters:
aField5 - java.lang.String
Returns:
void

setField6

public void setField6(java.lang.Integer aField6)

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

The following is a description of this column:

Customizable.

Parameters:
aField6 - java.lang.Integer
Returns:
void

setField6

public void setField6(java.lang.String aField6)

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

The following is a description of this column:

Customizable.

Specified by:
setField6 in interface DemographicsAccessBeanData
Parameters:
aField6 - java.lang.String
Returns:
void

setField7

public void setField7(java.lang.String aField7)

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

The following is a description of this column:

Customizable.

Specified by:
setField7 in interface DemographicsAccessBeanData
Parameters:
aField7 - java.lang.String
Returns:
void

setGender

public void setGender(java.lang.String aGender)

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

The following is a description of this column:

The gender of the user. Valid values are F (female), M (male), or N (not provided). If not provided, N is used as the default.

Specified by:
setGender in interface DemographicsAccessBeanData
Parameters:
aGender - java.lang.String
Returns:
void

setHobbies

public void setHobbies(java.lang.String aHobbies)

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

The following is a description of this column:

The main interests and hobbies of the user.

Specified by:
setHobbies in interface DemographicsAccessBeanData
Parameters:
aHobbies - java.lang.String
Returns:
void

setIncome

public void setIncome(java.lang.Integer aIncome)

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

The following is a description of this column:

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

Parameters:
aIncome - java.lang.Integer
Returns:
void

setIncome

public void setIncome(java.lang.String aIncome)

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

The following is a description of this column:

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

Specified by:
setIncome in interface DemographicsAccessBeanData
Parameters:
aIncome - java.lang.String
Returns:
void

setIncomeCurrency

public void setIncomeCurrency(java.lang.String aIncomeCurrency)

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

The following is a description of this column:

Currency for the income of the user.

Specified by:
setIncomeCurrency in interface DemographicsAccessBeanData
Parameters:
aIncomeCurrency - java.lang.String
Returns:
void

setInitKey_UserId

public void setInitKey_UserId(java.lang.String aInitKey_UserId)

Set the primary key for this object

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

setMaritalStatus

public void setMaritalStatus(java.lang.String aMaritalStatus)

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

The following is a description of this column:

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

Specified by:
setMaritalStatus in interface DemographicsAccessBeanData
Parameters:
aMaritalStatus - java.lang.String
Returns:
void

setNumberOfChildren

public void setNumberOfChildren(java.lang.Integer aNumberOfChildren)

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

The following is a description of this column:

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

Parameters:
aNumberOfChildren - java.lang.Integer
Returns:
void

setNumberOfChildren

public void setNumberOfChildren(java.lang.String aNumberOfChildren)

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

The following is a description of this column:

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

Specified by:
setNumberOfChildren in interface DemographicsAccessBeanData
Parameters:
aNumberOfChildren - java.lang.String
Returns:
void

setNumberOfHouseholds

public void setNumberOfHouseholds(java.lang.Integer aNumberOfHouseholds)

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

The following is a description of this column:

Number of people in the household.

Parameters:
aNumberOfHouseholds - java.lang.Integer
Returns:
void

setNumberOfHouseholds

public void setNumberOfHouseholds(java.lang.String aNumberOfHouseholds)

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

The following is a description of this column:

Number of people in the household.

Specified by:
setNumberOfHouseholds in interface DemographicsAccessBeanData
Parameters:
aNumberOfHouseholds - java.lang.String
Returns:
void

setOrderBefore

public void setOrderBefore(java.lang.String aOrderBefore)

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

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:
setOrderBefore in interface DemographicsAccessBeanData
Parameters:
aOrderBefore - java.lang.String
Returns:
void

setTimezone

public void setTimezone(java.lang.String aTimezone)

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

The following is a description of this column:

The time zone in which the user resides.

Specified by:
setTimezone in interface DemographicsAccessBeanData
Parameters:
aTimezone - java.lang.String
Returns:
void

setUserId

public void setUserId(java.lang.Long aUserId)

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.

Parameters:
aUserId - java.lang.Long
Returns:
void

setUserId

public void setUserId(java.lang.String aUserId)

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:
setUserId in interface DemographicsAccessBeanData
Parameters:
aUserId - java.lang.String
Returns:
void