com.ibm.commerce.user.objects
Class AddressBean

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

public class AddressBean
implements java.io.Serializable

This bean provides access to the ADDRESS table.

The following is a description of this table:

This table stores the addresses of members in the WebSphere Commerce system. The addresses can be the members own addresses or for their friends, associates, or clients, and so on. Some columns here replace columns used in previous versions.

See Also:
Serialized Form

Constructor Summary
AddressBean()
           
 
Method Summary
 java.lang.String getAddress1()
          This method provides access to the ADDRESS.ADDRESS1 column of DB2 type VARCHAR(50) NULL.
 java.lang.String getAddress2()
          This method provides access to the ADDRESS.ADDRESS2 column of DB2 type VARCHAR(50) NULL.
 java.lang.String getAddress3()
          This method provides access to the ADDRESS.ADDRESS3 column of DB2 type VARCHAR(50) NULL.
 java.lang.Long getAddressBookId()
          This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAddressId()
          This method provides access to the ADDRESS.ADDRESS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getAddressType()
          This method provides access to the ADDRESS.ADDRESSTYPE column of DB2 type CHAR(5) NULL.
 java.lang.String getBestCallingTime()
          This method provides access to the ADDRESS.BESTCALLINGTIME column of DB2 type CHAR(1) NULL.
 java.lang.String getBillingCode()
          This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.
 java.lang.String getBillingCodeType()
          This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.
 java.lang.String getBusinessTitle()
          This method provides access to the ADDRESS.BUSINESSTITLE column of DB2 type VARCHAR(128) NULL.
 java.lang.String getCity()
          This method provides access to the ADDRESS.CITY column of DB2 type VARCHAR(128) NULL.
 java.lang.String getCountry()
          This method provides access to the ADDRESS.COUNTRY column of DB2 type VARCHAR(128) NULL.
 java.sql.Timestamp getCreatedTimestamp()
          This method provides access to the ADDRESS.LASTCREATE column of DB2 type TIMESTAMP NULL.
 java.lang.String getEmail1()
          This method provides access to the ADDRESS.EMAIL1 column of DB2 type VARCHAR(256) NULL.
 java.lang.String getEmail2()
          This method provides access to the ADDRESS.EMAIL2 column of DB2 type VARCHAR(256) NULL.
 java.lang.String getFax1()
          This method provides access to the ADDRESS.FAX1 column of DB2 type VARCHAR(32) NULL.
 java.lang.String getFax2()
          This method provides access to the ADDRESS.FAX2 column of DB2 type VARCHAR(32) NULL.
 java.lang.String getFirstName()
          IBM internal use only.
 java.lang.String getLastName()
          IBM internal use only.
 java.lang.Long getMemberId()
          This method provides access to the ADDRESS.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getMiddleName()
          This method provides access to the ADDRESS.MIDDLENAME column of DB2 type VARCHAR(128) NULL.
 java.lang.String getNickName()
          IBM internal use only.
 java.lang.String getOfficeAddress()
          This method provides access to the ADDRESS.OFFICEADDRESS column of DB2 type VARCHAR(128) NULL.
 java.lang.String getOrganizationName()
          IBM internal use only.
 java.lang.String getOrganizationUnitName()
          This method provides access to the ADDRESS.ORGUNITNAME column of DB2 type VARCHAR(128) NULL.
 java.lang.Integer getPackageSuppression()
          This method provides access to the ADDRESS.PACKAGESUPPRESSION column of DB2 type INTEGER NULL.
 java.lang.String getPersonTitle()
          This method provides access to the ADDRESS.PERSONTITLE column of DB2 type VARCHAR(50) NULL.
 java.lang.String getPhone1()
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 java.lang.String getPhone1Type()
          This method provides access to the ADDRESS.PHONE1TYPE column of DB2 type CHAR(3) NULL.
 java.lang.String getPhone2()
          This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.
 java.lang.String getPhone2Type()
          This method provides access to the ADDRESS.PHONE2TYPE column of DB2 type CHAR(3) NULL.
 java.lang.Integer getPrimary()
          This method provides access to the ADDRESS.ISPRIMARY column of DB2 type INTEGER NULL.
 java.lang.Integer getPublishPhone1()
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 java.lang.Integer getPublishPhone2()
          This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.
 java.lang.Integer getSelfAddress()
          This method provides access to the ADDRESS.SELFADDRESS column of DB2 type INTEGER NOT NULL.
 java.lang.String getShippingGeoCode()
          This method provides access to the ADDRESS.SHIPPINGGEOCODE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getState()
          This method provides access to the ADDRESS.STATE column of DB2 type VARCHAR(128) NULL.
 java.lang.String getStatus()
          IBM internal use only.
 java.lang.String getTaxGeoCode()
          This method provides access to the ADDRESS.TAXGEOCODE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getZipCode()
          IBM internal use only.
 void setAddress1(java.lang.String aAddress1)
          This method provides access to the ADDRESS.ADDRESS1 column of DB2 type VARCHAR(50) NULL.
 void setAddress2(java.lang.String aAddress2)
          This method provides access to the ADDRESS.ADDRESS2 column of DB2 type VARCHAR(50) NULL.
 void setAddress3(java.lang.String aAddress3)
          This method provides access to the ADDRESS.ADDRESS3 column of DB2 type VARCHAR(50) NULL.
 void setAddressBookId(java.lang.Long aAddressBookId)
          This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
 void setAddressType(java.lang.String aAddressType)
          This method provides access to the ADDRESS.ADDRESSTYPE column of DB2 type CHAR(5) NULL.
 void setBestCallingTime(java.lang.String aBestCallingTime)
          This method provides access to the ADDRESS.BESTCALLINGTIME column of DB2 type CHAR(1) NULL.
 void setBillingCode(java.lang.String aBillingCode)
          This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.
 void setBillingCodeType(java.lang.String aBillingCodeType)
          This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.
 void setBusinessTitle(java.lang.String aBusinessTitle)
          This method provides access to the ADDRESS.BUSINESSTITLE column of DB2 type VARCHAR(128) NULL.
 void setCity(java.lang.String aCity)
          This method provides access to the ADDRESS.CITY column of DB2 type VARCHAR(128) NULL.
 void setCountry(java.lang.String aCountry)
          This method provides access to the ADDRESS.COUNTRY column of DB2 type VARCHAR(128) NULL.
 void setCreatedTimestamp(java.sql.Timestamp aCreatedTimestamp)
          This method provides access to the ADDRESS.LASTCREATE column of DB2 type TIMESTAMP NULL.
 void setEmail1(java.lang.String aEmail1)
          This method provides access to the ADDRESS.EMAIL1 column of DB2 type VARCHAR(256) NULL.
 void setEmail2(java.lang.String aEmail2)
          This method provides access to the ADDRESS.EMAIL2 column of DB2 type VARCHAR(256) NULL.
 void setFax1(java.lang.String aFax1)
          This method provides access to the ADDRESS.FAX1 column of DB2 type VARCHAR(32) NULL.
 void setFax2(java.lang.String aFax2)
          This method provides access to the ADDRESS.FAX2 column of DB2 type VARCHAR(32) NULL.
 void setFirstName(java.lang.String aFirstName)
          IBM internal use only.
 void setLastName(java.lang.String aLastName)
          IBM internal use only.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the ADDRESS.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMiddleName(java.lang.String aMiddleName)
          This method provides access to the ADDRESS.MIDDLENAME column of DB2 type VARCHAR(128) NULL.
 void setNickName(java.lang.String aNickName)
          IBM internal use only.
 void setOfficeAddress(java.lang.String aOfficeAddress)
          This method provides access to the ADDRESS.OFFICEADDRESS column of DB2 type VARCHAR(128) NULL.
 void setOrganizationName(java.lang.String aOrganizationName)
          IBM internal use only.
 void setOrganizationUnitName(java.lang.String aOrganizationUnitName)
          This method provides access to the ADDRESS.ORGUNITNAME column of DB2 type VARCHAR(128) NULL.
 void setPackageSuppression(java.lang.Integer aPackageSuppression)
          This method provides access to the ADDRESS.PACKAGESUPPRESSION column of DB2 type INTEGER NULL.
 void setPersonTitle(java.lang.String aPersonTitle)
          This method provides access to the ADDRESS.PERSONTITLE column of DB2 type VARCHAR(50) NULL.
 void setPhone1(java.lang.String aPhone1)
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 void setPhone1Type(java.lang.String aPhone1Type)
          This method provides access to the ADDRESS.PHONE1TYPE column of DB2 type CHAR(3) NULL.
 void setPhone2(java.lang.String aPhone2)
          This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.
 void setPhone2Type(java.lang.String aPhone2Type)
          This method provides access to the ADDRESS.PHONE2TYPE column of DB2 type CHAR(3) NULL.
 void setPrimary(java.lang.Integer aPrimary)
          This method provides access to the ADDRESS.ISPRIMARY column of DB2 type INTEGER NULL.
 void setPublishPhone1(java.lang.Integer aPublishPhone1)
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 void setPublishPhone2(java.lang.Integer aPublishPhone2)
          This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.
 void setSelfAddress(java.lang.Integer aSelfAddress)
          This method provides access to the ADDRESS.SELFADDRESS column of DB2 type INTEGER NOT NULL.
 void setShippingGeoCode(java.lang.String aShippingGeoCode)
          This method provides access to the ADDRESS.SHIPPINGGEOCODE column of DB2 type VARCHAR(254) NULL.
 void setState(java.lang.String aState)
          This method provides access to the ADDRESS.STATE column of DB2 type VARCHAR(128) NULL.
 void setStatus(java.lang.String aStatus)
          IBM internal use only.
 void setTaxGeoCode(java.lang.String aTaxGeoCode)
          This method provides access to the ADDRESS.TAXGEOCODE column of DB2 type VARCHAR(254) NULL.
 void setZipCode(java.lang.String aZipCode)
          IBM internal use only.
 

Constructor Detail

AddressBean

public AddressBean()
Method Detail

getAddress1

public java.lang.String getAddress1()

This method provides access to the ADDRESS.ADDRESS1 column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Address line 1, replacing SAADDR1 used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getAddress2

public java.lang.String getAddress2()

This method provides access to the ADDRESS.ADDRESS2 column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Address line 2, replacing SAADDR2 used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getAddress3

public java.lang.String getAddress3()

This method provides access to the ADDRESS.ADDRESS3 column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Address line 3, replacing SAADDR3 used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getAddressBookId

public java.lang.Long getAddressBookId()

This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ADDRBOOK table for the address book to which this address belongs, replacing the SASHNBR column in the SHADDR table used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.Long

getAddressId

public java.lang.Long getAddressId()

This method provides access to the ADDRESS.ADDRESS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Unique reference number, internally generated. This is a primary key, replacing the SASHNBR column in the SHADDR table used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.Long

getAddressType

public java.lang.String getAddressType()

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

The following is a description of this column:

Type of address, valid values are configurable by using a properties file: S (shipto), B (billto), and SB (both shipto and billto). A single address may be of different types. If a properties file cannot be found, a default of SB will be used.

Returns:
java.lang.String

getBestCallingTime

public java.lang.String getBestCallingTime()

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

The following is a description of this column:

The best time to call, replacing SABTCALL used in previous versions of WebSphere Commerce Suite. Valid values are D (daytime) and E (evening).

Returns:
java.lang.String

getBillingCode

public java.lang.String getBillingCode()

This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

The code designating the system or method of code structure used for billing.

Returns:
java.lang.String

getBillingCodeType

public java.lang.String getBillingCodeType()

This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

The code designating the system or method of code structure used for billing.

Returns:
java.lang.String

getBusinessTitle

public java.lang.String getBusinessTitle()

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

The following is a description of this column:

The business title. For example, Manager or Chief Executive Officer. LDAP uses a length of 128 characters for title attribute in ePerson. Compare with the BCTITLE column in the BUCONT table.

Returns:
java.lang.String

getCity

public java.lang.String getCity()

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

The following is a description of this column:

The city, replacing SACITY used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getCountry

public java.lang.String getCountry()

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

The following is a description of this column:

The country or region, replacing SACNTRY used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getCreatedTimestamp

public java.sql.Timestamp getCreatedTimestamp()

This method provides access to the ADDRESS.LASTCREATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time the row was created, replacing SASTMP used in previous versions of WebSphere Commerce Suite.

Returns:
java.sql.Timestamp

getEmail1

public java.lang.String getEmail1()

This method provides access to the ADDRESS.EMAIL1 column of DB2 type VARCHAR(256) NULL.

The following is a description of this column:

The primary e-mail address, replacing SAEMAIL1 used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getEmail2

public java.lang.String getEmail2()

This method provides access to the ADDRESS.EMAIL2 column of DB2 type VARCHAR(256) NULL.

The following is a description of this column:

The secondary e-mail address.

Returns:
java.lang.String

getFax1

public java.lang.String getFax1()

This method provides access to the ADDRESS.FAX1 column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The primary fax number 1, replacing SAFAX used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getFax2

public java.lang.String getFax2()

This method provides access to the ADDRESS.FAX2 column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The secondary fax number.

Returns:
java.lang.String

getFirstName

public java.lang.String getFirstName()

IBM internal use only.

Returns:
java.lang.String

getLastName

public java.lang.String getLastName()

IBM internal use only.

Returns:
java.lang.String

getMemberId

public java.lang.Long getMemberId()

This method provides access to the ADDRESS.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MEMBER table for the member who owns this address.

Returns:
java.lang.Long

getMiddleName

public java.lang.String getMiddleName()

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

The following is a description of this column:

Middle name or initials of the person to which this address applies, replacing SAMNAME used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getNickName

public java.lang.String getNickName()

IBM internal use only.

Returns:
java.lang.String

getOfficeAddress

public java.lang.String getOfficeAddress()

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

The following is a description of this column:

Desktop delivery or office address associated with a shipping address.

Returns:
java.lang.String

getOrganizationName

public java.lang.String getOrganizationName()

IBM internal use only.

Returns:
java.lang.String

getOrganizationUnitName

public java.lang.String getOrganizationUnitName()

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

The following is a description of this column:

Name of the organizational unit to which this address information applies, if this is a business address. See comment on ORGNAME above.

Returns:
java.lang.String

getPackageSuppression

public java.lang.Integer getPackageSuppression()

This method provides access to the ADDRESS.PACKAGESUPPRESSION column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not to include package inserts. Valid values are 1 (include) or 0 (do not include).

Returns:
java.lang.Integer

getPersonTitle

public java.lang.String getPersonTitle()

This method provides access to the ADDRESS.PERSONTITLE column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Title of the person to which this address applies, replacing SATITLE used in previous versions of WebSphere Commerce Suite. LDAP uses a length of 50. Valid values are Dr, Prof, Rev, Mr, Mrs, Ms, and N (not provided). The default is N.

Returns:
java.lang.String

getPhone1

public java.lang.String getPhone1()

This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the primary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

Returns:
java.lang.String

getPhone1Type

public java.lang.String getPhone1Type()

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

The following is a description of this column:

Phone type for the primary phone number, such as TTY for a teletypewriter for people who have a hearing impairment or PHN for a standard phone. This column replaces SADPHTYP.

Returns:
java.lang.String

getPhone2

public java.lang.String getPhone2()

This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the secondary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

Returns:
java.lang.String

getPhone2Type

public java.lang.String getPhone2Type()

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

The following is a description of this column:

Phone type for the secondary phone number, such as TTY for a teletypewriter for people who have a hearing impairment or PHN for a standard phone. This column replaces SAEPHTYP.

Returns:
java.lang.String

getPrimary

public java.lang.Integer getPrimary()

This method provides access to the ADDRESS.ISPRIMARY column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether the address specified is a primary address for the user. Valid values are 1 (primary address) or 0 (non-primary address). This allows multiple addresses of each ADDRESSTYPE and one of them to be designated as primary.

Returns:
java.lang.Integer

getPublishPhone1

public java.lang.Integer getPublishPhone1()

This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the primary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

Returns:
java.lang.Integer

getPublishPhone2

public java.lang.Integer getPublishPhone2()

This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the secondary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

Returns:
java.lang.Integer

getSelfAddress

public java.lang.Integer getSelfAddress()

This method provides access to the ADDRESS.SELFADDRESS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether or not the address belongs to the user. Valid values are 1 (the address belongs to the user) or 0 (the number does not belong to the user; it may belong to a friend, associate, or relative).

Returns:
java.lang.Integer

getShippingGeoCode

public java.lang.String getShippingGeoCode()

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

The following is a description of this column:

Shipping code based on geographical region. This value is used for integration with Taxware.

Returns:
java.lang.String

getState

public java.lang.String getState()

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

The following is a description of this column:

State or province, replacing SASTATE used in previous versions of WebSphere Commerce Suite.

Returns:
java.lang.String

getStatus

public java.lang.String getStatus()

IBM internal use only.

Returns:
java.lang.String

getTaxGeoCode

public java.lang.String getTaxGeoCode()

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

The following is a description of this column:

Tax code based on geographical region, used for integration with Taxware.

Returns:
java.lang.String

getZipCode

public java.lang.String getZipCode()

IBM internal use only.

Returns:
java.lang.String

setAddress1

public void setAddress1(java.lang.String aAddress1)

This method provides access to the ADDRESS.ADDRESS1 column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Address line 1, replacing SAADDR1 used in previous versions of WebSphere Commerce Suite.

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

setAddress2

public void setAddress2(java.lang.String aAddress2)

This method provides access to the ADDRESS.ADDRESS2 column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Address line 2, replacing SAADDR2 used in previous versions of WebSphere Commerce Suite.

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

setAddress3

public void setAddress3(java.lang.String aAddress3)

This method provides access to the ADDRESS.ADDRESS3 column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Address line 3, replacing SAADDR3 used in previous versions of WebSphere Commerce Suite.

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

setAddressBookId

public void setAddressBookId(java.lang.Long aAddressBookId)

This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the ADDRBOOK table for the address book to which this address belongs, replacing the SASHNBR column in the SHADDR table used in previous versions of WebSphere Commerce Suite.

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

setAddressType

public void setAddressType(java.lang.String aAddressType)

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

The following is a description of this column:

Type of address, valid values are configurable by using a properties file: S (shipto), B (billto), and SB (both shipto and billto). A single address may be of different types. If a properties file cannot be found, a default of SB will be used.

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

setBestCallingTime

public void setBestCallingTime(java.lang.String aBestCallingTime)

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

The following is a description of this column:

The best time to call, replacing SABTCALL used in previous versions of WebSphere Commerce Suite. Valid values are D (daytime) and E (evening).

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

setBillingCode

public void setBillingCode(java.lang.String aBillingCode)

This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

The code designating the system or method of code structure used for billing.

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

setBillingCodeType

public void setBillingCodeType(java.lang.String aBillingCodeType)

This method provides access to the ADDRESS.BILLINGCODETYPE column of DB2 type CHAR(2) NULL.

The following is a description of this column:

The code designating the system or method of code structure used for billing.

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

setBusinessTitle

public void setBusinessTitle(java.lang.String aBusinessTitle)

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

The following is a description of this column:

The business title. For example, Manager or Chief Executive Officer. LDAP uses a length of 128 characters for title attribute in ePerson. Compare with the BCTITLE column in the BUCONT table.

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

setCity

public void setCity(java.lang.String aCity)

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

The following is a description of this column:

The city, replacing SACITY used in previous versions of WebSphere Commerce Suite.

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

setCountry

public void setCountry(java.lang.String aCountry)

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

The following is a description of this column:

The country or region, replacing SACNTRY used in previous versions of WebSphere Commerce Suite.

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

setCreatedTimestamp

public void setCreatedTimestamp(java.sql.Timestamp aCreatedTimestamp)

This method provides access to the ADDRESS.LASTCREATE column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

The date and time the row was created, replacing SASTMP used in previous versions of WebSphere Commerce Suite.

Parameters:
aCreatedTimestamp - java.sql.Timestamp
Returns:
void

setEmail1

public void setEmail1(java.lang.String aEmail1)

This method provides access to the ADDRESS.EMAIL1 column of DB2 type VARCHAR(256) NULL.

The following is a description of this column:

The primary e-mail address, replacing SAEMAIL1 used in previous versions of WebSphere Commerce Suite.

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

setEmail2

public void setEmail2(java.lang.String aEmail2)

This method provides access to the ADDRESS.EMAIL2 column of DB2 type VARCHAR(256) NULL.

The following is a description of this column:

The secondary e-mail address.

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

setFax1

public void setFax1(java.lang.String aFax1)

This method provides access to the ADDRESS.FAX1 column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The primary fax number 1, replacing SAFAX used in previous versions of WebSphere Commerce Suite.

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

setFax2

public void setFax2(java.lang.String aFax2)

This method provides access to the ADDRESS.FAX2 column of DB2 type VARCHAR(32) NULL.

The following is a description of this column:

The secondary fax number.

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

setFirstName

public void setFirstName(java.lang.String aFirstName)

IBM internal use only.

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

setLastName

public void setLastName(java.lang.String aLastName)

IBM internal use only.

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the ADDRESS.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to the MEMBER table for the member who owns this address.

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

setMiddleName

public void setMiddleName(java.lang.String aMiddleName)

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

The following is a description of this column:

Middle name or initials of the person to which this address applies, replacing SAMNAME used in previous versions of WebSphere Commerce Suite.

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

setNickName

public void setNickName(java.lang.String aNickName)

IBM internal use only.

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

setOfficeAddress

public void setOfficeAddress(java.lang.String aOfficeAddress)

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

The following is a description of this column:

Desktop delivery or office address associated with a shipping address.

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

setOrganizationName

public void setOrganizationName(java.lang.String aOrganizationName)

IBM internal use only.

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

setOrganizationUnitName

public void setOrganizationUnitName(java.lang.String aOrganizationUnitName)

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

The following is a description of this column:

Name of the organizational unit to which this address information applies, if this is a business address. See comment on ORGNAME above.

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

setPackageSuppression

public void setPackageSuppression(java.lang.Integer aPackageSuppression)

This method provides access to the ADDRESS.PACKAGESUPPRESSION column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not to include package inserts. Valid values are 1 (include) or 0 (do not include).

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

setPersonTitle

public void setPersonTitle(java.lang.String aPersonTitle)

This method provides access to the ADDRESS.PERSONTITLE column of DB2 type VARCHAR(50) NULL.

The following is a description of this column:

Title of the person to which this address applies, replacing SATITLE used in previous versions of WebSphere Commerce Suite. LDAP uses a length of 50. Valid values are Dr, Prof, Rev, Mr, Mrs, Ms, and N (not provided). The default is N.

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

setPhone1

public void setPhone1(java.lang.String aPhone1)

This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the primary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

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

setPhone1Type

public void setPhone1Type(java.lang.String aPhone1Type)

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

The following is a description of this column:

Phone type for the primary phone number, such as TTY for a teletypewriter for people who have a hearing impairment or PHN for a standard phone. This column replaces SADPHTYP.

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

setPhone2

public void setPhone2(java.lang.String aPhone2)

This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the secondary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

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

setPhone2Type

public void setPhone2Type(java.lang.String aPhone2Type)

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

The following is a description of this column:

Phone type for the secondary phone number, such as TTY for a teletypewriter for people who have a hearing impairment or PHN for a standard phone. This column replaces SAEPHTYP.

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

setPrimary

public void setPrimary(java.lang.Integer aPrimary)

This method provides access to the ADDRESS.ISPRIMARY column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether the address specified is a primary address for the user. Valid values are 1 (primary address) or 0 (non-primary address). This allows multiple addresses of each ADDRESSTYPE and one of them to be designated as primary.

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

setPublishPhone1

public void setPublishPhone1(java.lang.Integer aPublishPhone1)

This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the primary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

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

setPublishPhone2

public void setPublishPhone2(java.lang.Integer aPublishPhone2)

This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.

The following is a description of this column:

Specifies whether or not the secondary phone number is listed. Valid values are 1 (listed) or 0 (unlisted).

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

setSelfAddress

public void setSelfAddress(java.lang.Integer aSelfAddress)

This method provides access to the ADDRESS.SELFADDRESS column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Specifies whether or not the address belongs to the user. Valid values are 1 (the address belongs to the user) or 0 (the number does not belong to the user; it may belong to a friend, associate, or relative).

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

setShippingGeoCode

public void setShippingGeoCode(java.lang.String aShippingGeoCode)

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

The following is a description of this column:

Shipping code based on geographical region. This value is used for integration with Taxware.

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

setState

public void setState(java.lang.String aState)

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

The following is a description of this column:

State or province, replacing SASTATE used in previous versions of WebSphere Commerce Suite.

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

setStatus

public void setStatus(java.lang.String aStatus)

IBM internal use only.

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

setTaxGeoCode

public void setTaxGeoCode(java.lang.String aTaxGeoCode)

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

The following is a description of this column:

Tax code based on geographical region, used for integration with Taxware.

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

setZipCode

public void setZipCode(java.lang.String aZipCode)

IBM internal use only.

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