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

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

public class CustomerIntegrationMergeRequestImpl
extends CustomerIntegrationElementImpl
implements CustomerIntegrationMergeRequest

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.CustomerIntegrationMergeRequest
REQUEST_TYPE_EXPORT, REQUEST_TYPE_IMPORT
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationElement
N_FLAG, Y_FLAG
 
Constructor Summary
CustomerIntegrationMergeRequestImpl(CustomerMergeRequest mergeRequest)
           
CustomerIntegrationMergeRequestImpl(DistributedContext context, CustomerIntegrationMergeRequestDto dto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 void addMergeCustomer(CustomerIntegrationMergeCustomer mergeCustomer)
           
 CustomerIntegrationMergeCustomer getActiveCustomer()
           
 RDate getCreateDate()
           
 java.lang.String getCreatedByUser()
           
 CustomerIntegrationMergeRequestDto getDto()
           
 java.util.List getMergeCustomers()
           
 java.lang.String getRequestId()
           
 java.lang.String getRequestType()
           
 void setActiveCustomer(CustomerIntegrationMergeCustomer activeCustomer)
           
 void setAttributes(java.util.Map attributes)
           
 void setCreateDate(RDate createDate)
           
 void setCreatedByUser(java.lang.String createdByUser)
           
 void setRequestId(java.lang.String requestId)
           
 void setRequestType(java.lang.String requestType)
           
 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

CustomerIntegrationMergeRequestImpl

public CustomerIntegrationMergeRequestImpl(DistributedContext context,
                                           CustomerIntegrationMergeRequestDto dto)

CustomerIntegrationMergeRequestImpl

public CustomerIntegrationMergeRequestImpl(CustomerMergeRequest mergeRequest)
                                    throws SystemException
Method Detail

getDto

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

getRequestId

public java.lang.String getRequestId()
Specified by:
getRequestId in interface CustomerIntegrationMergeRequest

getRequestType

public java.lang.String getRequestType()
Specified by:
getRequestType in interface CustomerIntegrationMergeRequest

setRequestId

public void setRequestId(java.lang.String requestId)
Specified by:
setRequestId in interface CustomerIntegrationMergeRequest

setRequestType

public void setRequestType(java.lang.String requestType)
Specified by:
setRequestType in interface CustomerIntegrationMergeRequest

getCreateDate

public RDate getCreateDate()
Specified by:
getCreateDate in interface CustomerIntegrationMergeRequest

setCreateDate

public void setCreateDate(RDate createDate)
Specified by:
setCreateDate in interface CustomerIntegrationMergeRequest

getCreatedByUser

public java.lang.String getCreatedByUser()
Specified by:
getCreatedByUser in interface CustomerIntegrationMergeRequest

setCreatedByUser

public void setCreatedByUser(java.lang.String createdByUser)
Specified by:
setCreatedByUser in interface CustomerIntegrationMergeRequest

getActiveCustomer

public CustomerIntegrationMergeCustomer getActiveCustomer()
                                                   throws SystemException
Specified by:
getActiveCustomer in interface CustomerIntegrationMergeRequest
Throws:
SystemException

setActiveCustomer

public void setActiveCustomer(CustomerIntegrationMergeCustomer activeCustomer)
Specified by:
setActiveCustomer in interface CustomerIntegrationMergeRequest

getMergeCustomers

public java.util.List getMergeCustomers()
                                 throws SystemException
Specified by:
getMergeCustomers in interface CustomerIntegrationMergeRequest
Throws:
SystemException

addMergeCustomer

public void addMergeCustomer(CustomerIntegrationMergeCustomer mergeCustomer)
Specified by:
addMergeCustomer in interface CustomerIntegrationMergeRequest

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