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

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.CustomerIntegrationCustomerEmailImpl
All Implemented Interfaces:
BusinessObject, CustomerIntegrationCustomerElement, CustomerIntegrationCustomerEmail, CustomerIntegrationElement, ElementObject, SecondClassObject

public class CustomerIntegrationCustomerEmailImpl
extends CustomerIntegrationCustomerElementImpl
implements CustomerIntegrationCustomerEmail

Class which represents a customer integration customer.


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationCustomerEmail
EMAIL_ADDRESS
 
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
CustomerIntegrationCustomerEmailImpl(CustomerEmailAddress customerEmail)
           
CustomerIntegrationCustomerEmailImpl(DistributedContext context, CustomerEmailAddressDto customerEmailDto)
           
CustomerIntegrationCustomerEmailImpl(DistributedContext context, CustomerIntegrationCustomerEmailDto dto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 java.lang.String getCustomerEmailId()
           
 CustomerIntegrationCustomerEmailDto getDto()
           
 java.lang.String getEmailAddress()
           
 java.lang.String getPrimaryEmailFlag()
           
 boolean isNewCustomerEntity()
           
 void setAttributes(java.util.Map attributes)
           
 void setCustomerEmailId(java.lang.String customerEmailId)
           
 void setEmailAddress(java.lang.String emailAddress)
           
 void setPrimaryEmailFlag(java.lang.String primaryEmailFlag)
           
 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

CustomerIntegrationCustomerEmailImpl

public CustomerIntegrationCustomerEmailImpl(DistributedContext context,
                                            CustomerIntegrationCustomerEmailDto dto)

CustomerIntegrationCustomerEmailImpl

public CustomerIntegrationCustomerEmailImpl(CustomerEmailAddress customerEmail)
                                     throws SystemException

CustomerIntegrationCustomerEmailImpl

public CustomerIntegrationCustomerEmailImpl(DistributedContext context,
                                            CustomerEmailAddressDto customerEmailDto)
                                     throws SystemException
Method Detail

getDto

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

getCustomerEmailId

public java.lang.String getCustomerEmailId()
Specified by:
getCustomerEmailId in interface CustomerIntegrationCustomerEmail

getEmailAddress

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

getPrimaryEmailFlag

public java.lang.String getPrimaryEmailFlag()
Specified by:
getPrimaryEmailFlag in interface CustomerIntegrationCustomerEmail

setCustomerEmailId

public void setCustomerEmailId(java.lang.String customerEmailId)
Specified by:
setCustomerEmailId in interface CustomerIntegrationCustomerEmail

setEmailAddress

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

setPrimaryEmailFlag

public void setPrimaryEmailFlag(java.lang.String primaryEmailFlag)
Specified by:
setPrimaryEmailFlag in interface CustomerIntegrationCustomerEmail

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