org.openmdx.base.cci
Interface BasicObjectFilter

All Superinterfaces:
ContextCapableFilter, ExtentCapableFilter, RefFilter_1_0, Serializable, ViewCapableFilter
All Known Subinterfaces:
AliasTypeFilter, AssociationEndFilter, AssociationFilter, AttributeFilter, 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, 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 BasicObjectFilter
extends ContextCapableFilter, ExtentCapableFilter, ViewCapableFilter

A BasicObjectFilter selects a set of instances of class BasicObject 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 forAllCreatedAt(short operator, Collection filterValues)
          Adds a constraint for the attribute createdAt to the filter.
 void forAllCreatedAt(short operator, Date[] filterValues)
          Adds a constraint for the attribute createdAt to the filter.
 void forAllCreatedBy(short operator, Collection filterValues)
          Adds a constraint for the attribute createdBy to the filter.
 void forAllCreatedBy(short operator, String[] filterValues)
          Adds a constraint for the attribute createdBy to the filter.
 void forAllModifiedAt(short operator, Collection filterValues)
          Adds a constraint for the attribute modifiedAt to the filter.
 void forAllModifiedAt(short operator, Date[] filterValues)
          Adds a constraint for the attribute modifiedAt to the filter.
 void forAllModifiedBy(short operator, Collection filterValues)
          Adds a constraint for the attribute modifiedBy to the filter.
 void forAllModifiedBy(short operator, String[] filterValues)
          Adds a constraint for the attribute modifiedBy to the filter.
 void orderByCreatedAt(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderByCreatedBy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderByModifiedAt(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void orderByModifiedBy(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsCreatedAt(short operator, Collection filterValues)
          Adds a constraint for the attribute createdAt to the filter.
 void thereExistsCreatedAt(short operator, Date[] filterValues)
          Adds a constraint for the attribute createdAt to the filter.
 void thereExistsCreatedBy(short operator, Collection filterValues)
          Adds a constraint for the attribute createdBy to the filter.
 void thereExistsCreatedBy(short operator, String[] filterValues)
          Adds a constraint for the attribute createdBy to the filter.
 void thereExistsModifiedAt(short operator, Collection filterValues)
          Adds a constraint for the attribute modifiedAt to the filter.
 void thereExistsModifiedAt(short operator, Date[] filterValues)
          Adds a constraint for the attribute modifiedAt to the filter.
 void thereExistsModifiedBy(short operator, Collection filterValues)
          Adds a constraint for the attribute modifiedBy to the filter.
 void thereExistsModifiedBy(short operator, String[] filterValues)
          Adds a constraint for the attribute modifiedBy to the filter.
 
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

forAllCreatedAt

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

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

You can set at most one thereExistsCreatedAt or forAllCreatedAt constraint for this attribute.

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

thereExistsCreatedAt

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

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

You can set at most one thereExistsCreatedAt or forAllCreatedAt constraint for this attribute.

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

forAllCreatedAt

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

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

You can set at most one thereExistsCreatedAt or forAllCreatedAt constraint for this attribute.

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

thereExistsCreatedAt

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

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

You can set at most one thereExistsCreatedAt or forAllCreatedAt constraint for this attribute.

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

orderByCreatedAt

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

forAllCreatedBy

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

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

thereExistsCreatedBy

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

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

forAllCreatedBy

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

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

thereExistsCreatedBy

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

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

orderByCreatedBy

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

forAllModifiedAt

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

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

You can set at most one thereExistsModifiedAt or forAllModifiedAt constraint for this attribute.

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

thereExistsModifiedAt

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

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

You can set at most one thereExistsModifiedAt or forAllModifiedAt constraint for this attribute.

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

forAllModifiedAt

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

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

You can set at most one thereExistsModifiedAt or forAllModifiedAt constraint for this attribute.

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

thereExistsModifiedAt

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

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

You can set at most one thereExistsModifiedAt or forAllModifiedAt constraint for this attribute.

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

orderByModifiedAt

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

forAllModifiedBy

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

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

thereExistsModifiedBy

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

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

forAllModifiedBy

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

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

thereExistsModifiedBy

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

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

orderByModifiedBy

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