org.opencrx.kernel.contract1.jmi1
Interface ContractPosition

All Superinterfaces:
AddressContainer, BookingOrigin, ContractPosition, DeliveryRequestContainer, DepotReferenceHolder, RefBaseObject, RefFeatured, RefObject, ShippingDetail
All Known Subinterfaces:
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 ContractPosition, AddressContainer, DeliveryRequestContainer, ShippingDetail, BookingOrigin, DepotReferenceHolder

Abstract class ContractPosition


Method Summary
 void addAddress(ContractAddress newValue)
          
 void addAddress(String id, ContractAddress newValue)
          
 void addContact(Contact newValue)
          
 void addContact(int importance, Contact newValue)
          
 void addDeliveryInformation(DeliveryInformation newValue)
          
 void addDeliveryInformation(String id, DeliveryInformation newValue)
          
 void addDeliveryRequest(DeliveryRequest newValue)
          
 void addDeliveryRequest(String id, DeliveryRequest newValue)
          
 void addDepotReference(DepotReference newValue)
          
 void addDepotReference(String id, DepotReference newValue)
          
 void addProductApplication(ProductApplication newValue)
          
 void addProductApplication(String id, ProductApplication newValue)
          
<T extends ContractAddress>
List<T>
getAddress(ContractAddressQuery query)
          Retrieves the value for the reference address for the specified query.
 CalculationRule getCalcRule()
          Retrieves the value for the reference calcRule.
 Account getCarrier()
          Retrieves the value for the reference carrier.
<T extends DeliveryInformation>
List<T>
getDeliveryInformation(DeliveryInformationQuery query)
          Retrieves the value for the reference deliveryInformation for the specified query.
<T extends DeliveryRequest>
List<T>
getDeliveryRequest(DeliveryRequestQuery query)
          Retrieves the value for the reference deliveryRequest for the specified query.
<T extends DepotReference>
List<T>
getDepotReference(DepotReferenceQuery query)
          Retrieves the value for the reference depotReference for the specified query.
 ProductBasePrice getListPrice()
          Retrieves the value for the reference listPrice.
<T extends PositionModification>
List<T>
getPositionModification(PositionModificationQuery query)
          Retrieves the value for the reference positionModification for the specified query.
 PriceLevel getPriceLevel()
          Retrieves the value for the reference priceLevel.
 Uom getPriceUom()
          Retrieves the value for the reference priceUom.
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
<T extends ProductApplication>
List<T>
getProductApplication(ProductApplicationQuery query)
          Retrieves the value for the reference productApplication for the specified query.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 Uom getUom()
          Retrieves the value for the reference uom.
 void removeAddress(String id)
          
 void removeCalcRule()
          Removes the value for the optional reference calcRule.
 void removeContact(int importance)
          
 void removeDeliveryInformation(String id)
          
 void removeDeliveryRequest(String id)
          
 void removeDepotReference(String id)
          
 void removeListPrice()
          Removes the value for the optional reference listPrice.
 void removePriceLevel()
          Removes the value for the optional reference priceLevel.
 void removePriceUom()
          Removes the value for the optional reference priceUom.
 void removePricingRule()
          Removes the value for the optional reference pricingRule.
 void removeProductApplication(String id)
          
 void removeUom()
          Removes the value for the optional reference uom.
<T extends org.openmdx.base.cci2.Void>
T
reprice(org.openmdx.base.cci2.Void params)
           
 void setCalcRule(CalculationRule calcRule)
          Sets a new value for the reference calcRule.
 void setCarrier(Account carrier)
          Sets a new value for the reference carrier.
 void setListPrice(ProductBasePrice listPrice)
          Sets a new value for the reference listPrice.
 void setPriceLevel(PriceLevel priceLevel)
          Sets a new value for the reference priceLevel.
 void setPriceUom(Uom priceUom)
          Sets a new value for the reference priceUom.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 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.ContractPosition
getAmount, getBaseAmount, getContact, getContractPositionState, getDeliveryInformation, getDescription, getDiscount, getDiscountAmount, getDiscountDescription, getLineItemNumber, getMaxQuantity, getMinMaxQuantityHandling, getMinQuantity, getName, getOffsetQuantity, getPositionModification, getPositionNumber, getPricePerUnit, getPriceUomDescription, getPriceUomDetailedDescription, getPricingDate, getPricingState, getProductApplication, getProductDescription, getProductDetailedDescription, getQuantity, getQuantityBackOrdered, getQuantityShipped, getSalesCommission, getSalesTaxTypeDescription, getSalesTaxTypeDetailedDescription, getTaxAmount, getUomDescription, getUomDetailedDescription, isDiscountIsPercentage, isSalesCommissionIsPercentage, reprice, setContractPositionState, setDescription, setDiscount, setDiscountDescription, setDiscountIsPercentage, setMaxQuantity, setMinMaxQuantityHandling, setMinQuantity, setName, setOffsetQuantity, setPositionNumber, setPricePerUnit, setPricingDate, setPricingState, setQuantity, setSalesCommission, setSalesCommissionIsPercentage
 
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
getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getAddress

<T extends ContractAddress> List<T> getAddress(ContractAddressQuery query)
Retrieves the value for the reference address for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addAddress

void addAddress(String id,
                ContractAddress newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addAddress

void addAddress(ContractAddress newValue)

Parameters:
newValue - The element to be appended.

removeAddress

void removeAddress(String id)


getCalcRule

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

Specified by:
getCalcRule in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setCalcRule

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

Specified by:
setCalcRule in interface ContractPosition
Parameters:
calcRule - The non-null new value for this reference.

removeCalcRule

void removeCalcRule()
Removes the value for the optional reference calcRule.


addContact

void addContact(int importance,
                Contact newValue)

Parameters:
importance - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addContact

void addContact(Contact newValue)

Parameters:
newValue - The element to be appended.

removeContact

void removeContact(int importance)


getDeliveryInformation

<T extends DeliveryInformation> List<T> getDeliveryInformation(DeliveryInformationQuery query)
Retrieves the value for the reference deliveryInformation for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDeliveryInformation

void addDeliveryInformation(String id,
                            DeliveryInformation newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDeliveryInformation

void addDeliveryInformation(DeliveryInformation newValue)

Parameters:
newValue - The element to be appended.

removeDeliveryInformation

void removeDeliveryInformation(String id)


getListPrice

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

Specified by:
getListPrice in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setListPrice

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

Specified by:
setListPrice in interface ContractPosition
Parameters:
listPrice - The non-null new value for this reference.

removeListPrice

void removeListPrice()
Removes the value for the optional reference listPrice.


getPositionModification

<T extends PositionModification> List<T> getPositionModification(PositionModificationQuery query)
Retrieves the value for the reference positionModification for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getPriceLevel

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

Specified by:
getPriceLevel in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setPriceLevel

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

Specified by:
setPriceLevel in interface ContractPosition
Parameters:
priceLevel - The non-null new value for this reference.

removePriceLevel

void removePriceLevel()
Removes the value for the optional reference priceLevel.


getPriceUom

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

Specified by:
getPriceUom in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setPriceUom

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

Specified by:
setPriceUom in interface ContractPosition
Parameters:
priceUom - The non-null new value for this reference.

removePriceUom

void removePriceUom()
Removes the value for the optional reference priceUom.


getPricingRule

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

Specified by:
getPricingRule in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setPricingRule

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

Specified by:
setPricingRule in interface ContractPosition
Parameters:
pricingRule - The non-null new value for this reference.

removePricingRule

void removePricingRule()
Removes the value for the optional reference pricingRule.


getProductApplication

<T extends ProductApplication> List<T> getProductApplication(ProductApplicationQuery query)
Retrieves the value for the reference productApplication for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addProductApplication

void addProductApplication(String id,
                           ProductApplication newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addProductApplication

void addProductApplication(ProductApplication newValue)

Parameters:
newValue - The element to be appended.

removeProductApplication

void removeProductApplication(String id)


reprice

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

getSalesTaxType

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

Specified by:
getSalesTaxType in interface ContractPosition
Returns:
The non-null value for this reference.

setSalesTaxType

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

Specified by:
setSalesTaxType in interface ContractPosition
Parameters:
salesTaxType - The non-null new value for this reference.

getUom

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

Specified by:
getUom in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setUom

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

Specified by:
setUom in interface ContractPosition
Parameters:
uom - The non-null new value for this reference.

removeUom

void removeUom()
Removes the value for the optional reference uom.


getDeliveryRequest

<T extends DeliveryRequest> List<T> getDeliveryRequest(DeliveryRequestQuery query)
Retrieves the value for the reference deliveryRequest for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDeliveryRequest

void addDeliveryRequest(String id,
                        DeliveryRequest newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDeliveryRequest

void addDeliveryRequest(DeliveryRequest newValue)

Parameters:
newValue - The element to be appended.

removeDeliveryRequest

void removeDeliveryRequest(String id)


getCarrier

Account getCarrier()
Retrieves the value for the reference carrier.

Specified by:
getCarrier in interface ShippingDetail
Returns:
The non-null value for this reference.

setCarrier

void setCarrier(Account carrier)
Sets a new value for the reference carrier.

Specified by:
setCarrier in interface ShippingDetail
Parameters:
carrier - The non-null new value for this reference.

getDepotReference

<T extends DepotReference> List<T> getDepotReference(DepotReferenceQuery query)
Retrieves the value for the reference depotReference for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDepotReference

void addDepotReference(String id,
                       DepotReference newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDepotReference

void addDepotReference(DepotReference newValue)

Parameters:
newValue - The element to be appended.

removeDepotReference

void removeDepotReference(String id)



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