org.openmdx.base.cci
Class ExtentCapableFilterImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
      extended by org.openmdx.base.accessor.jmi.spi.RefPredicate_1
          extended by org.openmdx.base.cci.ExtentCapableFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, ExtentCapableFilter, ExtentCapableQuery, AnyTypePredicate

public class ExtentCapableFilterImpl
extends RefPredicate_1
implements ExtentCapableFilter, ExtentCapableQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
ExtentCapableFilterImpl(RefPackage_1_0 aPackage)
           
ExtentCapableFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
ExtentCapableFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 void forAllIdentity(short operator, Collection values)
          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.
 StringTypePredicate identity()
          Adds a constraint for the feature identity to the predicate.
 SimpleTypeOrder orderByIdentity()
          Allows to adds a sort instruction for ExtentCapable depending the feature identity Note: The order in which orderBy… instructions are given is relevant!
 void orderByIdentity(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 void thereExistsIdentity(short operator, Collection values)
          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 class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo, refAddValue
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefFilter_1
clear, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties, refGetOrder, refGetOrder, refGetPredicate, refGetPredicate, refGetPredicate, refGetPredicate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefFilter_1_0
clear, refAddValue, refAddValue, refAddValue, refGetAttributeSpecifiers, refGetFilterProperties
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Constructor Detail

ExtentCapableFilterImpl

public ExtentCapableFilterImpl(RefPackage_1_0 aPackage)

ExtentCapableFilterImpl

public ExtentCapableFilterImpl(RefPackage_1_0 aPackage,
                               FilterProperty[] filterProperties,
                               AttributeSpecifier[] attributeSpecifiers)

ExtentCapableFilterImpl

public ExtentCapableFilterImpl(RefPackage_1_0 aPackage,
                               FilterProperty[] filterProperties,
                               AttributeSpecifier[] attributeSpecifiers,
                               RefFilter_1_0 delegateFilter,
                               Short delegateQuantor,
                               String delegateName)
Method Detail

forAllIdentity

public void forAllIdentity(short operator,
                           Collection values)
Description copied from interface: ExtentCapableFilter
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.

Specified by:
forAllIdentity in interface ExtentCapableFilter
Parameters:
operator - The operator for this filter.
values - The values you want the attribute identity to be compared to.
See Also:
FilterOperators

thereExistsIdentity

public void thereExistsIdentity(short operator,
                                Collection values)
Description copied from interface: ExtentCapableFilter
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.

Specified by:
thereExistsIdentity in interface ExtentCapableFilter
Parameters:
operator - The operator for this filter.
values - The values you want the attribute identity to be compared to.
See Also:
FilterOperators

forAllIdentity

public void forAllIdentity(short operator,
                           String[] filterValues)
Description copied from interface: ExtentCapableFilter
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.

Specified by:
forAllIdentity in interface ExtentCapableFilter
Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute identity to be compared to.
See Also:
FilterOperators

thereExistsIdentity

public void thereExistsIdentity(short operator,
                                String[] filterValues)
Description copied from interface: ExtentCapableFilter
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.

Specified by:
thereExistsIdentity in interface ExtentCapableFilter
Parameters:
operator - The operator for this filter.
filterValues - The values you want the attribute identity to be compared to.
See Also:
FilterOperators

orderByIdentity

public void orderByIdentity(short order)
Description copied from interface: ExtentCapableFilter
Specifies the sort order of all the instances that match the filter criteria.

Specified by:
orderByIdentity in interface ExtentCapableFilter
Parameters:
order - The sort order for this filter.
See Also:
Directions

identity

public StringTypePredicate identity()
Description copied from interface: ExtentCapableQuery
Adds a constraint for the feature identity to the predicate. The predicate for ExtentCapable evaluates true if its value of feature identity satisfies the selected condition.

Specified by:
identity in interface ExtentCapableQuery

orderByIdentity

public SimpleTypeOrder orderByIdentity()
Description copied from interface: ExtentCapableQuery
Allows to adds a sort instruction for ExtentCapable depending the feature identity Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByIdentity in interface ExtentCapableQuery


This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.