org.omg.model1.cci
Interface NamespaceFindElementsByTypeResultFilter

All Superinterfaces:
RefFilter_1_0, Serializable
All Known Implementing Classes:
NamespaceFindElementsByTypeResultFilterImpl

public interface NamespaceFindElementsByTypeResultFilter
extends RefFilter_1_0

A NamespaceFindElementsByTypeResultFilter selects a set of instances of class NamespaceFindElementsByTypeResult 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 forAllResult(short operator, Collection filterValues)
          Adds a constraint for the attribute result to the filter.
 void forAllResult(short operator, Element[] filterValues)
          Adds a constraint for the attribute result to the filter.
 void orderByResult(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsResult(short operator, Collection filterValues)
          Adds a constraint for the attribute result to the filter.
 void thereExistsResult(short operator, Element[] filterValues)
          Adds a constraint for the attribute result to the filter.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllResult

void forAllResult(short operator,
                  Element[] filterValues)
Adds a constraint for the attribute result to the filter. An instance of class NamespaceFindElementsByTypeResult is excluded from the result set unless all its values of attribute result 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 thereExistsResult or forAllResult constraint for this attribute.

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

thereExistsResult

void thereExistsResult(short operator,
                       Element[] filterValues)
Adds a constraint for the attribute result to the filter. An instance of class NamespaceFindElementsByTypeResult is excluded from the result set unless at least one of its values of attribute result 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 thereExistsResult or forAllResult constraint for this attribute.

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

forAllResult

void forAllResult(short operator,
                  Collection filterValues)
Adds a constraint for the attribute result to the filter. An instance of class NamespaceFindElementsByTypeResult is excluded from the result set unless all its values of attribute result 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 thereExistsResult or forAllResult constraint for this attribute.

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

thereExistsResult

void thereExistsResult(short operator,
                       Collection filterValues)
Adds a constraint for the attribute result to the filter. An instance of class NamespaceFindElementsByTypeResult is excluded from the result set unless at least one of its values of attribute result 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 thereExistsResult or forAllResult constraint for this attribute.

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

orderByResult

void orderByResult(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.