com.retek.component.promotion.impl
Class ItemCurrencyAmountThresholdImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.promotion.impl.PromotionThresholdImpl
              extended bycom.retek.component.promotion.impl.ItemPromotionThresholdImpl
                  extended bycom.retek.component.promotion.impl.ItemCurrencyAmountThresholdImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, ItemCurrencyAmountThreshold, ItemPromotionThreshold, PromotionThreshold

public class ItemCurrencyAmountThresholdImpl
extends ItemPromotionThresholdImpl
implements ItemCurrencyAmountThreshold


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.PromotionThreshold
CURRENCY_AMOUNT, QUANTITY
 
Constructor Summary
ItemCurrencyAmountThresholdImpl(DistributedContext context, DistributedReference ref)
           
ItemCurrencyAmountThresholdImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 void accept(Promotion promotion, PromotionThresholdVisitor thresholdVisitor)
          Initiate a threhold visitation.
 Money getAmount()
           
 boolean isCurrency()
           
 boolean isQuantity()
           
 void setAmount(Money amount)
           
 
Methods inherited from class com.retek.component.promotion.impl.ItemPromotionThresholdImpl
getThresholdableItem, setThresholdableItem
 
Methods inherited from class com.retek.component.promotion.impl.PromotionThresholdImpl
getDto, 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, readLatest, 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.ItemPromotionThreshold
getThresholdableItem, setThresholdableItem
 
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

ItemCurrencyAmountThresholdImpl

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

ItemCurrencyAmountThresholdImpl

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

getAmount

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

setAmount

public void setAmount(Money amount)
               throws SystemException
Specified by:
setAmount in interface ItemCurrencyAmountThreshold
Throws:
SystemException

isCurrency

public boolean isCurrency()
Specified by:
isCurrency in interface PromotionThreshold

isQuantity

public boolean isQuantity()
Specified by:
isQuantity in interface PromotionThreshold

accept

public void accept(Promotion promotion,
                   PromotionThresholdVisitor thresholdVisitor)
            throws SystemException
Description copied from interface: PromotionThreshold
Initiate a threhold visitation.

Specified by:
accept in interface PromotionThreshold
Specified by:
accept in class PromotionThresholdImpl
Throws:
SystemException


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