com.retek.component.promotion.impl
Class OrderQuantityThresholdImpl

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.OrderQuantityThresholdImpl
All Implemented Interfaces:
BusinessObject, DistributedObject, OrderQuantityThreshold, PromotionThreshold

public class OrderQuantityThresholdImpl
extends PromotionThresholdImpl
implements OrderQuantityThreshold


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
OrderQuantityThresholdImpl(DistributedContext context, DistributedReference ref)
           
OrderQuantityThresholdImpl(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.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.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

OrderQuantityThresholdImpl

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

OrderQuantityThresholdImpl

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

getQuantity

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

setQuantity

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