com.retek.component.customer.impl
Class CustomerAddressImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.customer.impl.CustomerAddressImpl
All Implemented Interfaces:
BusinessObject, CustomerAddress, DistributedObject

public class CustomerAddressImpl
extends DistributedObjectImpl
implements CustomerAddress


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.CustomerAddress
CITY, COUNTRY, COUNTY_NAME, DAY_PHONE, EVENING_PHONE, FIRST_NAME, LABEL, LAST_NAME, LINE1, LINE2, LINE3, MIDDLE_INIT, POSTAL_CODE, SALUTATION, SHIP_TO, STATE, SUFFIX
 
Constructor Summary
CustomerAddressImpl(DistributedContext context, DistributedReference reference)
           
CustomerAddressImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
 
Method Summary
 boolean allFieldsEqual(CustomerAddress address)
           
 Address asAddress()
           
 java.lang.String attributesToString()
           
 java.lang.String getAttention()
           
 java.lang.String getCity()
           
 Country getCountry()
           
 java.lang.String getCountyName()
           
 RDate getCreateDate()
           
 CustomerChangeReason getCustomerChangeReason()
           
 TelephoneNumber getDayTelephoneNumber()
           
 CustomerAddressDto getDto()
           
 EmailAddress getEmailAddress()
           
 TelephoneNumber getEveningTelephoneNumber()
           
 java.lang.String getFirstName()
           
 java.lang.String getFullName()
           
 Customer getGiftRecipientCustomer()
           
 java.lang.String getLabel()
           
 java.lang.String getLastName()
           
 RDate getLastUpdateDate()
           
 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()
           
protected  Dto readLatest()
           
 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 customerChangeReason)
           
 void setDayTelephoneNumber(TelephoneNumber telVal)
           
 void setEmailAddress(EmailAddress emailVal)
           
 void setEveningTelephoneNumber(TelephoneNumber telVal)
           
 void setFirstName(java.lang.String firstName)
           
 void setGiftRecipientCustomer(Customer giftRecipientCustomer)
           
 void setInactive(boolean inactive)
           
 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)
           
 java.lang.String toString()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

CustomerAddressImpl

public CustomerAddressImpl(DistributedContext context,
                           DistributedReference reference,
                           boolean createHollow)
                    throws SystemException

CustomerAddressImpl

public CustomerAddressImpl(DistributedContext context,
                           DistributedReference reference)
                    throws SystemException
Method Detail

getDto

public CustomerAddressDto getDto()
                          throws SystemException
Throws:
SystemException

getLabel

public java.lang.String getLabel()
                          throws SystemException
Specified by:
getLabel in interface CustomerAddress
Throws:
SystemException

isBillTo

public boolean isBillTo()
                 throws SystemException
Specified by:
isBillTo in interface CustomerAddress
Throws:
SystemException

isModified

public boolean isModified()
Specified by:
isModified in interface CustomerAddress

isShipTo

public boolean isShipTo()
                 throws SystemException
Specified by:
isShipTo in interface CustomerAddress
Throws:
SystemException

isInactive

public boolean isInactive()
                   throws SystemException
Specified by:
isInactive in interface CustomerAddress
Throws:
SystemException

setLabel

public void setLabel(java.lang.String label)
              throws SystemException
Specified by:
setLabel in interface CustomerAddress
Throws:
SystemException

setInactive

public void setInactive(boolean inactive)
                 throws SystemException
Throws:
SystemException

setBillTo

public void setBillTo(boolean billTo)
               throws SystemException
Specified by:
setBillTo in interface CustomerAddress
Throws:
SystemException

getAttention

public java.lang.String getAttention()
                              throws SystemException
Specified by:
getAttention in interface CustomerAddress
Throws:
SystemException

getCity

public java.lang.String getCity()
                         throws SystemException
Specified by:
getCity in interface CustomerAddress
Throws:
SystemException

getCountry

public Country getCountry()
                   throws SystemException
Specified by:
getCountry in interface CustomerAddress
Throws:
SystemException

getCountyName

public java.lang.String getCountyName()
                               throws SystemException
Specified by:
getCountyName in interface CustomerAddress
Throws:
SystemException

getFirstName

public java.lang.String getFirstName()
                              throws SystemException
Specified by:
getFirstName in interface CustomerAddress
Throws:
SystemException

getLastName

public java.lang.String getLastName()
                             throws SystemException
Specified by:
getLastName in interface CustomerAddress
Throws:
SystemException

getMiddleInitial

public java.lang.String getMiddleInitial()
                                  throws SystemException
Specified by:
getMiddleInitial in interface CustomerAddress
Throws:
SystemException

getFullName

public java.lang.String getFullName()
                             throws SystemException
Specified by:
getFullName in interface CustomerAddress
Throws:
SystemException

getSalutation

public CustomerSalutation getSalutation()
                                 throws SystemException
Specified by:
getSalutation in interface CustomerAddress
Throws:
SystemException

getSuffix

public CustomerSuffix getSuffix()
                         throws SystemException
Specified by:
getSuffix in interface CustomerAddress
Throws:
SystemException

getLine1

public java.lang.String getLine1()
                          throws SystemException
Specified by:
getLine1 in interface CustomerAddress
Throws:
SystemException

getLine2

public java.lang.String getLine2()
                          throws SystemException
Specified by:
getLine2 in interface CustomerAddress
Throws:
SystemException

getLine3

public java.lang.String getLine3()
                          throws SystemException
Specified by:
getLine3 in interface CustomerAddress
Throws:
SystemException

getPostalCode

public java.lang.String getPostalCode()
                               throws SystemException
Specified by:
getPostalCode in interface CustomerAddress
Throws:
SystemException

getPostalCodeFive

public java.lang.String getPostalCodeFive()
                                   throws SystemException
Specified by:
getPostalCodeFive in interface CustomerAddress
Throws:
SystemException

getPostalCodePlusFour

public java.lang.String getPostalCodePlusFour()
                                       throws SystemException
Specified by:
getPostalCodePlusFour in interface CustomerAddress
Throws:
SystemException

getState

public java.lang.String getState()
                          throws SystemException
Specified by:
getState in interface CustomerAddress
Throws:
SystemException

getTaxReferenceCode

public java.lang.String getTaxReferenceCode()
                                     throws SystemException
Specified by:
getTaxReferenceCode in interface CustomerAddress
Throws:
SystemException

isNewCustomer

public boolean isNewCustomer()
                      throws SystemException
Specified by:
isNewCustomer in interface CustomerAddress
Throws:
SystemException

setAttention

public void setAttention(java.lang.String attention)
                  throws SystemException
Specified by:
setAttention in interface CustomerAddress
Throws:
SystemException

setCity

public void setCity(java.lang.String city)
             throws SystemException
Specified by:
setCity in interface CustomerAddress
Throws:
SystemException

setCountry

public void setCountry(Country country)
                throws SystemException,
                       BusinessException
Specified by:
setCountry in interface CustomerAddress
Throws:
SystemException
BusinessException

setCountyName

public void setCountyName(java.lang.String countyName)
                   throws SystemException
Specified by:
setCountyName in interface CustomerAddress
Throws:
SystemException

setFirstName

public void setFirstName(java.lang.String firstName)
                  throws SystemException
Specified by:
setFirstName in interface CustomerAddress
Throws:
SystemException

setLastName

public void setLastName(java.lang.String lastName)
                 throws SystemException
Specified by:
setLastName in interface CustomerAddress
Throws:
SystemException

setMiddleInitial

public void setMiddleInitial(java.lang.String middleInitial)
                      throws SystemException
Specified by:
setMiddleInitial in interface CustomerAddress
Throws:
SystemException

setSalutation

public void setSalutation(CustomerSalutation salutation)
                   throws SystemException
Specified by:
setSalutation in interface CustomerAddress
Throws:
SystemException

setSuffix

public void setSuffix(CustomerSuffix suffix)
               throws SystemException
Specified by:
setSuffix in interface CustomerAddress
Throws:
SystemException

setLine1

public void setLine1(java.lang.String line1)
              throws SystemException
Specified by:
setLine1 in interface CustomerAddress
Throws:
SystemException

setLine2

public void setLine2(java.lang.String line2)
              throws SystemException
Specified by:
setLine2 in interface CustomerAddress
Throws:
SystemException

setLine3

public void setLine3(java.lang.String line3)
              throws SystemException
Specified by:
setLine3 in interface CustomerAddress
Throws:
SystemException

setPostalCode

public void setPostalCode(java.lang.String postalCode)
                   throws SystemException
Specified by:
setPostalCode in interface CustomerAddress
Throws:
SystemException

setState

public void setState(java.lang.String state)
              throws SystemException
Specified by:
setState in interface CustomerAddress
Throws:
SystemException

setNewCustomer

public void setNewCustomer(boolean newCustomer)
                    throws SystemException
Specified by:
setNewCustomer in interface CustomerAddress
Throws:
SystemException

setTaxReferenceCode

public void setTaxReferenceCode(java.lang.String taxReferenceCode)
                         throws SystemException
Specified by:
setTaxReferenceCode in interface CustomerAddress
Throws:
SystemException

getCreateDate

public RDate getCreateDate()
                    throws SystemException
Throws:
SystemException

getLastUpdateDate

public RDate getLastUpdateDate()
                        throws SystemException
Throws:
SystemException

asAddress

public Address asAddress()
                  throws SystemException
Specified by:
asAddress in interface CustomerAddress
Throws:
SystemException

attributesToString

public java.lang.String attributesToString()
                                    throws SystemException
Overrides:
attributesToString in class DistributedObjectImpl
Throws:
SystemException

allFieldsEqual

public boolean allFieldsEqual(CustomerAddress address)
                       throws SystemException
Specified by:
allFieldsEqual in interface CustomerAddress
Throws:
SystemException

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

getDayTelephoneNumber

public TelephoneNumber getDayTelephoneNumber()
                                      throws SystemException
Specified by:
getDayTelephoneNumber in interface CustomerAddress
Throws:
SystemException

setDayTelephoneNumber

public void setDayTelephoneNumber(TelephoneNumber telVal)
                           throws SystemException
Specified by:
setDayTelephoneNumber in interface CustomerAddress
Throws:
SystemException

getEmailAddress

public EmailAddress getEmailAddress()
                             throws SystemException
Specified by:
getEmailAddress in interface CustomerAddress
Throws:
SystemException

setEmailAddress

public void setEmailAddress(EmailAddress emailVal)
                     throws SystemException
Specified by:
setEmailAddress in interface CustomerAddress
Throws:
SystemException

getEveningTelephoneNumber

public TelephoneNumber getEveningTelephoneNumber()
                                          throws SystemException
Specified by:
getEveningTelephoneNumber in interface CustomerAddress
Throws:
SystemException

setEveningTelephoneNumber

public void setEveningTelephoneNumber(TelephoneNumber telVal)
                               throws SystemException
Specified by:
setEveningTelephoneNumber in interface CustomerAddress
Throws:
SystemException

getCustomerChangeReason

public CustomerChangeReason getCustomerChangeReason()
                                             throws SystemException
Specified by:
getCustomerChangeReason in interface CustomerAddress
Throws:
SystemException

setCustomerChangeReason

public void setCustomerChangeReason(CustomerChangeReason customerChangeReason)
                             throws SystemException
Specified by:
setCustomerChangeReason in interface CustomerAddress
Throws:
SystemException

getGiftRecipientCustomer

public Customer getGiftRecipientCustomer()
                                  throws SystemException
Specified by:
getGiftRecipientCustomer in interface CustomerAddress
Throws:
SystemException

setGiftRecipientCustomer

public void setGiftRecipientCustomer(Customer giftRecipientCustomer)
                              throws SystemException
Throws:
SystemException

toString

public java.lang.String toString()
Overrides:
toString in class DistributedObjectImpl

isValidationNeeded

public boolean isValidationNeeded()
                           throws SystemException
Specified by:
isValidationNeeded in interface CustomerAddress
Throws:
SystemException

setValidationNeeded

public void setValidationNeeded(boolean validation)
                         throws SystemException
Specified by:
setValidationNeeded in interface CustomerAddress
Throws:
SystemException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28