org.omg.model1.cci
Interface TypedElementFilter

All Superinterfaces:
BasicObjectFilter, ContextCapableFilter, ElementFilter, ExtentCapableFilter, RefFilter_1_0, Serializable, ViewCapableFilter
All Known Subinterfaces:
AliasTypeFilter, AssociationEndFilter, AttributeFilter, CollectionTypeFilter, ConstantFilter, ParameterFilter, ReferenceFilter, StructuralFeatureFilter, StructureFieldFilter
All Known Implementing Classes:
AliasTypeFilterImpl, AssociationEndFilterImpl, AttributeFilterImpl, CollectionTypeFilterImpl, ConstantFilterImpl, ParameterFilterImpl, ReferenceFilterImpl, StructuralFeatureFilterImpl, StructureFieldFilterImpl, TypedElementFilterImpl

public interface TypedElementFilter
extends ElementFilter

A TypedElementFilter selects a set of instances of class TypedElement 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 forAllType(short operator, Classifier[] filterValues)
          Adds a constraint for the attribute type to the filter.
 void forAllType(short operator, Collection filterValues)
          Adds a constraint for the attribute type to the filter.
 void thereExistsType(short operator, Classifier[] filterValues)
          Adds a constraint for the attribute type to the filter.
 void thereExistsType(short operator, Collection filterValues)
          Adds a constraint for the attribute type 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

forAllType

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

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

You can set at most one thereExistsType or forAllType constraint for this attribute.

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

thereExistsType

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

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

You can set at most one thereExistsType or forAllType constraint for this attribute.

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

forAllType

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

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

You can set at most one thereExistsType or forAllType constraint for this attribute.

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

thereExistsType

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

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

You can set at most one thereExistsType or forAllType constraint for this attribute.

Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute type 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.