org.openmdx.base.cci
Interface ExtentCapableFilter

All Superinterfaces:
RefFilter_1_0, Serializable
All Known Subinterfaces:
AliasTypeFilter, AssociationEndFilter, AssociationFilter, AttributeFilter, BasicObjectFilter, BehaviouralFeatureFilter, ClassFilter, ClassifierFilter, CollectionTypeFilter, ComponentFilter, ConfigurationFilter, ConnectionFilter, ConstantFilter, ConstraintFilter, DatabaseConnectorFilter, DatabaseResourceReferenceFilter, DataproviderBooleanPropertyFilter, DataproviderConnectorFilter, DataproviderFilter, DataproviderIntegerPropertyFilter, DataproviderPropertyFilter, DataproviderResourceFilter, DataproviderResourceReferenceFilter, DataproviderStringPropertyFilter, DataproviderTypeBooleanPropertyFilter, DataproviderTypeFilter, DataproviderTypeIntegerPropertyFilter, DataproviderTypePropertyFilter, DataproviderTypeStringPropertyFilter, DatatypeFilter, DeploymentUnitFilter, DomainFilter, DomainFilter, ElementFilter, EnumerationTypeFilter, ExceptionFilter, FeatureFilter, GeneralizableElementFilter, GenericResourceReferenceFilter, HttpUrlConnectorFilter, ImportFilter, InboundCommunicationFilter, InstanceFilter, ModuleFilter, NamespaceFilter, NamespaceFilter, OperationFilter, OutboundCommunicationFilter, PackageFilter, ParameterFilter, PrimitiveTypeFilter, ReferenceFilter, ResourceAdapterBooleanPropertyFilter, ResourceAdapterFilter, ResourceAdapterIntegerPropertyFilter, ResourceAdapterPropertyFilter, ResourceAdapterStringPropertyFilter, ResourceReferenceFilter, StatefulConnectionFilter, StatelessConnectionFilter, StatelessResourceFilter, StatisticsFilter, StructuralFeatureFilter, StructureFieldFilter, StructureTypeFilter, TagFilter, TypedElementFilter, UnitOfWorkFilter
All Known Implementing Classes:
AliasTypeFilterImpl, AssociationEndFilterImpl, AssociationFilterImpl, AttributeFilterImpl, BasicObjectFilterImpl, BehaviouralFeatureFilterImpl, ClassFilterImpl, ClassifierFilterImpl, CollectionTypeFilterImpl, ComponentFilterImpl, ConfigurationFilterImpl, ConnectionFilterImpl, ConstantFilterImpl, ConstraintFilterImpl, DatabaseConnectorFilterImpl, DatabaseResourceReferenceFilterImpl, DataproviderBooleanPropertyFilterImpl, DataproviderConnectorFilterImpl, DataproviderFilterImpl, DataproviderIntegerPropertyFilterImpl, DataproviderPropertyFilterImpl, DataproviderResourceFilterImpl, DataproviderResourceReferenceFilterImpl, DataproviderStringPropertyFilterImpl, DataproviderTypeBooleanPropertyFilterImpl, DataproviderTypeFilterImpl, DataproviderTypeIntegerPropertyFilterImpl, DataproviderTypePropertyFilterImpl, DataproviderTypeStringPropertyFilterImpl, DatatypeFilterImpl, DeploymentUnitFilterImpl, DomainFilterImpl, DomainFilterImpl, ElementFilterImpl, EnumerationTypeFilterImpl, ExceptionFilterImpl, ExtentCapableFilterImpl, FeatureFilterImpl, GeneralizableElementFilterImpl, GenericResourceReferenceFilterImpl, HttpUrlConnectorFilterImpl, ImportFilterImpl, InboundCommunicationFilterImpl, InstanceFilterImpl, ModuleFilterImpl, NamespaceFilterImpl, NamespaceFilterImpl, OperationFilterImpl, OutboundCommunicationFilterImpl, PackageFilterImpl, ParameterFilterImpl, PrimitiveTypeFilterImpl, ReferenceFilterImpl, ResourceAdapterBooleanPropertyFilterImpl, ResourceAdapterFilterImpl, ResourceAdapterIntegerPropertyFilterImpl, ResourceAdapterPropertyFilterImpl, ResourceAdapterStringPropertyFilterImpl, ResourceReferenceFilterImpl, StatefulConnectionFilterImpl, StatelessConnectionFilterImpl, StatelessResourceFilterImpl, StatisticsFilterImpl, StructuralFeatureFilterImpl, StructureFieldFilterImpl, StructureTypeFilterImpl, TagFilterImpl, TypedElementFilterImpl, UnitOfWorkFilterImpl

public interface ExtentCapableFilter
extends RefFilter_1_0

A ExtentCapableFilter selects a set of instances of class ExtentCapable 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 forAllIdentity(short operator, Collection filterValues)
          Adds a constraint for the attribute identity to the filter.
 void forAllIdentity(short operator, String[] filterValues)
          Adds a constraint for the attribute identity to the filter.
 void orderByIdentity(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsIdentity(short operator, Collection filterValues)
          Adds a constraint for the attribute identity to the filter.
 void thereExistsIdentity(short operator, String[] filterValues)
          Adds a constraint for the attribute identity to the filter.
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 

Method Detail

forAllIdentity

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

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

You can set at most one thereExistsIdentity or forAllIdentity constraint for this attribute.

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

thereExistsIdentity

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

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

You can set at most one thereExistsIdentity or forAllIdentity constraint for this attribute.

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

forAllIdentity

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

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

You can set at most one thereExistsIdentity or forAllIdentity constraint for this attribute.

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

thereExistsIdentity

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

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

You can set at most one thereExistsIdentity or forAllIdentity constraint for this attribute.

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

orderByIdentity

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