com.retek.component.salesaudit.impl
Class SaeDiscountImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.SecondClassObjectImpl
com.retek.commons.component.xml.impl.ElementObjectImpl
com.retek.component.salesaudit.impl.SaeElementImpl
com.retek.component.salesaudit.impl.SaeDiscountImpl
- All Implemented Interfaces:
- BusinessObject, ElementObject, SaeDiscount, SaeElement, SecondClassObject
- public class SaeDiscountImpl
- extends SaeElementImpl
- implements SaeDiscount
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SaeDiscountImpl
public SaeDiscountImpl(DistributedContext context,
SaeDiscountDto dto)
getSaeDiscountDto
protected SaeDiscountDto getSaeDiscountDto()
getDiscountType
public java.lang.String getDiscountType()
- Specified by:
getDiscountType
in interface SaeDiscount
setDiscountType
public void setDiscountType(java.lang.String discountType)
- Specified by:
setDiscountType
in interface SaeDiscount
getDiscountAmount
public Money getDiscountAmount()
- Specified by:
getDiscountAmount
in interface SaeDiscount
setDiscountAmount
public void setDiscountAmount(Money discountAmount)
- Specified by:
setDiscountAmount
in interface SaeDiscount
getPromotionNumber
public java.lang.String getPromotionNumber()
- Specified by:
getPromotionNumber
in interface SaeDiscount
setPromotionNumber
public void setPromotionNumber(java.lang.String promotionNumber)
- Specified by:
setPromotionNumber
in interface SaeDiscount
getPromotionFormatType
public java.lang.String getPromotionFormatType()
- Specified by:
getPromotionFormatType
in interface SaeDiscount
setPromotionFormatType
public void setPromotionFormatType(java.lang.String promotionFormatType)
- Specified by:
setPromotionFormatType
in interface SaeDiscount
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
addElement
public void addElement(ElementObject element)
- Specified by:
addElement
in class ElementObjectImpl
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
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28