com.retek.component.customer.integration.impl
Class CustomerIntegrationCustomerAddressImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.commons.component.xml.impl.ElementObjectImpl
              extended bycom.retek.component.customer.integration.impl.CustomerIntegrationElementImpl
                  extended bycom.retek.component.customer.integration.impl.CustomerIntegrationCustomerElementImpl
                      extended bycom.retek.component.customer.integration.impl.CustomerIntegrationCustomerAddressImpl
All Implemented Interfaces:
BusinessObject, CustomerIntegrationCustomerAddress, CustomerIntegrationCustomerElement, CustomerIntegrationElement, ElementObject, SecondClassObject

public class CustomerIntegrationCustomerAddressImpl
extends CustomerIntegrationCustomerElementImpl
implements CustomerIntegrationCustomerAddress

Class which represents a customer integration customer address.


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerAddress
ADDRESS_LABEL, ADDRESS_LINE1, BILL_TO_ADDRESS_FLAG, CITY, COUNTRY_CODE, DAY_PHONE, EVENING_PHONE, FIRST_NAME, LAST_NAME, POSTAL_CODE, STATE
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerElement
CREATE_DATE, CREATED_BY_USER, LAST_UPDATE_DATE, LAST_UPDATED_BY_USER
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationElement
N_FLAG, Y_FLAG
 
Constructor Summary
CustomerIntegrationCustomerAddressImpl(CustomerAddress customerAddress)
           
CustomerIntegrationCustomerAddressImpl(DistributedContext context, CustomerAddressDto customerAddressDto)
           
CustomerIntegrationCustomerAddressImpl(DistributedContext context, CustomerIntegrationCustomerAddressDto dto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 java.lang.String getAddressLabel()
           
 java.lang.String getAddressLine1()
           
 java.lang.String getAddressLine2()
           
 java.lang.String getAddressLine3()
           
 java.lang.String getAttention()
           
 java.lang.String getBillToAddressFlag()
           
 java.lang.String getChangeReasonCode()
           
 java.lang.String getCity()
           
 java.lang.String getCountryCode()
           
 java.lang.String getCountyName()
           
 java.lang.String getCustomerAddressId()
           
 java.lang.String getDayTelephoneExtension()
           
 java.lang.String getDayTelephoneNumber()
           
 CustomerIntegrationCustomerAddressDto getDto()
           
 java.lang.String getEmailAddress()
           
 java.lang.String getEveningTelephoneExtension()
           
 java.lang.String getEveningTelephoneNumber()
           
 java.lang.String getFirstName()
           
 java.lang.String getGiftReceiptCustomerId()
           
 java.lang.String getLastName()
           
 java.lang.String getMiddleInitial()
           
 java.lang.String getNameSuffixCode()
           
 java.lang.String getNameTitleCode()
           
 java.lang.String getPostalCode()
           
 java.lang.String getPrimaryBillToAddressFlag()
           
 java.lang.String getPrimaryShipToAddressFlag()
           
 java.lang.String getState()
           
 java.lang.String getTaxReferenceCode()
           
 boolean isNewCustomerEntity()
           
 boolean isPrimaryBillToAddress()
           
 boolean isPrimaryShipToAddress()
           
 void setAddressLabel(java.lang.String addressLabel)
           
 void setAddressLine1(java.lang.String addressLine1)
           
 void setAddressLine2(java.lang.String addressLine2)
           
 void setAddressLine3(java.lang.String addressLine3)
           
 void setAttention(java.lang.String attention)
           
 void setAttributes(java.util.Map attributes)
           
 void setBillToAddressFlag(java.lang.String billToAddressFlag)
           
 void setChangeReasonCode(java.lang.String changeReasonCode)
           
 void setCity(java.lang.String city)
           
 void setCountryCode(java.lang.String countryCode)
           
 void setCountyName(java.lang.String countyName)
           
 void setCustomerAddressId(java.lang.String customerAddressId)
           
 void setDayTelephoneExtension(java.lang.String dayTelephoneExtension)
           
 void setDayTelephoneNumber(java.lang.String dayTelephoneNumber)
           
 void setEmailAddress(java.lang.String emailAddress)
           
 void setEveningTelephoneExtension(java.lang.String eveningTelephoneExtension)
           
 void setEveningTelephoneNumber(java.lang.String eveningTelephoneNumber)
           
 void setFirstName(java.lang.String firstName)
           
 void setGiftReceiptCustomerId(java.lang.String giftReceiptCustomerId)
           
 void setLastName(java.lang.String lastName)
           
 void setMiddleInitial(java.lang.String middleInitial)
           
 void setNameSuffixCode(java.lang.String nameSuffixCode)
           
 void setNameTitleCode(java.lang.String nameTitleCode)
           
 void setPostalCode(java.lang.String postalCode)
           
 void setPrimaryBillToAddressFlag(java.lang.String primaryBillToAddressFlag)
           
 void setPrimaryShipToAddressFlag(java.lang.String primaryShipToAddressFlag)
           
 void setState(java.lang.String state)
           
 void setTaxReferenceCode(java.lang.String taxReferenceCode)
           
 java.lang.String toString()
           
 java.lang.String toXml()
          Convert the element to an xml string.
 
Methods inherited from class com.retek.component.customer.integration.impl.CustomerIntegrationCustomerElementImpl
getActiveFlag, getBannerCode, getCreateDate, getCreatedByUser, getCustomerIntegrationBaseCustomerDto, getLastUpdateDate, getLastUpdatedByUser, getSourceCode, getUserName, setActiveFlag, setCreateDate, setCreatedByUser, setLastUpdateDate, setLastUpdatedByUser
 
Methods inherited from class com.retek.component.customer.integration.impl.CustomerIntegrationElementImpl
getCustomerIntegrationElementDto
 
Methods inherited from class com.retek.commons.component.xml.impl.ElementObjectImpl
getElementId, getElementObjectDto, getParentElementId, setElementId, setParentElementId, setSubElements
 
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl
equals, getGenericDto, hashCode, setGenericDto, 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.component.customer.integration.CustomerIntegrationCustomerElement
getActiveFlag, getCreateDate, getCreatedByUser, getLastUpdateDate, getLastUpdatedByUser, setActiveFlag, setCreateDate, setCreatedByUser, setLastUpdateDate, setLastUpdatedByUser
 
Methods inherited from interface com.retek.commons.component.xml.ElementObject
getElementId, getParentElementId
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerIntegrationCustomerAddressImpl

public CustomerIntegrationCustomerAddressImpl(DistributedContext context,
                                              CustomerIntegrationCustomerAddressDto dto)

CustomerIntegrationCustomerAddressImpl

public CustomerIntegrationCustomerAddressImpl(CustomerAddress customerAddress)
                                       throws SystemException

CustomerIntegrationCustomerAddressImpl

public CustomerIntegrationCustomerAddressImpl(DistributedContext context,
                                              CustomerAddressDto customerAddressDto)
                                       throws SystemException
Method Detail

getDto

public CustomerIntegrationCustomerAddressDto getDto()

accept

public void accept(CustomerIntegrationElementVisitor visitor)
            throws SystemException,
                   BusinessException
Description copied from interface: CustomerIntegrationElement
Accept a customer integration element visitor. See the GOF Visitor pattern.

Specified by:
accept in interface CustomerIntegrationElement
Parameters:
visitor - element visitor
Throws:
SystemException
BusinessException

isNewCustomerEntity

public boolean isNewCustomerEntity()
Specified by:
isNewCustomerEntity in interface CustomerIntegrationCustomerElement

getCustomerAddressId

public java.lang.String getCustomerAddressId()
Specified by:
getCustomerAddressId in interface CustomerIntegrationCustomerAddress

getAddressLabel

public java.lang.String getAddressLabel()
Specified by:
getAddressLabel in interface CustomerIntegrationCustomerAddress

getAddressLine1

public java.lang.String getAddressLine1()
Specified by:
getAddressLine1 in interface CustomerIntegrationCustomerAddress

getAddressLine2

public java.lang.String getAddressLine2()
Specified by:
getAddressLine2 in interface CustomerIntegrationCustomerAddress

getAddressLine3

public java.lang.String getAddressLine3()
Specified by:
getAddressLine3 in interface CustomerIntegrationCustomerAddress

getAttention

public java.lang.String getAttention()
Specified by:
getAttention in interface CustomerIntegrationCustomerAddress

getBillToAddressFlag

public java.lang.String getBillToAddressFlag()
Specified by:
getBillToAddressFlag in interface CustomerIntegrationCustomerAddress

getChangeReasonCode

public java.lang.String getChangeReasonCode()
Specified by:
getChangeReasonCode in interface CustomerIntegrationCustomerAddress

getCity

public java.lang.String getCity()
Specified by:
getCity in interface CustomerIntegrationCustomerAddress

getCountryCode

public java.lang.String getCountryCode()
Specified by:
getCountryCode in interface CustomerIntegrationCustomerAddress

getCountyName

public java.lang.String getCountyName()
Specified by:
getCountyName in interface CustomerIntegrationCustomerAddress

getDayTelephoneNumber

public java.lang.String getDayTelephoneNumber()
Specified by:
getDayTelephoneNumber in interface CustomerIntegrationCustomerAddress

getDayTelephoneExtension

public java.lang.String getDayTelephoneExtension()
Specified by:
getDayTelephoneExtension in interface CustomerIntegrationCustomerAddress

getEmailAddress

public java.lang.String getEmailAddress()
Specified by:
getEmailAddress in interface CustomerIntegrationCustomerAddress

getEveningTelephoneNumber

public java.lang.String getEveningTelephoneNumber()
Specified by:
getEveningTelephoneNumber in interface CustomerIntegrationCustomerAddress

getEveningTelephoneExtension

public java.lang.String getEveningTelephoneExtension()
Specified by:
getEveningTelephoneExtension in interface CustomerIntegrationCustomerAddress

getFirstName

public java.lang.String getFirstName()
Specified by:
getFirstName in interface CustomerIntegrationCustomerAddress

getGiftReceiptCustomerId

public java.lang.String getGiftReceiptCustomerId()
Specified by:
getGiftReceiptCustomerId in interface CustomerIntegrationCustomerAddress

getLastName

public java.lang.String getLastName()
Specified by:
getLastName in interface CustomerIntegrationCustomerAddress

getMiddleInitial

public java.lang.String getMiddleInitial()
Specified by:
getMiddleInitial in interface CustomerIntegrationCustomerAddress

getNameSuffixCode

public java.lang.String getNameSuffixCode()
Specified by:
getNameSuffixCode in interface CustomerIntegrationCustomerAddress

getNameTitleCode

public java.lang.String getNameTitleCode()
Specified by:
getNameTitleCode in interface CustomerIntegrationCustomerAddress

getPostalCode

public java.lang.String getPostalCode()
Specified by:
getPostalCode in interface CustomerIntegrationCustomerAddress

getPrimaryBillToAddressFlag

public java.lang.String getPrimaryBillToAddressFlag()
Specified by:
getPrimaryBillToAddressFlag in interface CustomerIntegrationCustomerAddress

isPrimaryBillToAddress

public boolean isPrimaryBillToAddress()
Specified by:
isPrimaryBillToAddress in interface CustomerIntegrationCustomerAddress

getPrimaryShipToAddressFlag

public java.lang.String getPrimaryShipToAddressFlag()
Specified by:
getPrimaryShipToAddressFlag in interface CustomerIntegrationCustomerAddress

isPrimaryShipToAddress

public boolean isPrimaryShipToAddress()
Specified by:
isPrimaryShipToAddress in interface CustomerIntegrationCustomerAddress

getState

public java.lang.String getState()
Specified by:
getState in interface CustomerIntegrationCustomerAddress

getTaxReferenceCode

public java.lang.String getTaxReferenceCode()
Specified by:
getTaxReferenceCode in interface CustomerIntegrationCustomerAddress

setCustomerAddressId

public void setCustomerAddressId(java.lang.String customerAddressId)
Specified by:
setCustomerAddressId in interface CustomerIntegrationCustomerAddress

setAddressLabel

public void setAddressLabel(java.lang.String addressLabel)
Specified by:
setAddressLabel in interface CustomerIntegrationCustomerAddress

setAddressLine1

public void setAddressLine1(java.lang.String addressLine1)
Specified by:
setAddressLine1 in interface CustomerIntegrationCustomerAddress

setAddressLine2

public void setAddressLine2(java.lang.String addressLine2)
Specified by:
setAddressLine2 in interface CustomerIntegrationCustomerAddress

setAddressLine3

public void setAddressLine3(java.lang.String addressLine3)
Specified by:
setAddressLine3 in interface CustomerIntegrationCustomerAddress

setAttention

public void setAttention(java.lang.String attention)
Specified by:
setAttention in interface CustomerIntegrationCustomerAddress

setBillToAddressFlag

public void setBillToAddressFlag(java.lang.String billToAddressFlag)
Specified by:
setBillToAddressFlag in interface CustomerIntegrationCustomerAddress

setChangeReasonCode

public void setChangeReasonCode(java.lang.String changeReasonCode)
Specified by:
setChangeReasonCode in interface CustomerIntegrationCustomerAddress

setCity

public void setCity(java.lang.String city)
Specified by:
setCity in interface CustomerIntegrationCustomerAddress

setCountryCode

public void setCountryCode(java.lang.String countryCode)
Specified by:
setCountryCode in interface CustomerIntegrationCustomerAddress

setCountyName

public void setCountyName(java.lang.String countyName)
Specified by:
setCountyName in interface CustomerIntegrationCustomerAddress

setDayTelephoneNumber

public void setDayTelephoneNumber(java.lang.String dayTelephoneNumber)
Specified by:
setDayTelephoneNumber in interface CustomerIntegrationCustomerAddress

setDayTelephoneExtension

public void setDayTelephoneExtension(java.lang.String dayTelephoneExtension)
Specified by:
setDayTelephoneExtension in interface CustomerIntegrationCustomerAddress

setEmailAddress

public void setEmailAddress(java.lang.String emailAddress)
Specified by:
setEmailAddress in interface CustomerIntegrationCustomerAddress

setEveningTelephoneNumber

public void setEveningTelephoneNumber(java.lang.String eveningTelephoneNumber)

setEveningTelephoneExtension

public void setEveningTelephoneExtension(java.lang.String eveningTelephoneExtension)
Specified by:
setEveningTelephoneExtension in interface CustomerIntegrationCustomerAddress

setFirstName

public void setFirstName(java.lang.String firstName)
Specified by:
setFirstName in interface CustomerIntegrationCustomerAddress

setGiftReceiptCustomerId

public void setGiftReceiptCustomerId(java.lang.String giftReceiptCustomerId)
Specified by:
setGiftReceiptCustomerId in interface CustomerIntegrationCustomerAddress

setLastName

public void setLastName(java.lang.String lastName)
Specified by:
setLastName in interface CustomerIntegrationCustomerAddress

setMiddleInitial

public void setMiddleInitial(java.lang.String middleInitial)

setNameSuffixCode

public void setNameSuffixCode(java.lang.String nameSuffixCode)
Specified by:
setNameSuffixCode in interface CustomerIntegrationCustomerAddress

setNameTitleCode

public void setNameTitleCode(java.lang.String nameTitleCode)
Specified by:
setNameTitleCode in interface CustomerIntegrationCustomerAddress

setPostalCode

public void setPostalCode(java.lang.String postalCode)
Specified by:
setPostalCode in interface CustomerIntegrationCustomerAddress

setPrimaryBillToAddressFlag

public void setPrimaryBillToAddressFlag(java.lang.String primaryBillToAddressFlag)
Specified by:
setPrimaryBillToAddressFlag in interface CustomerIntegrationCustomerAddress

setPrimaryShipToAddressFlag

public void setPrimaryShipToAddressFlag(java.lang.String primaryShipToAddressFlag)
Specified by:
setPrimaryShipToAddressFlag in interface CustomerIntegrationCustomerAddress

setState

public void setState(java.lang.String state)
Specified by:
setState in interface CustomerIntegrationCustomerAddress

setTaxReferenceCode

public void setTaxReferenceCode(java.lang.String taxReferenceCode)
Specified by:
setTaxReferenceCode in interface CustomerIntegrationCustomerAddress

toXml

public java.lang.String toXml()
                       throws SystemException,
                              XmlBuilderException
Description copied from interface: ElementObject
Convert the element to an xml string.

Specified by:
toXml in interface ElementObject
Returns:
String xml element string
Throws:
SystemException
XmlBuilderException

addElement

public void addElement(ElementObject element)
Specified by:
addElement in class ElementObjectImpl

setAttributes

public void setAttributes(java.util.Map attributes)
Specified by:
setAttributes in class ElementObjectImpl

toString

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


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