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

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

public class CustomerIntegrationCustomerTelephoneImpl
extends CustomerIntegrationCustomerElementImpl
implements CustomerIntegrationCustomerTelephone

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.CustomerIntegrationCustomerTelephone
TELEPHONE_NUMBER
 
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
CustomerIntegrationCustomerTelephoneImpl(CustomerTelephone customerTelephone)
           
CustomerIntegrationCustomerTelephoneImpl(DistributedContext context, CustomerIntegrationCustomerTelephoneDto dto)
           
CustomerIntegrationCustomerTelephoneImpl(DistributedContext context, CustomerTelephoneDto customerTelephoneDto)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 java.lang.String getCustomerTelephoneId()
           
 CustomerIntegrationCustomerTelephoneDto getDto()
           
 java.lang.String getExtension()
           
 java.lang.String getPrimaryDayTelephoneFlag()
           
 java.lang.String getPrimaryEveningTelephoneFlag()
           
 java.lang.String getTelephoneNumber()
           
 boolean isNewCustomerEntity()
           
 void setAttributes(java.util.Map attributes)
           
 void setCustomerTelephoneId(java.lang.String customerTelephoneId)
           
 void setExtension(java.lang.String extension)
           
 void setPrimaryDayTelephoneFlag(java.lang.String primaryDayTelephoneFlag)
           
 void setPrimaryEveningTelephoneFlag(java.lang.String primaryEveningTelephoneFlag)
           
 void setTelephoneNumber(java.lang.String telephoneNumber)
           
 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

CustomerIntegrationCustomerTelephoneImpl

public CustomerIntegrationCustomerTelephoneImpl(DistributedContext context,
                                                CustomerIntegrationCustomerTelephoneDto dto)

CustomerIntegrationCustomerTelephoneImpl

public CustomerIntegrationCustomerTelephoneImpl(CustomerTelephone customerTelephone)
                                         throws SystemException

CustomerIntegrationCustomerTelephoneImpl

public CustomerIntegrationCustomerTelephoneImpl(DistributedContext context,
                                                CustomerTelephoneDto customerTelephoneDto)
                                         throws SystemException
Method Detail

getDto

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

getCustomerTelephoneId

public java.lang.String getCustomerTelephoneId()
Specified by:
getCustomerTelephoneId in interface CustomerIntegrationCustomerTelephone

getPrimaryDayTelephoneFlag

public java.lang.String getPrimaryDayTelephoneFlag()
Specified by:
getPrimaryDayTelephoneFlag in interface CustomerIntegrationCustomerTelephone

getPrimaryEveningTelephoneFlag

public java.lang.String getPrimaryEveningTelephoneFlag()
Specified by:
getPrimaryEveningTelephoneFlag in interface CustomerIntegrationCustomerTelephone

getTelephoneNumber

public java.lang.String getTelephoneNumber()
Specified by:
getTelephoneNumber in interface CustomerIntegrationCustomerTelephone

getExtension

public java.lang.String getExtension()
Specified by:
getExtension in interface CustomerIntegrationCustomerTelephone

setCustomerTelephoneId

public void setCustomerTelephoneId(java.lang.String customerTelephoneId)
Specified by:
setCustomerTelephoneId in interface CustomerIntegrationCustomerTelephone

setPrimaryDayTelephoneFlag

public void setPrimaryDayTelephoneFlag(java.lang.String primaryDayTelephoneFlag)
Specified by:
setPrimaryDayTelephoneFlag in interface CustomerIntegrationCustomerTelephone

setPrimaryEveningTelephoneFlag

public void setPrimaryEveningTelephoneFlag(java.lang.String primaryEveningTelephoneFlag)
Specified by:
setPrimaryEveningTelephoneFlag in interface CustomerIntegrationCustomerTelephone

setTelephoneNumber

public void setTelephoneNumber(java.lang.String telephoneNumber)
Specified by:
setTelephoneNumber in interface CustomerIntegrationCustomerTelephone

setExtension

public void setExtension(java.lang.String extension)
Specified by:
setExtension in interface CustomerIntegrationCustomerTelephone

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