org.omg.model1.cci
Interface AssociationFilter

All Superinterfaces:
BasicObjectFilter, ClassifierFilter, ContextCapableFilter, ElementFilter, ExtentCapableFilter, GeneralizableElementFilter, NamespaceFilter, RefFilter_1_0, Serializable, ViewCapableFilter
All Known Implementing Classes:
AssociationFilterImpl

public interface AssociationFilter
extends ClassifierFilter

A AssociationFilter selects a set of instances of class Association 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 forAllIsDerived(short operator, boolean[] filterValues)
          Adds a constraint for the attribute isDerived to the filter.
 void forAllIsDerived(short operator, Collection filterValues)
          Adds a constraint for the attribute isDerived to the filter.
 void orderByIsDerived(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsIsDerived(short operator, boolean[] filterValues)
          Adds a constraint for the attribute isDerived to the filter.
 void thereExistsIsDerived(short operator, Collection filterValues)
          Adds a constraint for the attribute isDerived to the filter.
 
Methods inherited from interface org.omg.model1.cci.ClassifierFilter
forAllCompositeReference, forAllCompositeReference, thereExistsCompositeReference, thereExistsCompositeReference
 
Methods inherited from interface org.omg.model1.cci.GeneralizableElementFilter
forAllAllSubtype, forAllAllSubtype, forAllAllSupertype, forAllAllSupertype, forAllFeature, forAllFeature, forAllIsAbstract, forAllIsAbstract, forAllSubtype, forAllSubtype, forAllSupertype, forAllSupertype, forAllVisibility, forAllVisibility, orderByIsAbstract, orderByVisibility, thereExistsAllSubtype, thereExistsAllSubtype, thereExistsAllSupertype, thereExistsAllSupertype, thereExistsFeature, thereExistsFeature, thereExistsIsAbstract, thereExistsIsAbstract, thereExistsSubtype, thereExistsSubtype, thereExistsSupertype, thereExistsSupertype, 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

forAllIsDerived

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

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

You can set at most one thereExistsIsDerived or forAllIsDerived constraint for this attribute.

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

thereExistsIsDerived

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

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

You can set at most one thereExistsIsDerived or forAllIsDerived constraint for this attribute.

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

forAllIsDerived

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

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

You can set at most one thereExistsIsDerived or forAllIsDerived constraint for this attribute.

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

thereExistsIsDerived

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

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

You can set at most one thereExistsIsDerived or forAllIsDerived constraint for this attribute.

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

orderByIsDerived

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