org.opencrx.kernel.product1.jmi1
Interface ConfiguredProduct

All Superinterfaces:
ConfiguredProduct, ProductConfigurationSet, ProductDescriptor, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
InventoryItem, InvoicePosition, OpportunityPosition, ProductReference, QuotePosition, RemovedPosition, SalesOrderPosition

public interface ConfiguredProduct
extends ConfiguredProduct, 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(Set<String> productSerialNumber)
          Clears productSerialNumber and adds the members of the given Set.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ConfiguredProduct
setProductSerialNumber
 
Methods inherited from interface org.opencrx.kernel.product1.jmi1.ProductConfigurationSet
addConfiguration, getConfigType, getConfiguration, getConfiguration, getConfiguration, unsetConfigurationType
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductConfigurationSet
getConfiguration
 
Methods inherited from interface org.opencrx.kernel.product1.jmi1.ProductDescriptor
getProduct, setProduct
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
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

getCurrentConfig

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

Specified by:
getCurrentConfig in interface ConfiguredProduct
Returns:
The – possibly null – value for this reference.

setCurrentConfig

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

Specified by:
setCurrentConfig in interface ConfiguredProduct
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.

Specified by:
getProductSerialNumber in interface ConfiguredProduct
Returns:
A set containing all elements for this attribute.

setProductSerialNumber

void setProductSerialNumber(Set<String> productSerialNumber)
Clears productSerialNumber and adds the members of the given Set.

This method is equivalent to

   set.clear();
   set.addAll(productSerialNumber);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
productSerialNumber - collection to be copied.


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