org.opencrx.kernel.product1.cci2
Interface ProductConfigurationSet

All Known Subinterfaces:
Asset, Asset, ConfiguredProduct, ConfiguredProduct, CreditBooking, CreditBooking, DebitBooking, DebitBooking, InventoryItem, InventoryItem, InvoicePosition, InvoicePosition, OpportunityPosition, OpportunityPosition, Product, Product, ProductConfigurationSet, ProductReference, ProductReference, QuotePosition, QuotePosition, RemovedPosition, RemovedPosition, SalesOrderPosition, SalesOrderPosition, SingleBooking, SingleBooking
All Known Implementing Classes:
Asset, CreditBooking, DebitBooking, InventoryItem, InvoicePosition, OpportunityPosition, Product, ProductReference, QuotePosition, RemovedPosition, SalesOrderPosition, SingleBooking

public interface ProductConfigurationSet

Abstract class ProductConfigurationSet


Method Summary
 void addConfiguration(boolean idIsPersistent, String id, ProductConfiguration configuration)
          Adds the specified element to the set of the values for the reference configuration.
 ProductConfigurationTypeSet getConfigType()
          Retrieves the value for the reference configType.
<T extends ProductConfiguration>
Collection<T>
getConfiguration()
          Retrieves a set containing all the elements for the reference configuration.
 ProductConfiguration getConfiguration(boolean idIsPersistent, String id)
          Retrieves the value for the reference configuration for the specified qualifier attribute value.
 org.openmdx.base.cci2.Void unsetConfigurationType()
           
 

Method Detail

getConfigType

ProductConfigurationTypeSet getConfigType()
Retrieves the value for the reference configType.

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

getConfiguration

<T extends ProductConfiguration> Collection<T> getConfiguration()
Retrieves a set containing all the elements for the reference configuration.

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

getConfiguration

ProductConfiguration getConfiguration(boolean idIsPersistent,
                                      String id)
Retrieves the value for the reference configuration 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

addConfiguration

void addConfiguration(boolean idIsPersistent,
                      String id,
                      ProductConfiguration configuration)
Adds the specified element to the set of the values for the reference configuration.

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.
configuration - The element to be appended.

unsetConfigurationType

org.openmdx.base.cci2.Void unsetConfigurationType()


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