com.retek.component.promotion.impl
Class ItemQuantityThresholdImpl

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.ItemQuantityThresholdImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, ItemPromotionThreshold, ItemQuantityThreshold, PromotionThreshold

public class ItemQuantityThresholdImpl
extends ItemPromotionThresholdImpl
implements ItemQuantityThreshold


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
ItemQuantityThresholdImpl(DistributedContext context, DistributedReference ref)
           
ItemQuantityThresholdImpl(DistributedContext context, DistributedReference ref, boolean createHollow)
           
 
Method Summary
 void accept(Promotion promotion, PromotionThresholdVisitor thresholdVisitor)
          Initiate a threhold visitation.
 Quantity getQuantity()
           
 boolean isCurrency()
           
 boolean isQuantity()
           
 void setQuantity(Quantity quantity)
           
 
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

ItemQuantityThresholdImpl

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

ItemQuantityThresholdImpl

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

getQuantity

public Quantity getQuantity()
                     throws SystemException
Specified by:
getQuantity in interface ItemQuantityThreshold
Throws:
SystemException

setQuantity

public void setQuantity(Quantity quantity)
                 throws SystemException
Specified by:
setQuantity in interface ItemQuantityThreshold
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