org.opencrx.kernel.product1.cci2
Interface ConfiguredProduct

All Superinterfaces:
ProductConfigurationSet, ProductDescriptor
All Known Subinterfaces:
ConfiguredProduct, InventoryItem, InventoryItem, InvoicePosition, InvoicePosition, OpportunityPosition, OpportunityPosition, ProductReference, ProductReference, QuotePosition, QuotePosition, RemovedPosition, RemovedPosition, SalesOrderPosition, SalesOrderPosition
All Known Implementing Classes:
InventoryItem, InvoicePosition, OpportunityPosition, ProductReference, QuotePosition, RemovedPosition, SalesOrderPosition

public interface ConfiguredProduct
extends ProductConfigurationSet, ProductDescriptor

Abstract class ConfiguredProduct


Method Summary
 ProductConfiguration getCurrentConfig()
          Retrieves the value for the reference currentConfig.
 Set<String> getProductSerialNumber()
          Retrieves a set containing all the elements for the attribute productSerialNumber.
 void setCurrentConfig(ProductConfiguration currentConfig)
          Sets a new value for the reference currentConfig.
 void setProductSerialNumber(String... productSerialNumber)
          Clears productSerialNumber and adds the given value(s).
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductConfigurationSet
addConfiguration, getConfigType, getConfiguration, getConfiguration, unsetConfigurationType
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductDescriptor
getProduct, setProduct
 

Method Detail

getCurrentConfig

ProductConfiguration getCurrentConfig()
Retrieves the value for the reference currentConfig.

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

setCurrentConfig

void setCurrentConfig(ProductConfiguration currentConfig)
Sets a new value for the reference currentConfig.

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

getProductSerialNumber

Set<String> getProductSerialNumber()
Retrieves a set containing all the elements for the attribute productSerialNumber.

Returns:
A set containing all elements for this attribute.

setProductSerialNumber

void setProductSerialNumber(String... productSerialNumber)
Clears productSerialNumber and adds the given value(s).

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(productSerialNumber));
 

Parameters:
productSerialNumber - value(s) to be added to productSerialNumber


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