com.ibm.commerce.user.objects
Class DemographicsBean

com.ibm.commerce.user.objects.DemographicsBean
All Implemented Interfaces:
java.io.Serializable

public class DemographicsBean
implements java.io.Serializable

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

Constructor Summary
DemographicsBean()
           
 
Method Summary
 java.lang.Integer getAge()
          IBM internal use only.
 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.Integer getField6()
          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.Integer 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.String getMaritalStatus()
          This method provides access to the USERDEMO.MARITALSTATUS column of DB2 type CHAR(1) NULL.
 java.lang.Integer getNumberOfChildren()
          This method provides access to the USERDEMO.CHILDREN column of DB2 type INTEGER NULL.
 java.lang.Integer getNumberOfHouseholds()
          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.Long getUserId()
          This method provides access to the USERDEMO.USERS_ID column of DB2 type BIGINT NOT NULL.
 void setAge(java.lang.Integer aAge)
          IBM internal use only.
 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 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 setIncomeCurrency(java.lang.String aIncomeCurrency)
          This method provides access to the USERDEMO.INCOMECURRENCY column of DB2 type CHAR(3) NULL.
 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 setNumberOfHouseholds(java.lang.Integer 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.
 

Constructor Detail

DemographicsBean

public DemographicsBean()
Method Detail

getAge

public java.lang.Integer getAge()

IBM internal use only.

Returns:
java.lang.Integer

getCompanyName

public java.lang.String getCompanyName()

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.

Returns:
java.lang.String

getField1

public java.lang.String getField1()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField2

public java.lang.String getField2()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField3

public java.lang.String getField3()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField4

public java.lang.String getField4()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField5

public java.lang.String getField5()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getField6

public java.lang.Integer getField6()

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

getField7

public java.lang.String getField7()

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

The following is a description of this column:

Customizable.

Returns:
java.lang.String

getGender

public java.lang.String getGender()

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.

Returns:
java.lang.String

getHobbies

public java.lang.String getHobbies()

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.

Returns:
java.lang.String

getIncome

public java.lang.Integer getIncome()

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

getIncomeCurrency

public java.lang.String getIncomeCurrency()

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.

Returns:
java.lang.String

getMaritalStatus

public java.lang.String getMaritalStatus()

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.

Returns:
java.lang.String

getNumberOfChildren

public java.lang.Integer getNumberOfChildren()

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

getNumberOfHouseholds

public java.lang.Integer getNumberOfHouseholds()

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

getOrderBefore

public java.lang.String getOrderBefore()

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.

Returns:
java.lang.String

getTimezone

public java.lang.String getTimezone()

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.

Returns:
java.lang.String

getUserId

public java.lang.Long getUserId()

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

setAge

public void setAge(java.lang.Integer aAge)

IBM internal use only.

Parameters:
aAge - java.lang.Integer
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.

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.

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.

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.

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.

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.

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

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.

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.

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.

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

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.

Parameters:
aIncomeCurrency - 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.

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

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

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.

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.

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