org.openmdx.filter1.cci
Interface BooleanPropertyFilter

All Superinterfaces:
PropertyFilter, RefFilter_1_0, Serializable
All Known Implementing Classes:
BooleanPropertyFilterImpl

public interface BooleanPropertyFilter
extends PropertyFilter

A BooleanPropertyFilter selects a set of instances of class BooleanProperty based on conditions to be met by their attributes. For each attribute there can be set at most one constraint using either its thereExists or forAll clause. An instance must meet all constraints to be member of this set.


Method Summary
 void forAllValue(short operator, boolean[] filterValues)
          Adds a constraint for the attribute value to the filter.
 void forAllValue(short operator, Collection filterValues)
          Adds a constraint for the attribute value to the filter.
 void orderByValue(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsValue(short operator, boolean[] filterValues)
          Adds a constraint for the attribute value to the filter.
 void thereExistsValue(short operator, Collection filterValues)
          Adds a constraint for the attribute value to the filter.
 
Methods inherited from interface org.openmdx.filter1.cci.PropertyFilter
forAllName, forAllName, forAllOperator, forAllOperator, forAllQuantor, forAllQuantor, orderByName, orderByOperator, orderByQuantor, thereExistsName, thereExistsName, thereExistsOperator, thereExistsOperator, thereExistsQuantor, thereExistsQuantor
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllValue

void forAllValue(short operator,
                 boolean[] filterValues)
Adds a constraint for the attribute value to the filter. An instance of class BooleanProperty is excluded from the result set unless all its values of attribute value satisfy the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the filter condition is met!

You can set at most one thereExistsValue or forAllValue constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute value to be compared to.
See Also:
FilterOperators

thereExistsValue

void thereExistsValue(short operator,
                      boolean[] filterValues)
Adds a constraint for the attribute value to the filter. An instance of class BooleanProperty is excluded from the result set unless at least one of its values of attribute value satisfies the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the filter condition is not met!

You can set at most one thereExistsValue or forAllValue constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute value to be compared to.
See Also:
FilterOperators

forAllValue

void forAllValue(short operator,
                 Collection filterValues)
Adds a constraint for the attribute value to the filter. An instance of class BooleanProperty is excluded from the result set unless all its values of attribute value satisfy the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the filter condition is met!

You can set at most one thereExistsValue or forAllValue constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute value to be compared to.
See Also:
FilterOperators

thereExistsValue

void thereExistsValue(short operator,
                      Collection filterValues)
Adds a constraint for the attribute value to the filter. An instance of class BooleanProperty is excluded from the result set unless at least one of its values of attribute value satisfies the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the filter condition is not met!

You can set at most one thereExistsValue or forAllValue constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute value to be compared to.
See Also:
FilterOperators

orderByValue

void orderByValue(short order)
Specifies the sort order of all the instances that match the filter criteria.

Parameters:
order - The sort order for this filter.
See Also:
Directions


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