org.opencrx.kernel.contract1.cci2
Interface DeliveryRequestContainer

All Known Subinterfaces:
AbstractContract, AbstractContract, AbstractInvoicePosition, AbstractInvoicePosition, AbstractOpportunityPosition, AbstractOpportunityPosition, AbstractQuotePosition, AbstractQuotePosition, AbstractRemovedPosition, AbstractRemovedPosition, AbstractSalesOrderPosition, AbstractSalesOrderPosition, ContractPosition, ContractPosition, DeliveryRequestContainer, Invoice, Invoice, InvoicePosition, InvoicePosition, Lead, Lead, Opportunity, Opportunity, OpportunityPosition, OpportunityPosition, Quote, Quote, QuotePosition, QuotePosition, RemovedPosition, RemovedPosition, SalesOrder, SalesOrder, SalesOrderPosition, SalesOrderPosition
All Known Implementing Classes:
AbstractInvoicePosition, AbstractOpportunityPosition, AbstractQuotePosition, AbstractRemovedPosition, AbstractSalesOrderPosition, Invoice, InvoicePosition, Lead, Opportunity, OpportunityPosition, Quote, QuotePosition, RemovedPosition, SalesOrder, SalesOrderPosition

public interface DeliveryRequestContainer

Abstract class DeliveryRequestContainer


Method Summary
 void addDeliveryRequest(boolean idIsPersistent, String id, DeliveryRequest deliveryRequest)
          Adds the specified element to the set of the values for the reference deliveryRequest.
<T extends DeliveryRequest>
Collection<T>
getDeliveryRequest()
          Retrieves a set containing all the elements for the reference deliveryRequest.
 DeliveryRequest getDeliveryRequest(boolean idIsPersistent, String id)
          Retrieves the value for the reference deliveryRequest for the specified qualifier attribute value.
 

Method Detail

getDeliveryRequest

<T extends DeliveryRequest> Collection<T> getDeliveryRequest()
Retrieves a set containing all the elements for the reference deliveryRequest.

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

getDeliveryRequest

DeliveryRequest getDeliveryRequest(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference deliveryRequest for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addDeliveryRequest

void addDeliveryRequest(boolean idIsPersistent,
                        String id,
                        DeliveryRequest deliveryRequest)
Adds the specified element to the set of the values for the reference deliveryRequest.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
deliveryRequest - The element to be appended.


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