org.omg.model1.cci
Interface GeneralizableElementFilter

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

public interface GeneralizableElementFilter
extends NamespaceFilter

A GeneralizableElementFilter selects a set of instances of class GeneralizableElement 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 forAllAllSubtype(short operator, Collection filterValues)
          Adds a constraint for the attribute allSubtype to the filter.
 void forAllAllSubtype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute allSubtype to the filter.
 void forAllAllSupertype(short operator, Collection filterValues)
          Adds a constraint for the attribute allSupertype to the filter.
 void forAllAllSupertype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute allSupertype to the filter.
 void forAllFeature(short operator, Collection filterValues)
          Adds a constraint for the attribute feature to the filter.
 void forAllFeature(short operator, Feature[] filterValues)
          Adds a constraint for the attribute feature to the filter.
 void forAllIsAbstract(short operator, boolean[] filterValues)
          Adds a constraint for the attribute isAbstract to the filter.
 void forAllIsAbstract(short operator, Collection filterValues)
          Adds a constraint for the attribute isAbstract to the filter.
 void forAllSubtype(short operator, Collection filterValues)
          Adds a constraint for the attribute subtype to the filter.
 void forAllSubtype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute subtype to the filter.
 void forAllSupertype(short operator, Collection filterValues)
          Adds a constraint for the attribute supertype to the filter.
 void forAllSupertype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute supertype to the filter.
 void forAllVisibility(short operator, Collection filterValues)
          Adds a constraint for the attribute visibility to the filter.
 void forAllVisibility(short operator, String[] filterValues)
          Adds a constraint for the attribute visibility to the filter.
 void orderByIsAbstract(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderByVisibility(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsAllSubtype(short operator, Collection filterValues)
          Adds a constraint for the attribute allSubtype to the filter.
 void thereExistsAllSubtype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute allSubtype to the filter.
 void thereExistsAllSupertype(short operator, Collection filterValues)
          Adds a constraint for the attribute allSupertype to the filter.
 void thereExistsAllSupertype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute allSupertype to the filter.
 void thereExistsFeature(short operator, Collection filterValues)
          Adds a constraint for the attribute feature to the filter.
 void thereExistsFeature(short operator, Feature[] filterValues)
          Adds a constraint for the attribute feature to the filter.
 void thereExistsIsAbstract(short operator, boolean[] filterValues)
          Adds a constraint for the attribute isAbstract to the filter.
 void thereExistsIsAbstract(short operator, Collection filterValues)
          Adds a constraint for the attribute isAbstract to the filter.
 void thereExistsSubtype(short operator, Collection filterValues)
          Adds a constraint for the attribute subtype to the filter.
 void thereExistsSubtype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute subtype to the filter.
 void thereExistsSupertype(short operator, Collection filterValues)
          Adds a constraint for the attribute supertype to the filter.
 void thereExistsSupertype(short operator, GeneralizableElement[] filterValues)
          Adds a constraint for the attribute supertype to the filter.
 void thereExistsVisibility(short operator, Collection filterValues)
          Adds a constraint for the attribute visibility to the filter.
 void thereExistsVisibility(short operator, String[] filterValues)
          Adds a constraint for the attribute visibility to the filter.
 
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

forAllAllSubtype

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

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

thereExistsAllSubtype

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

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

forAllAllSubtype

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

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

thereExistsAllSubtype

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

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

forAllAllSupertype

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

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

thereExistsAllSupertype

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

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

forAllAllSupertype

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

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

thereExistsAllSupertype

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

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

forAllFeature

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

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

thereExistsFeature

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

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

forAllFeature

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

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

thereExistsFeature

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

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

forAllIsAbstract

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

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

You can set at most one thereExistsIsAbstract or forAllIsAbstract constraint for this attribute.

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

thereExistsIsAbstract

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

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

You can set at most one thereExistsIsAbstract or forAllIsAbstract constraint for this attribute.

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

forAllIsAbstract

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

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

You can set at most one thereExistsIsAbstract or forAllIsAbstract constraint for this attribute.

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

thereExistsIsAbstract

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

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

You can set at most one thereExistsIsAbstract or forAllIsAbstract constraint for this attribute.

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

orderByIsAbstract

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

forAllSubtype

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

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

thereExistsSubtype

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

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

forAllSubtype

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

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

thereExistsSubtype

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

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

forAllSupertype

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

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

thereExistsSupertype

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

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

forAllSupertype

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

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

thereExistsSupertype

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

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

forAllVisibility

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

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

You can set at most one thereExistsVisibility or forAllVisibility constraint for this attribute.

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

thereExistsVisibility

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

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

You can set at most one thereExistsVisibility or forAllVisibility constraint for this attribute.

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

forAllVisibility

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

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

You can set at most one thereExistsVisibility or forAllVisibility constraint for this attribute.

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

thereExistsVisibility

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

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

You can set at most one thereExistsVisibility or forAllVisibility constraint for this attribute.

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

orderByVisibility

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