org.opencrx.kernel.product1.cci2
Interface DiscountPriceModifierQuery

All Superinterfaces:
AnyTypePredicate, org.openmdx.base.cci2.BasicObjectQuery, org.openmdx.base.cci2.ContextCapableQuery, org.openmdx.base.cci2.ExtentCapableQuery, PriceModifierQuery, SecureObjectQuery, org.openmdx.compatibility.view1.cci2.ViewCapableQuery

public interface DiscountPriceModifierQuery
extends PriceModifierQuery


Method Summary
 OptionalFeaturePredicate discount()
          Adds a constraint to the predicate for DiscountPriceModifier testing whether the value of the feature discount is null or not.
 OptionalFeaturePredicate discountIsPercentage()
          Adds a constraint to the predicate for DiscountPriceModifier testing whether the value of the feature discountIsPercentage is null or not.
 ComparableTypePredicate<BigDecimal> forAllDiscount()
          Adds a constraint for the feature discount to the predicate.
 BooleanTypePredicate forAllDiscountIsPercentage()
          Adds a constraint for the feature discountIsPercentage to the predicate.
 SimpleTypeOrder orderByDiscount()
          Allows to adds a sort instruction for DiscountPriceModifier depending the feature discount Note: The order in which orderBy… instructions are given is relevant!
 SimpleTypeOrder orderByDiscountIsPercentage()
          Allows to adds a sort instruction for DiscountPriceModifier depending the feature discountIsPercentage Note: The order in which orderBy… instructions are given is relevant!
 ComparableTypePredicate<BigDecimal> thereExistsDiscount()
          Adds a constraint for the feature discount to the predicate.
 BooleanTypePredicate thereExistsDiscountIsPercentage()
          Adds a constraint for the feature discountIsPercentage to the predicate.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.PriceModifierQuery
description, forAllQuantityFrom, forAllQuantityTo, orderByDescription, orderByQuantityFrom, orderByQuantityTo, quantityFrom, quantityTo, thereExistsQuantityFrom, thereExistsQuantityTo
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObjectQuery
accessGrantedByParent, accessLevelBrowse, accessLevelDelete, accessLevelUpdate, forAllAccessGrantedByParent, forAllOwner, forAllOwningGroup, forAllOwningUser, orderByAccessLevelBrowse, orderByAccessLevelDelete, orderByAccessLevelUpdate, orderByOwner, owner, owningGroup, owningUser, thereExistsAccessGrantedByParent, thereExistsOwner, thereExistsOwningGroup, thereExistsOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.BasicObjectQuery
createdAt, createdBy, forAllCreatedBy, forAllModifiedBy, modifiedAt, modifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedBy, thereExistsModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapableQuery
context, forAllContext, thereExistsContext
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapableQuery
identity, orderByIdentity
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Method Detail

discount

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


thereExistsDiscount

ComparableTypePredicate<BigDecimal> thereExistsDiscount()
Adds a constraint for the feature discount to the predicate. The predicate for DiscountPriceModifier evaluates true if its value of feature discount satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!


forAllDiscount

ComparableTypePredicate<BigDecimal> forAllDiscount()
Adds a constraint for the feature discount to the predicate. The predicate for DiscountPriceModifier evaluates true if its value of feature discount satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!


orderByDiscount

SimpleTypeOrder orderByDiscount()
Allows to adds a sort instruction for DiscountPriceModifier depending the feature discount Note: The order in which orderBy… instructions are given is relevant!


discountIsPercentage

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


thereExistsDiscountIsPercentage

BooleanTypePredicate thereExistsDiscountIsPercentage()
Adds a constraint for the feature discountIsPercentage to the predicate. The predicate for DiscountPriceModifier evaluates true if its value of feature discountIsPercentage satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to false!


forAllDiscountIsPercentage

BooleanTypePredicate forAllDiscountIsPercentage()
Adds a constraint for the feature discountIsPercentage to the predicate. The predicate for DiscountPriceModifier evaluates true if its value of feature discountIsPercentage satisfies the selected condition.

Since the multiplicity for this attribute is 0..1, the attribute can have no value in which case the predicate evaluates to true!


orderByDiscountIsPercentage

SimpleTypeOrder orderByDiscountIsPercentage()
Allows to adds a sort instruction for DiscountPriceModifier depending the feature discountIsPercentage Note: The order in which orderBy… instructions are given is relevant!



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