com.retek.component.customerorder.impl
Class ReturnLineAccommodationAdjustmentImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.component.customerorder.impl.ReturnLineAccommodationAdjustmentImpl
All Implemented Interfaces:
BusinessObject, ReturnLineAccommodationAdjustment, SecondClassObject

public class ReturnLineAccommodationAdjustmentImpl
extends SecondClassObjectImpl
implements ReturnLineAccommodationAdjustment


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Constructor Summary
ReturnLineAccommodationAdjustmentImpl(DistributedContext context)
           
ReturnLineAccommodationAdjustmentImpl(DistributedContext context, ReturnLineAccommodationAdjustmentDto dto)
           
 
Method Summary
 GeneralAccommodation getAccommodation()
          Return the accommodation for the return line accommodation adjustment, can be null if the adjustment type is for TAX.
 Money getAmount()
          Return the accommodation adjustment amount.
 java.lang.String getDescription()
          Return a description for the accommodation adjustment.
 ReturnLineAccommodationAdjustmentDto getDto()
           
 CustomerOrderServiceLine getServiceLine()
          Return the source service line for the accommodation adjustment.
 ReturnLineAccommodationAdjustmentType getType()
          Return the accommodation adjustment type for the return line.
 boolean isShippingAndHandlingAccommodation()
          Return a boolean indicating if this adjustment is for a shipping and handling accommodation.
 boolean isValueAddedServiceAccommodation()
          Return a boolean indicating if this adjustment is for a value added service accommodation.
 void setAccommodation(GeneralAccommodation accommodation)
           
 void setAmount(Money amount)
           
 void setServiceLine(CustomerOrderServiceLine serviceLine)
           
 void setType(ReturnLineAccommodationAdjustmentType type)
           
 
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

ReturnLineAccommodationAdjustmentImpl

public ReturnLineAccommodationAdjustmentImpl(DistributedContext context)

ReturnLineAccommodationAdjustmentImpl

public ReturnLineAccommodationAdjustmentImpl(DistributedContext context,
                                             ReturnLineAccommodationAdjustmentDto dto)
Method Detail

getDto

public ReturnLineAccommodationAdjustmentDto getDto()

getAmount

public Money getAmount()
Description copied from interface: ReturnLineAccommodationAdjustment
Return the accommodation adjustment amount.

Specified by:
getAmount in interface ReturnLineAccommodationAdjustment
Returns:
Money amount of the adjustment

setAmount

public void setAmount(Money amount)

getType

public ReturnLineAccommodationAdjustmentType getType()
Description copied from interface: ReturnLineAccommodationAdjustment
Return the accommodation adjustment type for the return line.

Specified by:
getType in interface ReturnLineAccommodationAdjustment
Returns:
ReturnLineAccommodationAdjustmentType adjustment type

setType

public void setType(ReturnLineAccommodationAdjustmentType type)

isShippingAndHandlingAccommodation

public boolean isShippingAndHandlingAccommodation()
                                           throws SystemException
Description copied from interface: ReturnLineAccommodationAdjustment
Return a boolean indicating if this adjustment is for a shipping and handling accommodation.

Specified by:
isShippingAndHandlingAccommodation in interface ReturnLineAccommodationAdjustment
Returns:
true if shipping and handling accommodation adjustment
Throws:
SystemException

isValueAddedServiceAccommodation

public boolean isValueAddedServiceAccommodation()
Description copied from interface: ReturnLineAccommodationAdjustment
Return a boolean indicating if this adjustment is for a value added service accommodation.

Specified by:
isValueAddedServiceAccommodation in interface ReturnLineAccommodationAdjustment
Returns:
true if value added service accommodation adjustment

getAccommodation

public GeneralAccommodation getAccommodation()
                                      throws SystemException
Description copied from interface: ReturnLineAccommodationAdjustment
Return the accommodation for the return line accommodation adjustment, can be null if the adjustment type is for TAX.

Specified by:
getAccommodation in interface ReturnLineAccommodationAdjustment
Returns:
Accommodation source accommodation, can be null
Throws:
SystemException

setAccommodation

public void setAccommodation(GeneralAccommodation accommodation)

getServiceLine

public CustomerOrderServiceLine getServiceLine()
                                        throws SystemException
Description copied from interface: ReturnLineAccommodationAdjustment
Return the source service line for the accommodation adjustment. May be null if this adjustment is not for a value added service accommodation.

Specified by:
getServiceLine in interface ReturnLineAccommodationAdjustment
Returns:
CustomerOrderServiceLine service line for accommodation adjustment
Throws:
SystemException

setServiceLine

public void setServiceLine(CustomerOrderServiceLine serviceLine)

getDescription

public java.lang.String getDescription()
                                throws SystemException
Description copied from interface: ReturnLineAccommodationAdjustment
Return a description for the accommodation adjustment.

Specified by:
getDescription in interface ReturnLineAccommodationAdjustment
Returns:
String adjustment description
Throws:
SystemException


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