org.omg.model1.cci
Interface ConstraintFilter

All Superinterfaces:
BasicObjectFilter, ContextCapableFilter, ElementFilter, ExtentCapableFilter, RefFilter_1_0, Serializable, ViewCapableFilter
All Known Implementing Classes:
ConstraintFilterImpl

public interface ConstraintFilter
extends ElementFilter

A ConstraintFilter selects a set of instances of class Constraint 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 forAllEvaluationPolicy(short operator, Collection filterValues)
          Adds a constraint for the attribute evaluationPolicy to the filter.
 void forAllEvaluationPolicy(short operator, String[] filterValues)
          Adds a constraint for the attribute evaluationPolicy to the filter.
 void forAllExpression(short operator, Collection filterValues)
          Adds a constraint for the attribute expression to the filter.
 void forAllExpression(short operator, String[] filterValues)
          Adds a constraint for the attribute expression to the filter.
 void forAllLanguage(short operator, Collection filterValues)
          Adds a constraint for the attribute language to the filter.
 void forAllLanguage(short operator, String[] filterValues)
          Adds a constraint for the attribute language to the filter.
 void orderByEvaluationPolicy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderByExpression(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderByLanguage(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsEvaluationPolicy(short operator, Collection filterValues)
          Adds a constraint for the attribute evaluationPolicy to the filter.
 void thereExistsEvaluationPolicy(short operator, String[] filterValues)
          Adds a constraint for the attribute evaluationPolicy to the filter.
 void thereExistsExpression(short operator, Collection filterValues)
          Adds a constraint for the attribute expression to the filter.
 void thereExistsExpression(short operator, String[] filterValues)
          Adds a constraint for the attribute expression to the filter.
 void thereExistsLanguage(short operator, Collection filterValues)
          Adds a constraint for the attribute language to the filter.
 void thereExistsLanguage(short operator, String[] filterValues)
          Adds a constraint for the attribute language to the filter.
 
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

forAllEvaluationPolicy

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

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

You can set at most one thereExistsEvaluationPolicy or forAllEvaluationPolicy constraint for this attribute.

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

thereExistsEvaluationPolicy

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

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

You can set at most one thereExistsEvaluationPolicy or forAllEvaluationPolicy constraint for this attribute.

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

forAllEvaluationPolicy

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

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

You can set at most one thereExistsEvaluationPolicy or forAllEvaluationPolicy constraint for this attribute.

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

thereExistsEvaluationPolicy

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

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

You can set at most one thereExistsEvaluationPolicy or forAllEvaluationPolicy constraint for this attribute.

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

orderByEvaluationPolicy

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

forAllExpression

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

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

You can set at most one thereExistsExpression or forAllExpression constraint for this attribute.

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

thereExistsExpression

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

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

You can set at most one thereExistsExpression or forAllExpression constraint for this attribute.

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

forAllExpression

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

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

You can set at most one thereExistsExpression or forAllExpression constraint for this attribute.

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

thereExistsExpression

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

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

You can set at most one thereExistsExpression or forAllExpression constraint for this attribute.

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

orderByExpression

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

forAllLanguage

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

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

You can set at most one thereExistsLanguage or forAllLanguage constraint for this attribute.

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

thereExistsLanguage

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

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

You can set at most one thereExistsLanguage or forAllLanguage constraint for this attribute.

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

forAllLanguage

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

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

You can set at most one thereExistsLanguage or forAllLanguage constraint for this attribute.

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

thereExistsLanguage

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

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

You can set at most one thereExistsLanguage or forAllLanguage constraint for this attribute.

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

orderByLanguage

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