com.retek.component.customerorder.impl
Class CustomerOrderPromotionAdjustmentImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.component.customerorder.impl.CustomerOrderPromotionAdjustmentImpl
All Implemented Interfaces:
BusinessObject, CustomerOrderPromotionAdjustment, SecondClassObject
Direct Known Subclasses:
ReturnLinePromotionAdjustmentImpl, ShippedContainerLineProratedPromotionImpl

public class CustomerOrderPromotionAdjustmentImpl
extends SecondClassObjectImpl
implements CustomerOrderPromotionAdjustment


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Constructor Summary
protected CustomerOrderPromotionAdjustmentImpl(DistributedContext context, CustomerOrderPromotionAdjustmentDto dto)
           
 
Method Summary
 Money getAmount()
           
 CustomerOrderPromotionDiscountType getDiscountType()
           
 CustomerOrderPromotionAdjustmentDto getDto()
           
 Promotion getPromotion()
           
 CustomerOrderServiceLine getServiceLine()
           
 boolean isAdditionalShippingAndHandlingPromotion()
           
 boolean isItemLevelPromotion()
           
 boolean isStandardShippingAndHandlingPromotion()
           
 boolean isValueAddedServicePromotion()
           
 void setAmount(Money amount)
           
 void setDiscountType(CustomerOrderPromotionDiscountType discountType)
           
 void setPromotion(Promotion promotion)
           
 void setServiceLine(CustomerOrderServiceLine serviceLine)
           
 
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl
equals, getGenericDto, hashCode, setGenericDto, toString, 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.BusinessObject
getBusinessInterface
 

Constructor Detail

CustomerOrderPromotionAdjustmentImpl

protected CustomerOrderPromotionAdjustmentImpl(DistributedContext context,
                                               CustomerOrderPromotionAdjustmentDto dto)
Method Detail

getDto

public CustomerOrderPromotionAdjustmentDto getDto()

getAmount

public Money getAmount()
Specified by:
getAmount in interface CustomerOrderPromotionAdjustment

isItemLevelPromotion

public boolean isItemLevelPromotion()
                             throws SystemException
Specified by:
isItemLevelPromotion in interface CustomerOrderPromotionAdjustment
Throws:
SystemException

isStandardShippingAndHandlingPromotion

public boolean isStandardShippingAndHandlingPromotion()
                                               throws SystemException
Specified by:
isStandardShippingAndHandlingPromotion in interface CustomerOrderPromotionAdjustment
Throws:
SystemException

isAdditionalShippingAndHandlingPromotion

public boolean isAdditionalShippingAndHandlingPromotion()
                                                 throws SystemException
Specified by:
isAdditionalShippingAndHandlingPromotion in interface CustomerOrderPromotionAdjustment
Throws:
SystemException

isValueAddedServicePromotion

public boolean isValueAddedServicePromotion()
                                     throws SystemException
Specified by:
isValueAddedServicePromotion in interface CustomerOrderPromotionAdjustment
Throws:
SystemException

getDiscountType

public CustomerOrderPromotionDiscountType getDiscountType()
Specified by:
getDiscountType in interface CustomerOrderPromotionAdjustment

setDiscountType

public void setDiscountType(CustomerOrderPromotionDiscountType discountType)
Specified by:
setDiscountType in interface CustomerOrderPromotionAdjustment

getPromotion

public Promotion getPromotion()
                       throws SystemException
Specified by:
getPromotion in interface CustomerOrderPromotionAdjustment
Throws:
SystemException

setPromotion

public void setPromotion(Promotion promotion)
Specified by:
setPromotion in interface CustomerOrderPromotionAdjustment

setAmount

public void setAmount(Money amount)
Specified by:
setAmount in interface CustomerOrderPromotionAdjustment

getServiceLine

public CustomerOrderServiceLine getServiceLine()
                                        throws SystemException
Specified by:
getServiceLine in interface CustomerOrderPromotionAdjustment
Throws:
SystemException

setServiceLine

public void setServiceLine(CustomerOrderServiceLine serviceLine)
Specified by:
setServiceLine in interface CustomerOrderPromotionAdjustment


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