com.retek.component.customer
Interface CustomerAddress

All Superinterfaces:
BusinessObject, DistributedObject
All Known Subinterfaces:
CustomerOrderAddress

public interface CustomerAddress
extends DistributedObject

This is a interface that holds on to the Address information of a Customer. CustomerAddress has more information than a normal address object like billTo, shipTo, etc.


Field Summary
static java.lang.String CITY
           
static java.lang.String COUNTRY
           
static java.lang.String COUNTY_NAME
           
static java.lang.String DAY_PHONE
           
static java.lang.String EVENING_PHONE
           
static java.lang.String FIRST_NAME
           
static java.lang.String LABEL
           
static java.lang.String LAST_NAME
           
static java.lang.String LINE1
           
static java.lang.String LINE2
           
static java.lang.String LINE3
           
static java.lang.String MIDDLE_INIT
           
static java.lang.String POSTAL_CODE
           
static java.lang.String SALUTATION
           
static java.lang.String SHIP_TO
           
static java.lang.String STATE
           
static java.lang.String SUFFIX
           
 
Method Summary
 boolean allFieldsEqual(CustomerAddress customerAddress)
           
 Address asAddress()
           
 java.lang.String getAttention()
           
 java.lang.String getCity()
           
 Country getCountry()
           
 java.lang.String getCountyName()
           
 CustomerChangeReason getCustomerChangeReason()
           
 TelephoneNumber getDayTelephoneNumber()
           
 EmailAddress getEmailAddress()
           
 TelephoneNumber getEveningTelephoneNumber()
           
 java.lang.String getFirstName()
           
 java.lang.String getFullName()
           
 Customer getGiftRecipientCustomer()
           
 java.lang.String getLabel()
           
 java.lang.String getLastName()
           
 java.lang.String getLine1()
           
 java.lang.String getLine2()
           
 java.lang.String getLine3()
           
 java.lang.String getMiddleInitial()
           
 java.lang.String getPostalCode()
           
 java.lang.String getPostalCodeFive()
           
 java.lang.String getPostalCodePlusFour()
           
 CustomerSalutation getSalutation()
           
 java.lang.String getState()
           
 CustomerSuffix getSuffix()
           
 java.lang.String getTaxReferenceCode()
           
 boolean isBillTo()
           
 boolean isInactive()
           
 boolean isModified()
           
 boolean isNewCustomer()
           
 boolean isShipTo()
           
 boolean isValidationNeeded()
           
 void setAttention(java.lang.String attention)
           
 void setBillTo(boolean billTo)
           
 void setCity(java.lang.String city)
           
 void setCountry(Country country)
           
 void setCountyName(java.lang.String countyName)
           
 void setCustomerChangeReason(CustomerChangeReason changeReason)
           
 void setDayTelephoneNumber(TelephoneNumber telVal)
           
 void setEmailAddress(EmailAddress emailVal)
           
 void setEveningTelephoneNumber(TelephoneNumber telVal)
           
 void setFirstName(java.lang.String firstName)
           
 void setLabel(java.lang.String label)
           
 void setLastName(java.lang.String lastName)
           
 void setLine1(java.lang.String line1)
           
 void setLine2(java.lang.String line2)
           
 void setLine3(java.lang.String line3)
           
 void setMiddleInitial(java.lang.String middleInitial)
           
 void setNewCustomer(boolean newCustomer)
           
 void setPostalCode(java.lang.String postalCode)
           
 void setSalutation(CustomerSalutation salutation)
           
 void setState(java.lang.String state)
           
 void setSuffix(CustomerSuffix suffix)
           
 void setTaxReferenceCode(java.lang.String taxReferenceCode)
           
 void setValidationNeeded(boolean validation)
           
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Field Detail

SALUTATION

public static final java.lang.String SALUTATION
See Also:
Constant Field Values

FIRST_NAME

public static final java.lang.String FIRST_NAME
See Also:
Constant Field Values

MIDDLE_INIT

public static final java.lang.String MIDDLE_INIT
See Also:
Constant Field Values

LAST_NAME

public static final java.lang.String LAST_NAME
See Also:
Constant Field Values

SUFFIX

public static final java.lang.String SUFFIX
See Also:
Constant Field Values

LINE1

public static final java.lang.String LINE1
See Also:
Constant Field Values

LINE2

public static final java.lang.String LINE2
See Also:
Constant Field Values

LINE3

public static final java.lang.String LINE3
See Also:
Constant Field Values

COUNTRY

public static final java.lang.String COUNTRY
See Also:
Constant Field Values

POSTAL_CODE

public static final java.lang.String POSTAL_CODE
See Also:
Constant Field Values

CITY

public static final java.lang.String CITY
See Also:
Constant Field Values

STATE

public static final java.lang.String STATE
See Also:
Constant Field Values

COUNTY_NAME

public static final java.lang.String COUNTY_NAME
See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
See Also:
Constant Field Values

DAY_PHONE

public static final java.lang.String DAY_PHONE
See Also:
Constant Field Values

EVENING_PHONE

public static final java.lang.String EVENING_PHONE
See Also:
Constant Field Values

SHIP_TO

public static final java.lang.String SHIP_TO
See Also:
Constant Field Values
Method Detail

getSalutation

public CustomerSalutation getSalutation()
                                 throws SystemException
Throws:
SystemException

getFirstName

public java.lang.String getFirstName()
                              throws SystemException
Throws:
SystemException

getMiddleInitial

public java.lang.String getMiddleInitial()
                                  throws SystemException
Throws:
SystemException

getLastName

public java.lang.String getLastName()
                             throws SystemException
Throws:
SystemException

getFullName

public java.lang.String getFullName()
                             throws SystemException
Throws:
SystemException

getSuffix

public CustomerSuffix getSuffix()
                         throws SystemException
Throws:
SystemException

getLine1

public java.lang.String getLine1()
                          throws SystemException
Throws:
SystemException

getLine2

public java.lang.String getLine2()
                          throws SystemException
Throws:
SystemException

getLine3

public java.lang.String getLine3()
                          throws SystemException
Throws:
SystemException

getAttention

public java.lang.String getAttention()
                              throws SystemException
Throws:
SystemException

getCountry

public Country getCountry()
                   throws SystemException
Throws:
SystemException

getPostalCode

public java.lang.String getPostalCode()
                               throws SystemException
Throws:
SystemException

getPostalCodeFive

public java.lang.String getPostalCodeFive()
                                   throws SystemException
Throws:
SystemException

getPostalCodePlusFour

public java.lang.String getPostalCodePlusFour()
                                       throws SystemException
Throws:
SystemException

getCity

public java.lang.String getCity()
                         throws SystemException
Throws:
SystemException

getState

public java.lang.String getState()
                          throws SystemException
Throws:
SystemException

getCountyName

public java.lang.String getCountyName()
                               throws SystemException
Throws:
SystemException

getLabel

public java.lang.String getLabel()
                          throws SystemException
Throws:
SystemException

getTaxReferenceCode

public java.lang.String getTaxReferenceCode()
                                     throws SystemException
Throws:
SystemException

getDayTelephoneNumber

public TelephoneNumber getDayTelephoneNumber()
                                      throws SystemException
Throws:
SystemException

getEveningTelephoneNumber

public TelephoneNumber getEveningTelephoneNumber()
                                          throws SystemException
Throws:
SystemException

getEmailAddress

public EmailAddress getEmailAddress()
                             throws SystemException
Throws:
SystemException

getCustomerChangeReason

public CustomerChangeReason getCustomerChangeReason()
                                             throws SystemException
Throws:
SystemException

getGiftRecipientCustomer

public Customer getGiftRecipientCustomer()
                                  throws SystemException
Throws:
SystemException

isBillTo

public boolean isBillTo()
                 throws SystemException
Throws:
SystemException

isShipTo

public boolean isShipTo()
                 throws SystemException
Throws:
SystemException

isInactive

public boolean isInactive()
                   throws SystemException
Throws:
SystemException

isNewCustomer

public boolean isNewCustomer()
                      throws SystemException
Throws:
SystemException

isModified

public boolean isModified()
                   throws SystemException
Throws:
SystemException

isValidationNeeded

public boolean isValidationNeeded()
                           throws SystemException
Throws:
SystemException

allFieldsEqual

public boolean allFieldsEqual(CustomerAddress customerAddress)
                       throws SystemException
Throws:
SystemException

setSalutation

public void setSalutation(CustomerSalutation salutation)
                   throws SystemException
Throws:
SystemException

setFirstName

public void setFirstName(java.lang.String firstName)
                  throws SystemException
Throws:
SystemException

setMiddleInitial

public void setMiddleInitial(java.lang.String middleInitial)
                      throws SystemException
Throws:
SystemException

setLastName

public void setLastName(java.lang.String lastName)
                 throws SystemException
Throws:
SystemException

setSuffix

public void setSuffix(CustomerSuffix suffix)
               throws SystemException
Throws:
SystemException

setLine1

public void setLine1(java.lang.String line1)
              throws SystemException
Throws:
SystemException

setLine2

public void setLine2(java.lang.String line2)
              throws SystemException
Throws:
SystemException

setLine3

public void setLine3(java.lang.String line3)
              throws SystemException
Throws:
SystemException

setAttention

public void setAttention(java.lang.String attention)
                  throws SystemException
Throws:
SystemException

setCountry

public void setCountry(Country country)
                throws SystemException,
                       BusinessException
Throws:
SystemException
BusinessException

setPostalCode

public void setPostalCode(java.lang.String postalCode)
                   throws SystemException
Throws:
SystemException

setCity

public void setCity(java.lang.String city)
             throws SystemException
Throws:
SystemException

setState

public void setState(java.lang.String state)
              throws SystemException
Throws:
SystemException

setCountyName

public void setCountyName(java.lang.String countyName)
                   throws SystemException
Throws:
SystemException

setLabel

public void setLabel(java.lang.String label)
              throws SystemException
Throws:
SystemException

setBillTo

public void setBillTo(boolean billTo)
               throws SystemException
Throws:
SystemException

setNewCustomer

public void setNewCustomer(boolean newCustomer)
                    throws SystemException
Throws:
SystemException

setTaxReferenceCode

public void setTaxReferenceCode(java.lang.String taxReferenceCode)
                         throws SystemException
Throws:
SystemException

setCustomerChangeReason

public void setCustomerChangeReason(CustomerChangeReason changeReason)
                             throws SystemException
Throws:
SystemException

setDayTelephoneNumber

public void setDayTelephoneNumber(TelephoneNumber telVal)
                           throws SystemException
Throws:
SystemException

setEveningTelephoneNumber

public void setEveningTelephoneNumber(TelephoneNumber telVal)
                               throws SystemException
Throws:
SystemException

setEmailAddress

public void setEmailAddress(EmailAddress emailVal)
                     throws SystemException
Throws:
SystemException

setValidationNeeded

public void setValidationNeeded(boolean validation)
                         throws SystemException
Throws:
SystemException

asAddress

public Address asAddress()
                  throws SystemException
Throws:
SystemException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25