org.omg.model1.cci
Interface NamespaceFilter

All Superinterfaces:
BasicObjectFilter, ContextCapableFilter, ElementFilter, ExtentCapableFilter, RefFilter_1_0, Serializable, ViewCapableFilter
All Known Subinterfaces:
AliasTypeFilter, AssociationFilter, BehaviouralFeatureFilter, ClassFilter, ClassifierFilter, CollectionTypeFilter, DatatypeFilter, EnumerationTypeFilter, ExceptionFilter, GeneralizableElementFilter, OperationFilter, PackageFilter, PrimitiveTypeFilter, StructureTypeFilter
All Known Implementing Classes:
AliasTypeFilterImpl, AssociationFilterImpl, BehaviouralFeatureFilterImpl, ClassFilterImpl, ClassifierFilterImpl, CollectionTypeFilterImpl, DatatypeFilterImpl, EnumerationTypeFilterImpl, ExceptionFilterImpl, GeneralizableElementFilterImpl, NamespaceFilterImpl, OperationFilterImpl, PackageFilterImpl, PrimitiveTypeFilterImpl, StructureTypeFilterImpl

public interface NamespaceFilter
extends ElementFilter

A NamespaceFilter selects a set of instances of class Namespace 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 forAllContent(short operator, Collection filterValues)
          Adds a constraint for the attribute content to the filter.
 void forAllContent(short operator, Element[] filterValues)
          Adds a constraint for the attribute content to the filter.
 void thereExistsContent(short operator, Collection filterValues)
          Adds a constraint for the attribute content to the filter.
 void thereExistsContent(short operator, Element[] filterValues)
          Adds a constraint for the attribute content 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

forAllContent

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

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

thereExistsContent

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

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

forAllContent

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

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

thereExistsContent

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

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


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.