org.opencrx.kernel.product1.jmi1
Interface ProductConfigurationSet

All Superinterfaces:
ProductConfigurationSet, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
AbstractBundledProduct, Asset, Booking, BundledProduct, BundledProductType, ConfiguredProduct, CreditBooking, DebitBooking, InventoryItem, InvoiceBundledProductPosition, InvoicePosition, OpportunityBundledProductPosition, OpportunityPosition, Product, ProductReference, QuoteBundledProductPosition, QuotePosition, RemovedBundledProductPosition, RemovedPosition, SalesOrderBundledProductPosition, SalesOrderPosition

public interface ProductConfigurationSet
extends ProductConfigurationSet, RefObject

Abstract class ProductConfigurationSet


Method Summary
 void addConfiguration(ProductConfiguration newValue)
          
 void addConfiguration(String id, ProductConfiguration newValue)
          
 ProductConfigurationTypeSet getConfigType()
          Retrieves the value for the reference configType.
<T extends ProductConfiguration>
List<T>
getConfiguration(ProductConfigurationQuery query)
          Retrieves the value for the reference configuration for the specified query.
 void removeConfiguration(String id)
          
<T extends org.openmdx.base.cci2.Void>
T
unsetConfigurationType(org.openmdx.base.cci2.Void params)
           
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductConfigurationSet
getConfiguration, unsetConfigurationType
 
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

getConfigType

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

Specified by:
getConfigType in interface ProductConfigurationSet
Returns:
The – possibly null – value for this reference.

getConfiguration

<T extends ProductConfiguration> List<T> getConfiguration(ProductConfigurationQuery query)
Retrieves the value for the reference configuration 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.

addConfiguration

void addConfiguration(String id,
                      ProductConfiguration newValue)

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

addConfiguration

void addConfiguration(ProductConfiguration newValue)

Parameters:
newValue - The element to be appended.

removeConfiguration

void removeConfiguration(String id)


unsetConfigurationType

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


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