org.opencrx.kernel.product1.cci
Class EditableProductOfferingPositionFilterImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
      extended by org.openmdx.base.accessor.jmi.spi.RefPredicate_1
          extended by org.opencrx.kernel.product1.cci.EditableProductOfferingPositionFilterImpl
All Implemented Interfaces:
Serializable, EditableProductOfferingPositionFilter, ProductOfferingPositionFilter, ProductPositionFilter, EditableProductOfferingPositionQuery, ProductOfferingPositionQuery, ProductPositionQuery, RefFilter_1_0, RefFilter_1_1, AnyTypePredicate

public class EditableProductOfferingPositionFilterImpl
extends RefPredicate_1
implements EditableProductOfferingPositionFilter, EditableProductOfferingPositionQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
EditableProductOfferingPositionFilterImpl(RefPackage_1_0 aPackage)
           
EditableProductOfferingPositionFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
EditableProductOfferingPositionFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 OptionalFeaturePredicate basedOn()
          Adds a constraint to the predicate for ProductOfferingPosition testing whether the value of the feature basedOn is null or not.
 ProductOfferingQuery forAllBasedOn()
          Adds a constraint for the feature basedOn to the predicate.
 void forAllBasedOn(short operator, Collection values)
           
 void forAllBasedOn(short operator, ProductOffering[] filterValues)
           
 ProductOfferingQuery thereExistsBasedOn()
          Adds a constraint for the feature basedOn to the predicate.
 void thereExistsBasedOn(short operator, Collection values)
           
 void thereExistsBasedOn(short operator, ProductOffering[] filterValues)
           
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo, refAddValue
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefFilter_1
clear, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties, refGetOrder, refGetOrder, refGetPredicate, refGetPredicate, refGetPredicate, refGetPredicate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Constructor Detail

EditableProductOfferingPositionFilterImpl

public EditableProductOfferingPositionFilterImpl(RefPackage_1_0 aPackage)

EditableProductOfferingPositionFilterImpl

public EditableProductOfferingPositionFilterImpl(RefPackage_1_0 aPackage,
                                                 FilterProperty[] filterProperties,
                                                 AttributeSpecifier[] attributeSpecifiers)

EditableProductOfferingPositionFilterImpl

public EditableProductOfferingPositionFilterImpl(RefPackage_1_0 aPackage,
                                                 FilterProperty[] filterProperties,
                                                 AttributeSpecifier[] attributeSpecifiers,
                                                 RefFilter_1_0 delegateFilter,
                                                 Short delegateQuantor,
                                                 String delegateName)
Method Detail

forAllBasedOn

public void forAllBasedOn(short operator,
                          ProductOffering[] filterValues)
Specified by:
forAllBasedOn in interface ProductOfferingPositionFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsBasedOn

public void thereExistsBasedOn(short operator,
                               ProductOffering[] filterValues)
Specified by:
thereExistsBasedOn in interface ProductOfferingPositionFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllBasedOn

public void forAllBasedOn(short operator,
                          Collection values)
Specified by:
forAllBasedOn in interface ProductOfferingPositionFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsBasedOn

public void thereExistsBasedOn(short operator,
                               Collection values)
Specified by:
thereExistsBasedOn in interface ProductOfferingPositionFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

basedOn

public OptionalFeaturePredicate basedOn()
Description copied from interface: ProductOfferingPositionQuery
Adds a constraint to the predicate for ProductOfferingPosition testing whether the value of the feature basedOn is null or not.

Specified by:
basedOn in interface ProductOfferingPositionQuery

thereExistsBasedOn

public ProductOfferingQuery thereExistsBasedOn()
Description copied from interface: ProductOfferingPositionQuery
Adds a constraint for the feature basedOn to the predicate. The predicate for ProductOfferingPosition evaluates true if its value of feature basedOn 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!

Specified by:
thereExistsBasedOn in interface ProductOfferingPositionQuery

forAllBasedOn

public ProductOfferingQuery forAllBasedOn()
Description copied from interface: ProductOfferingPositionQuery
Adds a constraint for the feature basedOn to the predicate. The predicate for ProductOfferingPosition evaluates true if its value of feature basedOn 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!

Specified by:
forAllBasedOn in interface ProductOfferingPositionQuery


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