com.retek.component.promotion.impl
Class SellingListItemBenefitImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.promotion.impl.PromotionBenefitImpl
              extended bycom.retek.component.promotion.impl.SellingListItemBenefitImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, PromotionBenefit, SellingListItemBenefit

public class SellingListItemBenefitImpl
extends PromotionBenefitImpl
implements SellingListItemBenefit


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.promotion.SellingListItemBenefit
AMOUNT, SELLING_LIST_ITEM
 
Fields inherited from interface com.retek.component.promotion.PromotionBenefit
DOLLAR_OR_PERCENTOFF, PROMOTION_DOLLAR_OFF, PROMOTION_PERCENT_OFF
 
Constructor Summary
SellingListItemBenefitImpl(DistributedContext context, DistributedReference ref)
           
SellingListItemBenefitImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 Money getAmount()
           
 ReceivableItem getReceivableItem()
           
 SellingListItem getSellingListItem()
           
 boolean isAmount()
           
 void setAmount(Money sellingListItemAmount)
           
 void setDollarOff(Money dollarOff)
           
 void setPercentOff(Percent percentOff)
           
 void setSellingListItem(SellingListItem sellingListItem)
           
 
Methods inherited from class com.retek.component.promotion.impl.PromotionBenefitImpl
getDollarOff, getDto, getPercentOff, isDollarOff, isPercentOff, readLatest, setCreateAudit, setUpdateAudit
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, 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.component.promotion.PromotionBenefit
getDollarOff, getPercentOff, isDollarOff, isPercentOff
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

SellingListItemBenefitImpl

public SellingListItemBenefitImpl(DistributedContext context,
                                  DistributedReference ref,
                                  boolean createHollow)
                           throws SystemException

SellingListItemBenefitImpl

public SellingListItemBenefitImpl(DistributedContext context,
                                  DistributedReference ref)
                           throws SystemException
Method Detail

setSellingListItem

public void setSellingListItem(SellingListItem sellingListItem)
                        throws SystemException
Specified by:
setSellingListItem in interface SellingListItemBenefit
Throws:
SystemException

getSellingListItem

public SellingListItem getSellingListItem()
                                   throws SystemException
Specified by:
getSellingListItem in interface SellingListItemBenefit
Throws:
SystemException

getReceivableItem

public ReceivableItem getReceivableItem()
                                 throws SystemException
Throws:
SystemException

setAmount

public void setAmount(Money sellingListItemAmount)
               throws SystemException
Specified by:
setAmount in interface SellingListItemBenefit
Throws:
SystemException

getAmount

public Money getAmount()
                throws SystemException
Specified by:
getAmount in interface SellingListItemBenefit
Throws:
SystemException

setDollarOff

public void setDollarOff(Money dollarOff)
                  throws SystemException
Specified by:
setDollarOff in interface PromotionBenefit
Overrides:
setDollarOff in class PromotionBenefitImpl
Throws:
SystemException

setPercentOff

public void setPercentOff(Percent percentOff)
                   throws SystemException
Specified by:
setPercentOff in interface PromotionBenefit
Overrides:
setPercentOff in class PromotionBenefitImpl
Throws:
SystemException

isAmount

public boolean isAmount()
                 throws SystemException
Specified by:
isAmount in interface SellingListItemBenefit
Throws:
SystemException


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