org.opencrx.kernel.contract1.cci2
Interface ContractPosition

All Superinterfaces:
AddressContainer, BookingOrigin, DeliveryRequestContainer, DepotReferenceHolder, ShippingDetail
All Known Subinterfaces:
AbstractInvoicePosition, AbstractInvoicePosition, AbstractOpportunityPosition, AbstractOpportunityPosition, AbstractQuotePosition, AbstractQuotePosition, AbstractRemovedPosition, AbstractRemovedPosition, AbstractSalesOrderPosition, AbstractSalesOrderPosition, ContractPosition, InvoiceBundledProductPosition, InvoiceBundledProductPosition, InvoiceComplexProductBundlePosition, InvoiceComplexProductBundlePosition, InvoicePosition, InvoicePosition, InvoiceProductBundlePosition, InvoiceProductBundlePosition, InvoiceProductOfferingPosition, InvoiceProductOfferingPosition, OpportunityBundledProductPosition, OpportunityBundledProductPosition, OpportunityComplexProductBundlePosition, OpportunityComplexProductBundlePosition, OpportunityPosition, OpportunityPosition, OpportunityProductBundlePosition, OpportunityProductBundlePosition, OpportunityProductOfferingPosition, OpportunityProductOfferingPosition, QuoteBundledProductPosition, QuoteBundledProductPosition, QuoteComplexProductBundlePosition, QuoteComplexProductBundlePosition, QuotePosition, QuotePosition, QuoteProductBundlePosition, QuoteProductBundlePosition, QuoteProductOfferingPosition, QuoteProductOfferingPosition, RemovedBundledProductPosition, RemovedBundledProductPosition, RemovedComplexProductBundlePosition, RemovedComplexProductBundlePosition, RemovedPosition, RemovedPosition, RemovedProductBundlePosition, RemovedProductBundlePosition, RemovedProductOfferingPosition, RemovedProductOfferingPosition, SalesOrderBundledProductPosition, SalesOrderBundledProductPosition, SalesOrderComplexProductBundlePosition, SalesOrderComplexProductBundlePosition, SalesOrderPosition, SalesOrderPosition, SalesOrderProductBundlePosition, SalesOrderProductBundlePosition, SalesOrderProductOfferingPosition, SalesOrderProductOfferingPosition
All Known Implementing Classes:
AbstractInvoicePosition, AbstractOpportunityPosition, AbstractQuotePosition, AbstractRemovedPosition, AbstractSalesOrderPosition, InvoiceBundledProductPosition, InvoiceComplexProductBundlePosition, InvoicePosition, InvoiceProductBundlePosition, InvoiceProductOfferingPosition, OpportunityBundledProductPosition, OpportunityComplexProductBundlePosition, OpportunityPosition, OpportunityProductBundlePosition, OpportunityProductOfferingPosition, QuoteBundledProductPosition, QuoteComplexProductBundlePosition, QuotePosition, QuoteProductBundlePosition, QuoteProductOfferingPosition, RemovedBundledProductPosition, RemovedComplexProductBundlePosition, RemovedPosition, RemovedProductBundlePosition, RemovedProductOfferingPosition, SalesOrderBundledProductPosition, SalesOrderComplexProductBundlePosition, SalesOrderPosition, SalesOrderProductBundlePosition, SalesOrderProductOfferingPosition

public interface ContractPosition
extends AddressContainer, DeliveryRequestContainer, ShippingDetail, BookingOrigin, DepotReferenceHolder

Abstract class ContractPosition


Method Summary
 BigDecimal getAmount()
           
 BigDecimal getBaseAmount()
           
 CalculationRule getCalcRule()
          Retrieves the value for the reference calcRule.
<T extends Contact>
List<T>
getContact()
          Retrieves the Collection of objects referenced by contact.
 short getContractPositionState()
          Retrieves the value for the attribute contractPositionState.
<T extends DeliveryInformation>
Collection<T>
getDeliveryInformation()
          Retrieves a set containing all the elements for the reference deliveryInformation.
 String getDescription()
           
 BigDecimal getDiscount()
           
 BigDecimal getDiscountAmount()
           
 String getDiscountDescription()
           
 long getLineItemNumber()
          Retrieves the value for the attribute lineItemNumber.
 ProductBasePrice getListPrice()
          Retrieves the value for the reference listPrice.
 BigDecimal getMaxQuantity()
           
 short getMinMaxQuantityHandling()
          Retrieves the value for the attribute minMaxQuantityHandling.
 BigDecimal getMinQuantity()
           
 String getName()
          Retrieves the value for the attribute name.
 BigDecimal getOffsetQuantity()
           
<T extends PositionModification>
Set<T>
getPositionModification()
          Retrieves a set containing all the elements for the reference positionModification.
 String getPositionNumber()
          Retrieves the value for the attribute positionNumber.
 PriceLevel getPriceLevel()
          Retrieves the value for the reference priceLevel.
 BigDecimal getPricePerUnit()
           
 Uom getPriceUom()
          Retrieves the value for the reference priceUom.
 String getPriceUomDescription()
           
 String getPriceUomDetailedDescription()
           
 Date getPricingDate()
           
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
 short getPricingState()
          Retrieves the value for the attribute pricingState.
<T extends ProductApplication>
Collection<T>
getProductApplication()
          Retrieves a set containing all the elements for the reference productApplication.
 String getProductDescription()
           
 String getProductDetailedDescription()
           
 BigDecimal getQuantity()
           
 BigDecimal getQuantityBackOrdered()
           
 BigDecimal getQuantityShipped()
           
 BigDecimal getSalesCommission()
           
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 String getSalesTaxTypeDescription()
           
 String getSalesTaxTypeDetailedDescription()
           
 BigDecimal getTaxAmount()
           
 Uom getUom()
          Retrieves the value for the reference uom.
 String getUomDescription()
           
 String getUomDetailedDescription()
           
 Boolean isDiscountIsPercentage()
           
 Boolean isSalesCommissionIsPercentage()
           
<T extends org.openmdx.base.cci2.Void>
T
reprice()
           
 void setCalcRule(CalculationRule calcRule)
          Sets a new value for the reference calcRule.
 void setContractPositionState(short contractPositionState)
          Sets a new value for the attribute contractPositionState.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDiscount(BigDecimal discount)
          Sets a new value for the attribute discount.
 void setDiscountDescription(String discountDescription)
          Sets a new value for the attribute discountDescription.
 void setDiscountIsPercentage(Boolean discountIsPercentage)
          Sets a new value for the attribute discountIsPercentage.
 void setListPrice(ProductBasePrice listPrice)
          Sets a new value for the reference listPrice.
 void setMaxQuantity(BigDecimal maxQuantity)
          Sets a new value for the attribute maxQuantity.
 void setMinMaxQuantityHandling(short minMaxQuantityHandling)
          Sets a new value for the attribute minMaxQuantityHandling.
 void setMinQuantity(BigDecimal minQuantity)
          Sets a new value for the attribute minQuantity.
 void setName(String name)
          Sets a new value for the attribute name.
 void setOffsetQuantity(BigDecimal offsetQuantity)
          Sets a new value for the attribute offsetQuantity.
 void setPositionNumber(String positionNumber)
          Sets a new value for the attribute positionNumber.
 void setPriceLevel(PriceLevel priceLevel)
          Sets a new value for the reference priceLevel.
 void setPricePerUnit(BigDecimal pricePerUnit)
          Sets a new value for the attribute pricePerUnit.
 void setPriceUom(Uom priceUom)
          Sets a new value for the reference priceUom.
 void setPricingDate(Date pricingDate)
          Sets a new value for the attribute pricingDate.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 void setPricingState(short pricingState)
          Sets a new value for the attribute pricingState.
 void setQuantity(BigDecimal quantity)
          Sets a new value for the attribute quantity.
 void setSalesCommission(BigDecimal salesCommission)
          Sets a new value for the attribute salesCommission.
 void setSalesCommissionIsPercentage(Boolean salesCommissionIsPercentage)
          Sets a new value for the attribute salesCommissionIsPercentage.
 void setSalesTaxType(SalesTaxType salesTaxType)
          Sets a new value for the reference salesTaxType.
 void setUom(Uom uom)
          Sets a new value for the reference uom.
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AddressContainer
getAddress
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer
getDeliveryRequest
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail
getCarrier, getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setCarrier, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 

Method Detail

getAmount

BigDecimal getAmount()
Returns:
The possibly null value for attribute amount.

getBaseAmount

BigDecimal getBaseAmount()
Returns:
The possibly null value for attribute baseAmount.

getCalcRule

CalculationRule getCalcRule()
Retrieves the value for the reference calcRule.

Returns:
The – possibly null – value for this reference.

setCalcRule

void setCalcRule(CalculationRule calcRule)
Sets a new value for the reference calcRule.

Parameters:
calcRule - The non-null new value for this reference.

getContact

<T extends Contact> List<T> getContact()
Retrieves the Collection of objects referenced by contact.

Returns:
The Collection of referenced objects.

getContractPositionState

short getContractPositionState()
Retrieves the value for the attribute contractPositionState.

Returns:
The non-null value for attribute contractPositionState.

setContractPositionState

void setContractPositionState(short contractPositionState)
Sets a new value for the attribute contractPositionState.

Parameters:
contractPositionState - The non-null new value for attribute contractPositionState.

getDeliveryInformation

<T extends DeliveryInformation> Collection<T> getDeliveryInformation()
Retrieves a set containing all the elements for the reference deliveryInformation.

Returns:
A set containing all the elements for this reference.

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

getDiscount

BigDecimal getDiscount()
Returns:
The possibly null value for attribute discount.

setDiscount

void setDiscount(BigDecimal discount)
Sets a new value for the attribute discount.

Parameters:
discount - The possibly null new value for attribute discount.

getDiscountAmount

BigDecimal getDiscountAmount()
Returns:
The possibly null value for attribute discountAmount.

getDiscountDescription

String getDiscountDescription()
Returns:
The possibly null value for attribute discountDescription.

setDiscountDescription

void setDiscountDescription(String discountDescription)
Sets a new value for the attribute discountDescription.

Parameters:
discountDescription - The possibly null new value for attribute discountDescription.

isDiscountIsPercentage

Boolean isDiscountIsPercentage()
Returns:
The possibly null value for attribute discountIsPercentage.

setDiscountIsPercentage

void setDiscountIsPercentage(Boolean discountIsPercentage)
Sets a new value for the attribute discountIsPercentage.

Parameters:
discountIsPercentage - The possibly null new value for attribute discountIsPercentage.

getLineItemNumber

long getLineItemNumber()
Retrieves the value for the attribute lineItemNumber.

Returns:
The non-null value for attribute lineItemNumber.

getListPrice

ProductBasePrice getListPrice()
Retrieves the value for the reference listPrice.

Returns:
The – possibly null – value for this reference.

setListPrice

void setListPrice(ProductBasePrice listPrice)
Sets a new value for the reference listPrice.

Parameters:
listPrice - The non-null new value for this reference.

getMaxQuantity

BigDecimal getMaxQuantity()
Returns:
The possibly null value for attribute maxQuantity.

setMaxQuantity

void setMaxQuantity(BigDecimal maxQuantity)
Sets a new value for the attribute maxQuantity.

Parameters:
maxQuantity - The possibly null new value for attribute maxQuantity.

getMinMaxQuantityHandling

short getMinMaxQuantityHandling()
Retrieves the value for the attribute minMaxQuantityHandling.

Returns:
The non-null value for attribute minMaxQuantityHandling.

setMinMaxQuantityHandling

void setMinMaxQuantityHandling(short minMaxQuantityHandling)
Sets a new value for the attribute minMaxQuantityHandling.

Parameters:
minMaxQuantityHandling - The non-null new value for attribute minMaxQuantityHandling.

getMinQuantity

BigDecimal getMinQuantity()
Returns:
The possibly null value for attribute minQuantity.

setMinQuantity

void setMinQuantity(BigDecimal minQuantity)
Sets a new value for the attribute minQuantity.

Parameters:
minQuantity - The possibly null new value for attribute minQuantity.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

setName

void setName(String name)
Sets a new value for the attribute name.

Parameters:
name - The non-null new value for attribute name.

getOffsetQuantity

BigDecimal getOffsetQuantity()
Returns:
The possibly null value for attribute offsetQuantity.

setOffsetQuantity

void setOffsetQuantity(BigDecimal offsetQuantity)
Sets a new value for the attribute offsetQuantity.

Parameters:
offsetQuantity - The possibly null new value for attribute offsetQuantity.

getPositionModification

<T extends PositionModification> Set<T> getPositionModification()
Retrieves a set containing all the elements for the reference positionModification.

Returns:
A set containing all the elements for this reference.

getPositionNumber

String getPositionNumber()
Retrieves the value for the attribute positionNumber.

Returns:
The non-null value for attribute positionNumber.

setPositionNumber

void setPositionNumber(String positionNumber)
Sets a new value for the attribute positionNumber.

Parameters:
positionNumber - The non-null new value for attribute positionNumber.

getPriceLevel

PriceLevel getPriceLevel()
Retrieves the value for the reference priceLevel.

Returns:
The – possibly null – value for this reference.

setPriceLevel

void setPriceLevel(PriceLevel priceLevel)
Sets a new value for the reference priceLevel.

Parameters:
priceLevel - The non-null new value for this reference.

getPricePerUnit

BigDecimal getPricePerUnit()
Returns:
The possibly null value for attribute pricePerUnit.

setPricePerUnit

void setPricePerUnit(BigDecimal pricePerUnit)
Sets a new value for the attribute pricePerUnit.

Parameters:
pricePerUnit - The possibly null new value for attribute pricePerUnit.

getPriceUom

Uom getPriceUom()
Retrieves the value for the reference priceUom.

Returns:
The – possibly null – value for this reference.

setPriceUom

void setPriceUom(Uom priceUom)
Sets a new value for the reference priceUom.

Parameters:
priceUom - The non-null new value for this reference.

getPriceUomDescription

String getPriceUomDescription()
Returns:
The possibly null value for attribute priceUomDescription.

getPriceUomDetailedDescription

String getPriceUomDetailedDescription()
Returns:
The possibly null value for attribute priceUomDetailedDescription.

getPricingDate

Date getPricingDate()
Returns:
The possibly null value for attribute pricingDate.

setPricingDate

void setPricingDate(Date pricingDate)
Sets a new value for the attribute pricingDate.

Parameters:
pricingDate - The possibly null new value for attribute pricingDate.

getPricingRule

PricingRule getPricingRule()
Retrieves the value for the reference pricingRule.

Returns:
The – possibly null – value for this reference.

setPricingRule

void setPricingRule(PricingRule pricingRule)
Sets a new value for the reference pricingRule.

Parameters:
pricingRule - The non-null new value for this reference.

getPricingState

short getPricingState()
Retrieves the value for the attribute pricingState.

Returns:
The non-null value for attribute pricingState.

setPricingState

void setPricingState(short pricingState)
Sets a new value for the attribute pricingState.

Parameters:
pricingState - The non-null new value for attribute pricingState.

getProductApplication

<T extends ProductApplication> Collection<T> getProductApplication()
Retrieves a set containing all the elements for the reference productApplication.

Returns:
A set containing all the elements for this reference.

getProductDescription

String getProductDescription()
Returns:
The possibly null value for attribute productDescription.

getProductDetailedDescription

String getProductDetailedDescription()
Returns:
The possibly null value for attribute productDetailedDescription.

getQuantity

BigDecimal getQuantity()
Returns:
The possibly null value for attribute quantity.

setQuantity

void setQuantity(BigDecimal quantity)
Sets a new value for the attribute quantity.

Parameters:
quantity - The possibly null new value for attribute quantity.

getQuantityBackOrdered

BigDecimal getQuantityBackOrdered()
Returns:
The possibly null value for attribute quantityBackOrdered.

getQuantityShipped

BigDecimal getQuantityShipped()
Returns:
The possibly null value for attribute quantityShipped.

reprice

<T extends org.openmdx.base.cci2.Void> T reprice()
                                             throws RefException
Throws:
RefException

getSalesCommission

BigDecimal getSalesCommission()
Returns:
The possibly null value for attribute salesCommission.

setSalesCommission

void setSalesCommission(BigDecimal salesCommission)
Sets a new value for the attribute salesCommission.

Parameters:
salesCommission - The possibly null new value for attribute salesCommission.

isSalesCommissionIsPercentage

Boolean isSalesCommissionIsPercentage()
Returns:
The possibly null value for attribute salesCommissionIsPercentage.

setSalesCommissionIsPercentage

void setSalesCommissionIsPercentage(Boolean salesCommissionIsPercentage)
Sets a new value for the attribute salesCommissionIsPercentage.

Parameters:
salesCommissionIsPercentage - The possibly null new value for attribute salesCommissionIsPercentage.

getSalesTaxType

SalesTaxType getSalesTaxType()
Retrieves the value for the reference salesTaxType.

Returns:
The non-null value for this reference.

setSalesTaxType

void setSalesTaxType(SalesTaxType salesTaxType)
Sets a new value for the reference salesTaxType.

Parameters:
salesTaxType - The non-null new value for this reference.

getSalesTaxTypeDescription

String getSalesTaxTypeDescription()
Returns:
The possibly null value for attribute salesTaxTypeDescription.

getSalesTaxTypeDetailedDescription

String getSalesTaxTypeDetailedDescription()
Returns:
The possibly null value for attribute salesTaxTypeDetailedDescription.

getTaxAmount

BigDecimal getTaxAmount()
Returns:
The possibly null value for attribute taxAmount.

getUom

Uom getUom()
Retrieves the value for the reference uom.

Returns:
The – possibly null – value for this reference.

setUom

void setUom(Uom uom)
Sets a new value for the reference uom.

Parameters:
uom - The non-null new value for this reference.

getUomDescription

String getUomDescription()
Returns:
The possibly null value for attribute uomDescription.

getUomDetailedDescription

String getUomDetailedDescription()
Returns:
The possibly null value for attribute uomDetailedDescription.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.