com.retek.component.salesaudit.impl
Class SaeTaxImpl

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.salesaudit.impl.SaeElementImpl
                  extended bycom.retek.component.salesaudit.impl.SaeTaxImpl
All Implemented Interfaces:
BusinessObject, ElementObject, SaeElement, SaeTax, SecondClassObject

public class SaeTaxImpl
extends SaeElementImpl
implements SaeTax


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.salesaudit.SaeTax
TAX_CODE_STATE
 
Fields inherited from interface com.retek.component.salesaudit.SaeElement
SALES_AUDIT_NO, SALES_AUDIT_YES
 
Constructor Summary
SaeTaxImpl(DistributedContext context, SaeTaxDto dto)
           
 
Method Summary
 void accept(SaeElementVisitor txnVisitor)
          Accept a transaction visitor.
 void addElement(ElementObject element)
           
protected  java.util.Map getAliasAttributeNameMap()
           
 Money getGiftServiceTaxAmount()
           
 Money getMerchandiseTaxAmount()
           
 Money getPersonalizationServiceTaxAmount()
           
 SaeTaxDto getSaeTaxDto()
           
 Money getShippingTaxAmount()
           
 Money getTaxAmount()
           
 java.lang.String getTaxCode()
           
 void setAttributes(java.util.Map attributes)
           
 void setGiftServiceTaxAmount(Money giftServiceTaxAmount)
           
 void setMerchandiseTaxAmount(Money merchandiseTaxAmount)
           
 void setPersonalizationServiceTaxAmount(Money personalizationServiceTaxAmount)
           
 void setShippingTaxAmount(Money shippingTaxAmount)
           
 void setTaxAmount(Money taxAmount)
           
 void setTaxCode(java.lang.String taxCode)
           
 java.lang.String toXml()
          Convert the element to an xml string.
 
Methods inherited from class com.retek.component.salesaudit.impl.SaeElementImpl
getDto
 
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

SaeTaxImpl

public SaeTaxImpl(DistributedContext context,
                  SaeTaxDto dto)
Method Detail

getSaeTaxDto

public SaeTaxDto getSaeTaxDto()

getTaxAmount

public Money getTaxAmount()
Specified by:
getTaxAmount in interface SaeTax

setTaxAmount

public void setTaxAmount(Money taxAmount)
Specified by:
setTaxAmount in interface SaeTax

getTaxCode

public java.lang.String getTaxCode()
Specified by:
getTaxCode in interface SaeTax

setTaxCode

public void setTaxCode(java.lang.String taxCode)
Specified by:
setTaxCode in interface SaeTax

getMerchandiseTaxAmount

public Money getMerchandiseTaxAmount()
Specified by:
getMerchandiseTaxAmount in interface SaeTax

setMerchandiseTaxAmount

public void setMerchandiseTaxAmount(Money merchandiseTaxAmount)
Specified by:
setMerchandiseTaxAmount in interface SaeTax

getShippingTaxAmount

public Money getShippingTaxAmount()
Specified by:
getShippingTaxAmount in interface SaeTax

setShippingTaxAmount

public void setShippingTaxAmount(Money shippingTaxAmount)
Specified by:
setShippingTaxAmount in interface SaeTax

getGiftServiceTaxAmount

public Money getGiftServiceTaxAmount()
Specified by:
getGiftServiceTaxAmount in interface SaeTax

setGiftServiceTaxAmount

public void setGiftServiceTaxAmount(Money giftServiceTaxAmount)
Specified by:
setGiftServiceTaxAmount in interface SaeTax

getPersonalizationServiceTaxAmount

public Money getPersonalizationServiceTaxAmount()
Specified by:
getPersonalizationServiceTaxAmount in interface SaeTax

setPersonalizationServiceTaxAmount

public void setPersonalizationServiceTaxAmount(Money personalizationServiceTaxAmount)
Specified by:
setPersonalizationServiceTaxAmount in interface SaeTax

accept

public void accept(SaeElementVisitor txnVisitor)
            throws SystemException
Description copied from interface: SaeElement
Accept a transaction visitor.

Specified by:
accept in interface SaeElement
Specified by:
accept in class SaeElementImpl
Throws:
SystemException

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

setAttributes

public void setAttributes(java.util.Map attributes)
Specified by:
setAttributes in class ElementObjectImpl

addElement

public void addElement(ElementObject element)
Specified by:
addElement in class ElementObjectImpl

getAliasAttributeNameMap

protected java.util.Map getAliasAttributeNameMap()


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