org.omg.model1.cci
Interface TagFilter

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

public interface TagFilter
extends ElementFilter

A TagFilter selects a set of instances of class Tag 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 forAllTagValue(short operator, Collection filterValues)
          Adds a constraint for the attribute tagValue to the filter.
 void forAllTagValue(short operator, String[] filterValues)
          Adds a constraint for the attribute tagValue to the filter.
 void orderByTagValue(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsTagValue(short operator, Collection filterValues)
          Adds a constraint for the attribute tagValue to the filter.
 void thereExistsTagValue(short operator, String[] filterValues)
          Adds a constraint for the attribute tagValue 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

forAllTagValue

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

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

thereExistsTagValue

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

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

forAllTagValue

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

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

thereExistsTagValue

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

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

orderByTagValue

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