com.retek.component.salesaudit.impl
Class SaeServiceImpl
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.SaeServiceImpl
- All Implemented Interfaces:
- BusinessObject, ElementObject, SaeElement, SaeService, SecondClassObject
- public class SaeServiceImpl
- extends SaeElementImpl
- implements SaeService
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SaeServiceImpl
public SaeServiceImpl(DistributedContext context,
SaeServiceDto dto)
getSaeServiceDto
protected SaeServiceDto getSaeServiceDto()
getServiceQuantity
public Quantity getServiceQuantity()
- Specified by:
getServiceQuantity
in interface SaeService
setServiceQuantity
public void setServiceQuantity(Quantity quantity)
- Specified by:
setServiceQuantity
in interface SaeService
getServiceType
public java.lang.String getServiceType()
- Specified by:
getServiceType
in interface SaeService
setServiceType
public void setServiceType(java.lang.String serviceType)
- Specified by:
setServiceType
in interface SaeService
getServiceUnitAmount
public Money getServiceUnitAmount()
- Specified by:
getServiceUnitAmount
in interface SaeService
setServiceUnitAmount
public void setServiceUnitAmount(Money unitAmount)
- Specified by:
setServiceUnitAmount
in interface SaeService
getDiscounts
public java.util.List getDiscounts()
throws SystemException
- Description copied from interface:
SaeService
- Return the discount elements for the transaction.
- Specified by:
getDiscounts
in interface SaeService
- Returns:
- List discount elements
- Throws:
SystemException
addDiscount
public void addDiscount(SaeDiscount discount)
- Specified by:
addDiscount
in interface SaeService
getTax
public SaeTax getTax()
throws SystemException
- Description copied from interface:
SaeService
- Return the tax element for the service. Will be null
for all services other than Standard S&H Service.
- Specified by:
getTax
in interface SaeService
- Returns:
- SaeTax tax element
- Throws:
SystemException
setTax
public void setTax(SaeTax tax)
- Specified by:
setTax
in interface SaeService
getServiceItem
public SaeItem getServiceItem()
throws SystemException
- Description copied from interface:
SaeService
- Return the service item for this service element.
- Specified by:
getServiceItem
in interface SaeService
- Returns:
- SaeItem service item
- Throws:
SystemException
setServiceItem
public void setServiceItem(SaeItem item)
- Specified by:
setServiceItem
in interface SaeService
addElement
public void addElement(ElementObject element)
- Specified by:
addElement
in class ElementObjectImpl
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
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28