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

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

public class CustomerIntegrationAlternateNumberImpl
extends CustomerIntegrationElementImpl
implements CustomerIntegrationAlternateNumber

Class which represents a customer integration customer alternate number.


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationAlternateNumber
ALTERnATE_NUMBER_TYPE_CUSTOMER_ID, ALTERNATE_NUMBER_TYPE_HOUSEHOLD_NUMBER
 
Fields inherited from interface com.retek.component.customer.integration.CustomerIntegrationElement
N_FLAG, Y_FLAG
 
Constructor Summary
CustomerIntegrationAlternateNumberImpl(DistributedContext context, CustomerIntegrationAlternateNumberDto dto)
           
CustomerIntegrationAlternateNumberImpl(DistributedContext context, java.lang.String alternateNumberType, java.lang.String alternateNumber)
           
 
Method Summary
 void accept(CustomerIntegrationElementVisitor visitor)
          Accept a customer integration element visitor.
 void addElement(ElementObject element)
           
 java.lang.String getAlternateNumber()
           
 java.lang.String getAlternateNumberType()
           
 CustomerIntegrationAlternateNumberDto getDto()
           
 boolean isAlternateCustomerId()
           
 boolean isAlternateHouseholdNumber()
           
 void setAlternateNumber(java.lang.String alternateNumber)
           
 void setAlternateNumberType(java.lang.String alternateNumberType)
           
 void setAttributes(java.util.Map attributes)
           
 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.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.commons.component.xml.ElementObject
getElementId, getParentElementId
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerIntegrationAlternateNumberImpl

public CustomerIntegrationAlternateNumberImpl(DistributedContext context,
                                              CustomerIntegrationAlternateNumberDto dto)

CustomerIntegrationAlternateNumberImpl

public CustomerIntegrationAlternateNumberImpl(DistributedContext context,
                                              java.lang.String alternateNumberType,
                                              java.lang.String alternateNumber)
Method Detail

getDto

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

getAlternateNumberType

public java.lang.String getAlternateNumberType()
Specified by:
getAlternateNumberType in interface CustomerIntegrationAlternateNumber

setAlternateNumberType

public void setAlternateNumberType(java.lang.String alternateNumberType)
Specified by:
setAlternateNumberType in interface CustomerIntegrationAlternateNumber

isAlternateHouseholdNumber

public boolean isAlternateHouseholdNumber()
Specified by:
isAlternateHouseholdNumber in interface CustomerIntegrationAlternateNumber

isAlternateCustomerId

public boolean isAlternateCustomerId()
Specified by:
isAlternateCustomerId in interface CustomerIntegrationAlternateNumber

getAlternateNumber

public java.lang.String getAlternateNumber()
Specified by:
getAlternateNumber in interface CustomerIntegrationAlternateNumber

setAlternateNumber

public void setAlternateNumber(java.lang.String alternateNumber)
Specified by:
setAlternateNumber in interface CustomerIntegrationAlternateNumber

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