org.openmdx.compatibility.view1.cci
Interface ViewFilter

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

public interface ViewFilter
extends RefFilter_1_0

A ViewFilter selects a set of instances of class View 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 forAllNamespace(short operator, Collection filterValues)
          Adds a constraint for the attribute namespace to the filter.
 void forAllNamespace(short operator, String[] filterValues)
          Adds a constraint for the attribute namespace to the filter.
 void orderByNamespace(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsNamespace(short operator, Collection filterValues)
          Adds a constraint for the attribute namespace to the filter.
 void thereExistsNamespace(short operator, String[] filterValues)
          Adds a constraint for the attribute namespace to the filter.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllNamespace

void forAllNamespace(short operator,
                     String[] filterValues)
Adds a constraint for the attribute namespace to the filter. An instance of class View is excluded from the result set unless its value of attribute namespace satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllNamespace and thereExistsNamespace for the same arguments.

You can set at most one thereExistsNamespace or forAllNamespace constraint for this attribute.

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

thereExistsNamespace

void thereExistsNamespace(short operator,
                          String[] filterValues)
Adds a constraint for the attribute namespace to the filter. An instance of class View is excluded from the result set unless its value of attribute namespace satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllNamespace and thereExistsNamespace for the same arguments.

You can set at most one thereExistsNamespace or forAllNamespace constraint for this attribute.

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

forAllNamespace

void forAllNamespace(short operator,
                     Collection filterValues)
Adds a constraint for the attribute namespace to the filter. An instance of class View is excluded from the result set unless its value of attribute namespace satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllNamespace and thereExistsNamespace for the same arguments.

You can set at most one thereExistsNamespace or forAllNamespace constraint for this attribute.

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

thereExistsNamespace

void thereExistsNamespace(short operator,
                          Collection filterValues)
Adds a constraint for the attribute namespace to the filter. An instance of class View is excluded from the result set unless its value of attribute namespace satisfies the given condition.

Since the multiplicity for this attribute is 1..1, there is no difference between the filter methods forAllNamespace and thereExistsNamespace for the same arguments.

You can set at most one thereExistsNamespace or forAllNamespace constraint for this attribute.

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

orderByNamespace

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