org.opencrx.kernel.product1.cci2
Interface ConfiguredProductQuery

All Superinterfaces:
AnyTypePredicate, ProductConfigurationSetQuery, ProductDescriptorQuery
All Known Subinterfaces:
AbstractInvoicePositionQuery, AbstractOpportunityPositionQuery, AbstractQuotePositionQuery, AbstractSalesOrderPositionQuery, InventoryItemQuery, InvoicePositionQuery, OpportunityPositionQuery, ProductReferenceQuery, QuotePositionQuery, RemovedPositionQuery, SalesOrderPositionQuery

public interface ConfiguredProductQuery
extends ProductConfigurationSetQuery, ProductDescriptorQuery


Method Summary
 OptionalFeaturePredicate currentConfig()
          Adds a constraint to the predicate for ConfiguredProduct testing whether the value of the feature currentConfig is null or not.
 ProductConfigurationQuery forAllCurrentConfig()
          Adds a condition for the feature currentConfig to the predicate for ConfiguredProduct, which evaluates to false unless the value of the feature currentConfig satisfies the given condition.
 StringTypePredicate forAllProductSerialNumber()
          Adds a condition for the feature productSerialNumber to the predicate for ConfiguredProduct, which evaluates to false unless the values of the feature productSerialNumber satisfy the given condition.
 MultivaluedFeaturePredicate productSerialNumber()
          Adds a constraint to the predicate for ConfiguredProduct testing whether the feature productSerialNumber has values or not.
 ProductConfigurationQuery thereExistsCurrentConfig()
          Adds a condition for the feature currentConfig to the predicate for ConfiguredProduct, which evaluates to false unless the value of the feature currentConfig satisfies the given condition.
 StringTypePredicate thereExistsProductSerialNumber()
          Adds a condition for the feature productSerialNumber to the predicate for ConfiguredProduct, which evaluates to false unless the values of the feature productSerialNumber satisfy the given condition.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductConfigurationSetQuery
configType, configuration, forAllConfigType, forAllConfiguration, thereExistsConfigType, thereExistsConfiguration
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductDescriptorQuery
forAllProduct, product, thereExistsProduct
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equals, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Method Detail

currentConfig

OptionalFeaturePredicate currentConfig()
Adds a constraint to the predicate for ConfiguredProduct testing whether the value of the feature currentConfig is null or not.


thereExistsCurrentConfig

ProductConfigurationQuery thereExistsCurrentConfig()
Adds a condition for the feature currentConfig to the predicate for ConfiguredProduct, which evaluates to false unless the value of the feature currentConfig satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is not satisfied


forAllCurrentConfig

ProductConfigurationQuery forAllCurrentConfig()
Adds a condition for the feature currentConfig to the predicate for ConfiguredProduct, which evaluates to false unless the value of the feature currentConfig satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is satisfied


productSerialNumber

MultivaluedFeaturePredicate productSerialNumber()
Adds a constraint to the predicate for ConfiguredProduct testing whether the feature productSerialNumber has values or not.


thereExistsProductSerialNumber

StringTypePredicate thereExistsProductSerialNumber()
Adds a condition for the feature productSerialNumber to the predicate for ConfiguredProduct, which evaluates to false unless the values of the feature productSerialNumber satisfy the given condition.

Since the multiplicity for this attribute is 0..n, the attribute may have no values. in which case the condition is not satisfied


forAllProductSerialNumber

StringTypePredicate forAllProductSerialNumber()
Adds a condition for the feature productSerialNumber to the predicate for ConfiguredProduct, which evaluates to false unless the values of the feature productSerialNumber satisfy the given condition.

Since the multiplicity for this attribute is 0..n, the attribute may have no values. in which case the condition is satisfied



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