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

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.CustomerIntegrationMergeCustomerImpl
All Implemented Interfaces:
BusinessObject, CustomerIntegrationElement, CustomerIntegrationMergeCustomer, ElementObject, SecondClassObject

public class CustomerIntegrationMergeCustomerImpl
extends CustomerIntegrationElementImpl
implements CustomerIntegrationMergeCustomer

Class which represents customer integration merge request.


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationMergeCustomer
MERGE_STATUS_ACTIVE, MERGE_STATUS_MERGE
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationElement
N_FLAG, Y_FLAG
 
Constructor Summary
CustomerIntegrationMergeCustomerImpl(Customer customer, java.lang.String mergeStatus)
           
CustomerIntegrationMergeCustomerImpl(DistributedContext context, CustomerIntegrationMergeCustomerDto dto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 java.lang.String getCustomerId()
           
 CustomerIntegrationMergeCustomerDto getDto()
           
 java.lang.String getHouseholdNumber()
           
 java.lang.String getMergeStatus()
           
 java.lang.String getSubAccountNumber()
           
 boolean isActiveCustomer()
           
 void setAttributes(java.util.Map attributes)
           
 void setCustomerId(java.lang.String customerId)
           
 void setHouseholdNumber(java.lang.String householdNumber)
           
 void setMergeStatus(java.lang.String mergeStatus)
           
 void setSubAccountNumber(java.lang.String subAccountNumber)
           
 java.lang.String toXml()
          Convert the element to an xml string.
 
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, toString
 
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.commons.component.xml.ElementObject
getElementId, getParentElementId
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerIntegrationMergeCustomerImpl

public CustomerIntegrationMergeCustomerImpl(DistributedContext context,
                                            CustomerIntegrationMergeCustomerDto dto)

CustomerIntegrationMergeCustomerImpl

public CustomerIntegrationMergeCustomerImpl(Customer customer,
                                            java.lang.String mergeStatus)
                                     throws SystemException
Method Detail

getDto

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

getMergeStatus

public java.lang.String getMergeStatus()
Specified by:
getMergeStatus in interface CustomerIntegrationMergeCustomer

setMergeStatus

public void setMergeStatus(java.lang.String mergeStatus)
Specified by:
setMergeStatus in interface CustomerIntegrationMergeCustomer

isActiveCustomer

public boolean isActiveCustomer()
Specified by:
isActiveCustomer in interface CustomerIntegrationMergeCustomer

getCustomerId

public java.lang.String getCustomerId()
Specified by:
getCustomerId in interface CustomerIntegrationMergeCustomer

setCustomerId

public void setCustomerId(java.lang.String customerId)
Specified by:
setCustomerId in interface CustomerIntegrationMergeCustomer

getHouseholdNumber

public java.lang.String getHouseholdNumber()
Specified by:
getHouseholdNumber in interface CustomerIntegrationMergeCustomer

setHouseholdNumber

public void setHouseholdNumber(java.lang.String householdNumber)
Specified by:
setHouseholdNumber in interface CustomerIntegrationMergeCustomer

getSubAccountNumber

public java.lang.String getSubAccountNumber()
Specified by:
getSubAccountNumber in interface CustomerIntegrationMergeCustomer

setSubAccountNumber

public void setSubAccountNumber(java.lang.String subAccountNumber)
Specified by:
setSubAccountNumber in interface CustomerIntegrationMergeCustomer

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


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