org.omg.model1.cci
Interface OperationFilter

All Superinterfaces:
BasicObjectFilter, BehaviouralFeatureFilter, ContextCapableFilter, ElementFilter, ExtentCapableFilter, FeatureFilter, NamespaceFilter, RefFilter_1_0, Serializable, ViewCapableFilter
All Known Implementing Classes:
OperationFilterImpl

public interface OperationFilter
extends BehaviouralFeatureFilter

A OperationFilter selects a set of instances of class Operation 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 forAllException(short operator, Collection filterValues)
          Adds a constraint for the attribute exception to the filter.
 void forAllException(short operator, Exception[] filterValues)
          Adds a constraint for the attribute exception to the filter.
 void forAllIsQuery(short operator, boolean[] filterValues)
          Adds a constraint for the attribute isQuery to the filter.
 void forAllIsQuery(short operator, Collection filterValues)
          Adds a constraint for the attribute isQuery to the filter.
 void forAllSemantics(short operator, Collection filterValues)
          Adds a constraint for the attribute semantics to the filter.
 void forAllSemantics(short operator, String[] filterValues)
          Adds a constraint for the attribute semantics to the filter.
 void orderByIsQuery(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderBySemantics(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsException(short operator, Collection filterValues)
          Adds a constraint for the attribute exception to the filter.
 void thereExistsException(short operator, Exception[] filterValues)
          Adds a constraint for the attribute exception to the filter.
 void thereExistsIsQuery(short operator, boolean[] filterValues)
          Adds a constraint for the attribute isQuery to the filter.
 void thereExistsIsQuery(short operator, Collection filterValues)
          Adds a constraint for the attribute isQuery to the filter.
 void thereExistsSemantics(short operator, Collection filterValues)
          Adds a constraint for the attribute semantics to the filter.
 void thereExistsSemantics(short operator, String[] filterValues)
          Adds a constraint for the attribute semantics to the filter.
 
Methods inherited from interface org.omg.model1.cci.BehaviouralFeatureFilter
forAllParameter, forAllParameter, thereExistsParameter, thereExistsParameter
 
Methods inherited from interface org.omg.model1.cci.FeatureFilter
forAllScope, forAllScope, forAllVisibility, forAllVisibility, orderByScope, orderByVisibility, thereExistsScope, thereExistsScope, thereExistsVisibility, thereExistsVisibility
 
Methods inherited from interface org.omg.model1.cci.NamespaceFilter
forAllContent, forAllContent, thereExistsContent, thereExistsContent
 
Methods inherited from interface org.omg.model1.cci.ElementFilter
forAllAnnotation, forAllAnnotation, forAllContainer, forAllContainer, forAllName, forAllName, forAllQualifiedName, forAllQualifiedName, forAllStereotype, forAllStereotype, orderByAnnotation, orderByName, orderByQualifiedName, orderByStereotype, thereExistsAnnotation, thereExistsAnnotation, thereExistsContainer, thereExistsContainer, thereExistsName, thereExistsName, thereExistsQualifiedName, thereExistsQualifiedName, thereExistsStereotype, thereExistsStereotype
 
Methods inherited from interface org.openmdx.base.cci.BasicObjectFilter
forAllCreatedAt, forAllCreatedAt, forAllCreatedBy, forAllCreatedBy, forAllModifiedAt, forAllModifiedAt, forAllModifiedBy, forAllModifiedBy, orderByCreatedAt, orderByCreatedBy, orderByModifiedAt, orderByModifiedBy, thereExistsCreatedAt, thereExistsCreatedAt, thereExistsCreatedBy, thereExistsCreatedBy, thereExistsModifiedAt, thereExistsModifiedAt, thereExistsModifiedBy, thereExistsModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapableFilter
forAllContext, forAllContext, thereExistsContext, thereExistsContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapableFilter
forAllIdentity, forAllIdentity, orderByIdentity, thereExistsIdentity, thereExistsIdentity
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllException

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

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

thereExistsException

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

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

forAllException

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

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

thereExistsException

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

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

forAllIsQuery

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

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

You can set at most one thereExistsIsQuery or forAllIsQuery constraint for this attribute.

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

thereExistsIsQuery

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

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

You can set at most one thereExistsIsQuery or forAllIsQuery constraint for this attribute.

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

forAllIsQuery

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

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

You can set at most one thereExistsIsQuery or forAllIsQuery constraint for this attribute.

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

thereExistsIsQuery

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

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

You can set at most one thereExistsIsQuery or forAllIsQuery constraint for this attribute.

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

orderByIsQuery

void orderByIsQuery(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

forAllSemantics

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

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

You can set at most one thereExistsSemantics or forAllSemantics constraint for this attribute.

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

thereExistsSemantics

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

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

You can set at most one thereExistsSemantics or forAllSemantics constraint for this attribute.

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

forAllSemantics

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

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

You can set at most one thereExistsSemantics or forAllSemantics constraint for this attribute.

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

thereExistsSemantics

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

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

You can set at most one thereExistsSemantics or forAllSemantics constraint for this attribute.

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

orderBySemantics

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