com.ibm.commerce.user.objects
Class AddressAccessBean

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

public class AddressAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AddressAccessBeanData

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

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
AddressAccessBean()
          Default constructor.
AddressAccessBean(com.ibm.commerce.user.objimpl.AddressInputData aAddressInputData)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
AddressAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
AddressAccessBean(java.util.Hashtable aProperties)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
AddressAccessBean(java.lang.Long aMemberId, java.lang.String aNickname)
          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.util.Enumeration findByAddressType(java.lang.String aAddressType, java.lang.Long aMemberId)
          Find by address type.
 java.util.Enumeration findByMemberId(java.lang.Long aMemberId)
          Find by member id.
 java.util.Enumeration findByMemberIdOrderByLastName(java.lang.Long aMemberId)
          Find by MemberId.
 java.util.Enumeration findByMemberIdOrderByNickName(java.lang.Long aMemberId)
          Find by MemberId and order by the Nick Name.
 AddressAccessBean findByNickname(java.lang.String aNickName, java.lang.Long aMemberId)
          Find by Nick Name.
 java.util.Enumeration findByUserAndAddress(java.lang.Long aMemberId, java.lang.Long aAddressId)
          Find by user and address.
 java.util.Enumeration findPrimaryAddress(java.lang.String aAddressType, java.lang.Long aMemberId)
          Find by primary address.
 AddressAccessBean findSelfAddressByMember(java.lang.Long aMemberId)
          Find by self address.
 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.String getAddressBookId()
          This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAddressBookIdInEJBType()
          This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getAddressField1()
          Address line 1.
 java.lang.String getAddressField2()
          Address line 2.
 java.lang.String getAddressField3()
          Address line 3.
 java.lang.String getAddressId()
          This method provides access to the ADDRESS.ADDRESS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getAddressIdInEJBType()
          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.lang.String getCreatedTimestamp()
          This method provides access to the ADDRESS.LASTCREATE column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getCreatedTimestampInEJBType()
          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()
          First name of the person to which this address applies.
 java.lang.String getLastName()
          Last name of the person to which this address applies.
 java.lang.String getMemberId()
          This method provides access to the ADDRESS.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          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()
          The nickname of the address.
 java.lang.String getOfficeAddress()
          This method provides access to the ADDRESS.OFFICEADDRESS column of DB2 type VARCHAR(128) NULL.
 java.lang.String getOrganizationName()
          Name of the organization to which this address information applies.
 java.lang.String getOrganizationUnitName()
          This method provides access to the ADDRESS.ORGUNITNAME column of DB2 type VARCHAR(128) NULL.
 java.lang.String getPackageSuppression()
          This method provides access to the ADDRESS.PACKAGESUPPRESSION column of DB2 type INTEGER NULL.
 java.lang.Integer getPackageSuppressionInEJBType()
          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.PHONE1TYPE column of DB2 type CHAR(3) 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.PHONE2TYPE column of DB2 type CHAR(3) NULL.
 java.lang.String getPhone2Type()
          This method provides access to the ADDRESS.PHONE2TYPE column of DB2 type CHAR(3) NULL.
 java.lang.String getPrimary()
          The primary address for the user.
 java.lang.Integer getPrimaryInEJBType()
          Primary address for the user.
 java.lang.String getPublishPhone1()
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 java.lang.Integer getPublishPhone1InEJBType()
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 java.lang.String getPublishPhone2()
          This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.
 java.lang.Integer getPublishPhone2InEJBType()
          This method provides access to the ADDRESS.PUBLISHPHONE2 column of DB2 type INTEGER NULL.
 java.lang.String getSelfAddress()
          This method provides access to the ADDRESS.SELFADDRESS column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getSelfAddressInEJBType()
          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()
          Status of the address, such as permanent or temporary.
 java.lang.String getTaxGeoCode()
          This method provides access to the ADDRESS.TAXGEOCODE column of DB2 type VARCHAR(254) NULL.
 java.lang.String getZipCode()
          ZIP or postal code.
 void refreshCopyHelper()
          Load data from the EJBObject.
 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 setAddressBookId(java.lang.String aAddressBookId)
          This method provides access to the ADDRESS.ADDRBOOK_ID column of DB2 type BIGINT NOT NULL.
 void setAddressField1(java.lang.String aAddressField1)
          Set the address line 1.
 void setAddressField2(java.lang.String aAddressField2)
          Set the address line 2.
 void setAddressField3(java.lang.String aAddressField3)
          Set the address line 3.
 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.lang.String aCreatedTimestamp)
          This method provides access to the ADDRESS.LASTCREATE column of DB2 type TIMESTAMP 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)
          Set the first name of the person to which this address applies.
 void setInitKey_AddressId(java.lang.String aInitKey_AddressId)
          Set the primary key for this object
 void setLastName(java.lang.String aLastName)
          Set the last name of the person to which this address applies.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the ADDRESS.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String 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)
          Set the nickname of the address.
 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)
          Set the name of the organizational unit to which this address information applies
 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 setPackageSuppression(java.lang.String 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.PHONE1TYPE column of DB2 type CHAR(3) 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.PHONE2TYPE column of DB2 type CHAR(3) 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)
          Set the primary.
 void setPrimary(java.lang.String aPrimary)
          Set the address specified is a primary address for the user.
 void setPublishPhone1(java.lang.Integer aPublishPhone1)
          This method provides access to the ADDRESS.PUBLISHPHONE1 column of DB2 type INTEGER NULL.
 void setPublishPhone1(java.lang.String 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 setPublishPhone2(java.lang.String 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 setSelfAddress(java.lang.String 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)
          Set the status of the address.
 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)
          Set the ZIP or postal code.
 
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

AddressAccessBean

public AddressAccessBean()

Default constructor. Maps to findByPrimaryKey.


AddressAccessBean

public AddressAccessBean(com.ibm.commerce.user.objimpl.AddressInputData aAddressInputData)
                  throws javax.naming.NamingException,
                         javax.ejb.CreateException,
                         java.rmi.RemoteException,
                         javax.ejb.FinderException

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

Parameters:
aAddressInputData - com.ibm.commerce.user.objimpl.AddressInputData
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

AddressAccessBean

public AddressAccessBean(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

AddressAccessBean

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

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

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

AddressAccessBean

public AddressAccessBean(java.lang.Long aMemberId,
                         java.lang.String aNickname)
                  throws javax.naming.NamingException,
                         javax.ejb.CreateException,
                         java.rmi.RemoteException,
                         javax.ejb.FinderException

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

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

findByAddressType

public java.util.Enumeration findByAddressType(java.lang.String aAddressType,
                                               java.lang.Long aMemberId)
                                        throws java.rmi.RemoteException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

Find by address type.

The SQL is "SELECT * FROM ADDRESS T1 WHERE (T1.STATUS = 'P') AND (T1.ADDRESSTYPE = ?) AND (T1.MEMBER_ID = ?)".

Parameters:
aAddressType - java.lang.String
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByMemberId

public java.util.Enumeration findByMemberId(java.lang.Long aMemberId)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

Find by member id.

The SQL is "SELECT * FROM ADDRESS T1 WHERE (T1.STATUS = 'P') AND (T1.MEMBER_ID = ?) ORDER BY T1.NICKNAME".

Parameters:
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByMemberIdOrderByLastName

public java.util.Enumeration findByMemberIdOrderByLastName(java.lang.Long aMemberId)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Find by MemberId.

The SQL is "SELECT * FROM ADDRESS T1 WHERE(T1.STATUS = 'P') AND (T1.MEMBER_ID = ?) ORDER BY T1.LASTNAME".

Parameters:
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByMemberIdOrderByNickName

public java.util.Enumeration findByMemberIdOrderByNickName(java.lang.Long aMemberId)
                                                    throws java.rmi.RemoteException,
                                                           javax.ejb.FinderException,
                                                           javax.naming.NamingException

Find by MemberId and order by the Nick Name.

The SQL is "SELECT * FROM ADDRESS T1 WHERE (T1.STATUS = 'P') AND (T1.MEMBER_ID = ?) ORDER BY T1.NICKNAME".

Parameters:
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByNickname

public AddressAccessBean findByNickname(java.lang.String aNickName,
                                        java.lang.Long aMemberId)
                                 throws java.rmi.RemoteException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

Find by Nick Name.

The SQL is "SELECT * FROM ADDRESS T1 WHERE(T1.STATUS = 'P') AND (T1.NICKNAME = ?) AND (T1.MEMBER_ID = ?)"

Parameters:
aNickName - java.lang.String
aMemberId - java.lang.Long
Returns:
com.ibm.commerce.user.objects.AddressAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByUserAndAddress

public java.util.Enumeration findByUserAndAddress(java.lang.Long aMemberId,
                                                  java.lang.Long aAddressId)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

Find by user and address.

The SQL is "SELECT * FROM ADDRESS T1 WHERE (T1.STATUS = 'P') AND (T1.MEMBER_ID = ?) AND (T1.ADDRESS_ID = ?)".

Parameters:
aMemberId - java.lang.Long
aAddressId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findPrimaryAddress

public java.util.Enumeration findPrimaryAddress(java.lang.String aAddressType,
                                                java.lang.Long aMemberId)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

Find by primary address.

The SQL is "SELECT * FROM ADDRESS T1 WHERE (T1.STATUS = 'P') AND (T1.ISPRIMARY = 1) AND (T1.ADDRESSTYPE = ?) AND (T1.MEMBER_ID = ?)".

Parameters:
aAddressType - java.lang.String
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findSelfAddressByMember

public AddressAccessBean findSelfAddressByMember(java.lang.Long aMemberId)
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

Find by self address.

The SQL is "SELECT * FROM ADDRESS T1 WHERE(T1.STATUS = 'P') AND (T1.SELFADDRESS = 1) AND (T1.MEMBER_ID = ?)".

Parameters:
aMemberId - java.lang.Long
Returns:
com.ibm.commerce.user.objects.AddressAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAddress1

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

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.

Specified by:
getAddress1 in interface AddressAccessBeanData
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

getAddress2

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

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.

Specified by:
getAddress2 in interface AddressAccessBeanData
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

getAddress3

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

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.

Specified by:
getAddress3 in interface AddressAccessBeanData
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

getAddressBookId

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

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.

Specified by:
getAddressBookId in interface AddressAccessBeanData
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

getAddressBookIdInEJBType

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

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

getAddressField1

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

Address line 1.

Specified by:
getAddressField1 in interface AddressAccessBeanData
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

getAddressField2

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

Address line 2.

Specified by:
getAddressField2 in interface AddressAccessBeanData
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

getAddressField3

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

Address line 3.

Specified by:
getAddressField3 in interface AddressAccessBeanData
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

getAddressId

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

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.

Specified by:
getAddressId in interface AddressAccessBeanData
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

getAddressIdInEJBType

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

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

getAddressType

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

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.

Specified by:
getAddressType in interface AddressAccessBeanData
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

getBestCallingTime

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

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

Specified by:
getBestCallingTime in interface AddressAccessBeanData
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

getBillingCode

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

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.

Specified by:
getBillingCode in interface AddressAccessBeanData
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

getBillingCodeType

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

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.

Specified by:
getBillingCodeType in interface AddressAccessBeanData
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

getBusinessTitle

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

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.

Specified by:
getBusinessTitle in interface AddressAccessBeanData
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

getCity

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

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.

Specified by:
getCity in interface AddressAccessBeanData
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

getCountry

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

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.

Specified by:
getCountry in interface AddressAccessBeanData
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

getCreatedTimestamp

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

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.

Specified by:
getCreatedTimestamp in interface AddressAccessBeanData
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

getCreatedTimestampInEJBType

public java.sql.Timestamp getCreatedTimestampInEJBType()
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.CreateException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

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

getEmail1

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

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.

Specified by:
getEmail1 in interface AddressAccessBeanData
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

getEmail2

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

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.

Specified by:
getEmail2 in interface AddressAccessBeanData
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

getFax1

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

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.

Specified by:
getFax1 in interface AddressAccessBeanData
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

getFax2

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

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.

Specified by:
getFax2 in interface AddressAccessBeanData
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

getFirstName

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

First name of the person to which this address applies.

Specified by:
getFirstName in interface AddressAccessBeanData
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

getLastName

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

Last name of the person to which this address applies.

Specified by:
getLastName in interface AddressAccessBeanData
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

getMemberId

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

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.

Specified by:
getMemberId in interface AddressAccessBeanData
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

getMemberIdInEJBType

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

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

getMiddleName

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

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.

Specified by:
getMiddleName in interface AddressAccessBeanData
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

getNickName

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

The nickname of the address. Among all the addresses owned by a member, their nicknames must be unique.

Specified by:
getNickName in interface AddressAccessBeanData
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

getOfficeAddress

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

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.

Specified by:
getOfficeAddress in interface AddressAccessBeanData
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

getOrganizationName

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

Name of the organization to which this address information applies.

Specified by:
getOrganizationName in interface AddressAccessBeanData
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

getOrganizationUnitName

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

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.

Specified by:
getOrganizationUnitName in interface AddressAccessBeanData
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

getPackageSuppression

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

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

Specified by:
getPackageSuppression in interface AddressAccessBeanData
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

getPackageSuppressionInEJBType

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

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

getPersonTitle

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

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.

Specified by:
getPersonTitle in interface AddressAccessBeanData
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

getPhone1

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

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.

Specified by:
getPhone1 in interface AddressAccessBeanData
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

getPhone1Type

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

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.

Specified by:
getPhone1Type in interface AddressAccessBeanData
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

getPhone2

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

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.

Specified by:
getPhone2 in interface AddressAccessBeanData
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

getPhone2Type

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

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.

Specified by:
getPhone2Type in interface AddressAccessBeanData
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

getPrimary

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

The primary address for the user.

Specified by:
getPrimary in interface AddressAccessBeanData
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

getPrimaryInEJBType

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

Primary address for the user.

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

getPublishPhone1

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

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

Specified by:
getPublishPhone1 in interface AddressAccessBeanData
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

getPublishPhone1InEJBType

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

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

getPublishPhone2

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

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

Specified by:
getPublishPhone2 in interface AddressAccessBeanData
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

getPublishPhone2InEJBType

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

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

getSelfAddress

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

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

Specified by:
getSelfAddress in interface AddressAccessBeanData
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

getSelfAddressInEJBType

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

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

getShippingGeoCode

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

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.

Specified by:
getShippingGeoCode in interface AddressAccessBeanData
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

getState

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

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.

Specified by:
getState in interface AddressAccessBeanData
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

getStatus

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

Status of the address, such as permanent or temporary.

Specified by:
getStatus in interface AddressAccessBeanData
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

getTaxGeoCode

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

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.

Specified by:
getTaxGeoCode in interface AddressAccessBeanData
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

getZipCode

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

ZIP or postal code.

Specified by:
getZipCode in interface AddressAccessBeanData
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

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

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.

Specified by:
setAddress1 in interface AddressAccessBeanData
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.

Specified by:
setAddress2 in interface AddressAccessBeanData
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.

Specified by:
setAddress3 in interface AddressAccessBeanData
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

setAddressBookId

public void setAddressBookId(java.lang.String 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.

Specified by:
setAddressBookId in interface AddressAccessBeanData
Parameters:
aAddressBookId - java.lang.String
Returns:
void

setAddressField1

public void setAddressField1(java.lang.String aAddressField1)

Set the address line 1.

Specified by:
setAddressField1 in interface AddressAccessBeanData
Parameters:
aAddressField1 - java.lang.String
Returns:
void

setAddressField2

public void setAddressField2(java.lang.String aAddressField2)

Set the address line 2.

Specified by:
setAddressField2 in interface AddressAccessBeanData
Parameters:
aAddressField2 - java.lang.String
Returns:
void

setAddressField3

public void setAddressField3(java.lang.String aAddressField3)

Set the address line 3.

Specified by:
setAddressField3 in interface AddressAccessBeanData
Parameters:
aAddressField3 - java.lang.String
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.

Specified by:
setAddressType in interface AddressAccessBeanData
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).

Specified by:
setBestCallingTime in interface AddressAccessBeanData
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.

Specified by:
setBillingCode in interface AddressAccessBeanData
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.

Specified by:
setBillingCodeType in interface AddressAccessBeanData
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.

Specified by:
setBusinessTitle in interface AddressAccessBeanData
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.

Specified by:
setCity in interface AddressAccessBeanData
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.

Specified by:
setCountry in interface AddressAccessBeanData
Parameters:
aCountry - java.lang.String
Returns:
void

setCreatedTimestamp

public void setCreatedTimestamp(java.lang.String 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.

Specified by:
setCreatedTimestamp in interface AddressAccessBeanData
Parameters:
aCreatedTimestamp - 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.

Specified by:
setEmail1 in interface AddressAccessBeanData
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.

Specified by:
setEmail2 in interface AddressAccessBeanData
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.

Specified by:
setFax1 in interface AddressAccessBeanData
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.

Specified by:
setFax2 in interface AddressAccessBeanData
Parameters:
aFax2 - java.lang.String
Returns:
void

setFirstName

public void setFirstName(java.lang.String aFirstName)

Set the first name of the person to which this address applies.

Specified by:
setFirstName in interface AddressAccessBeanData
Parameters:
aFirstName - java.lang.String
Returns:
void

setInitKey_AddressId

public void setInitKey_AddressId(java.lang.String aInitKey_AddressId)

Set the primary key for this object

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

setLastName

public void setLastName(java.lang.String aLastName)

Set the last name of the person to which this address applies.

Specified by:
setLastName in interface AddressAccessBeanData
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

setMemberId

public void setMemberId(java.lang.String 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.

Specified by:
setMemberId in interface AddressAccessBeanData
Parameters:
aMemberId - java.lang.String
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.

Specified by:
setMiddleName in interface AddressAccessBeanData
Parameters:
aMiddleName - java.lang.String
Returns:
void

setNickName

public void setNickName(java.lang.String aNickName)

Set the nickname of the address.

Specified by:
setNickName in interface AddressAccessBeanData
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.

Specified by:
setOfficeAddress in interface AddressAccessBeanData
Parameters:
aOfficeAddress - java.lang.String
Returns:
void

setOrganizationName

public void setOrganizationName(java.lang.String aOrganizationName)

Set the name of the organizational unit to which this address information applies

Specified by:
setOrganizationName in interface AddressAccessBeanData
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.

Specified by:
setOrganizationUnitName in interface AddressAccessBeanData
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

setPackageSuppression

public void setPackageSuppression(java.lang.String 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).

Specified by:
setPackageSuppression in interface AddressAccessBeanData
Parameters:
aPackageSuppression - java.lang.String
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.

Specified by:
setPersonTitle in interface AddressAccessBeanData
Parameters:
aPersonTitle - java.lang.String
Returns:
void

setPhone1

public void setPhone1(java.lang.String aPhone1)

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.

Specified by:
setPhone1 in interface AddressAccessBeanData
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.

Specified by:
setPhone1Type in interface AddressAccessBeanData
Parameters:
aPhone1Type - java.lang.String
Returns:
void

setPhone2

public void setPhone2(java.lang.String aPhone2)

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.

Specified by:
setPhone2 in interface AddressAccessBeanData
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.

Specified by:
setPhone2Type in interface AddressAccessBeanData
Parameters:
aPhone2Type - java.lang.String
Returns:
void

setPrimary

public void setPrimary(java.lang.Integer aPrimary)

Set the primary.

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

setPrimary

public void setPrimary(java.lang.String aPrimary)

Set the address specified is a primary address for the user.

Specified by:
setPrimary in interface AddressAccessBeanData
Parameters:
aPrimary - java.lang.String
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

setPublishPhone1

public void setPublishPhone1(java.lang.String 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).

Specified by:
setPublishPhone1 in interface AddressAccessBeanData
Parameters:
aPublishPhone1 - java.lang.String
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

setPublishPhone2

public void setPublishPhone2(java.lang.String 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).

Specified by:
setPublishPhone2 in interface AddressAccessBeanData
Parameters:
aPublishPhone2 - java.lang.String
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

setSelfAddress

public void setSelfAddress(java.lang.String 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).

Specified by:
setSelfAddress in interface AddressAccessBeanData
Parameters:
aSelfAddress - java.lang.String
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.

Specified by:
setShippingGeoCode in interface AddressAccessBeanData
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.

Specified by:
setState in interface AddressAccessBeanData
Parameters:
aState - java.lang.String
Returns:
void

setStatus

public void setStatus(java.lang.String aStatus)

Set the status of the address.

Specified by:
setStatus in interface AddressAccessBeanData
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.

Specified by:
setTaxGeoCode in interface AddressAccessBeanData
Parameters:
aTaxGeoCode - java.lang.String
Returns:
void

setZipCode

public void setZipCode(java.lang.String aZipCode)

Set the ZIP or postal code.

Specified by:
setZipCode in interface AddressAccessBeanData
Parameters:
aZipCode - java.lang.String
Returns:
void