org.openmdx.filter1.cci
Class UriPropertyFilterImpl

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.filter1.cci.UriPropertyFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, PropertyFilter, UriPropertyFilter, PropertyQuery, UriPropertyQuery, AnyTypePredicate

public class UriPropertyFilterImpl
extends RefPredicate_1
implements UriPropertyFilter, UriPropertyQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
UriPropertyFilterImpl(RefPackage_1_0 aPackage)
           
UriPropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
UriPropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 void forAllName(short operator, Collection values)
           
 void forAllName(short operator, String[] filterValues)
           
 void forAllOperator(short operator, Collection values)
           
 void forAllOperator(short operator, short[] filterValues)
           
 void forAllQuantor(short operator, Collection values)
           
 void forAllQuantor(short operator, short[] filterValues)
           
 ResourceIdentifierTypePredicate forAllValue()
          Adds a constraint for the feature value to the predicate.
 void forAllValue(short operator, Collection values)
           
 void forAllValue(short operator, String[] filterValues)
           
 StringTypePredicate name()
           
 ComparableTypePredicate operator()
           
 SimpleTypeOrder orderByName()
          Allows to adds a sort instruction for Property depending the feature name Note: The order in which orderBy… instructions are given is relevant!
 void orderByName(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByOperator()
          Allows to adds a sort instruction for Property depending the feature operator Note: The order in which orderBy… instructions are given is relevant!
 void orderByOperator(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 SimpleTypeOrder orderByQuantor()
          Allows to adds a sort instruction for Property depending the feature quantor Note: The order in which orderBy… instructions are given is relevant!
 void orderByQuantor(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByValue()
          Allows to adds a sort instruction for UriProperty depending the feature value Note: The order in which orderBy… instructions are given is relevant!
 void orderByValue(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 ComparableTypePredicate quantor()
           
 void thereExistsName(short operator, Collection values)
           
 void thereExistsName(short operator, String[] filterValues)
           
 void thereExistsOperator(short operator, Collection values)
           
 void thereExistsOperator(short operator, short[] filterValues)
           
 void thereExistsQuantor(short operator, Collection values)
           
 void thereExistsQuantor(short operator, short[] filterValues)
           
 ResourceIdentifierTypePredicate thereExistsValue()
          Adds a constraint for the feature value to the predicate.
 void thereExistsValue(short operator, Collection values)
           
 void thereExistsValue(short operator, String[] filterValues)
           
 MultivaluedFeaturePredicate value()
          Adds a constraint to the predicate for UriProperty testing whether the feature value has values or not.
 
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

UriPropertyFilterImpl

public UriPropertyFilterImpl(RefPackage_1_0 aPackage)

UriPropertyFilterImpl

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

UriPropertyFilterImpl

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

forAllName

public void forAllName(short operator,
                       Collection values)
Specified by:
forAllName in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsName

public void thereExistsName(short operator,
                            Collection values)
Specified by:
thereExistsName in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllName

public void forAllName(short operator,
                       String[] filterValues)
Specified by:
forAllName in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsName

public void thereExistsName(short operator,
                            String[] filterValues)
Specified by:
thereExistsName in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

orderByName

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

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

name

public StringTypePredicate name()
Specified by:
name in interface PropertyQuery

orderByName

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

Specified by:
orderByName in interface PropertyQuery

forAllOperator

public void forAllOperator(short operator,
                           Collection values)
Specified by:
forAllOperator in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsOperator

public void thereExistsOperator(short operator,
                                Collection values)
Specified by:
thereExistsOperator in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllOperator

public void forAllOperator(short operator,
                           short[] filterValues)
Specified by:
forAllOperator in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsOperator

public void thereExistsOperator(short operator,
                                short[] filterValues)
Specified by:
thereExistsOperator in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

orderByOperator

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

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

operator

public ComparableTypePredicate operator()
Specified by:
operator in interface PropertyQuery

orderByOperator

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

Specified by:
orderByOperator in interface PropertyQuery

forAllQuantor

public void forAllQuantor(short operator,
                          Collection values)
Specified by:
forAllQuantor in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsQuantor

public void thereExistsQuantor(short operator,
                               Collection values)
Specified by:
thereExistsQuantor in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllQuantor

public void forAllQuantor(short operator,
                          short[] filterValues)
Specified by:
forAllQuantor in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsQuantor

public void thereExistsQuantor(short operator,
                               short[] filterValues)
Specified by:
thereExistsQuantor in interface PropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

orderByQuantor

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

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

quantor

public ComparableTypePredicate quantor()
Specified by:
quantor in interface PropertyQuery

orderByQuantor

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

Specified by:
orderByQuantor in interface PropertyQuery

forAllValue

public void forAllValue(short operator,
                        Collection values)
Specified by:
forAllValue in interface UriPropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsValue

public void thereExistsValue(short operator,
                             Collection values)
Specified by:
thereExistsValue in interface UriPropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

forAllValue

public void forAllValue(short operator,
                        String[] filterValues)
Specified by:
forAllValue in interface UriPropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

thereExistsValue

public void thereExistsValue(short operator,
                             String[] filterValues)
Specified by:
thereExistsValue in interface UriPropertyFilter
Parameters:
operator - The operator for this filter.
See Also:
FilterOperators

orderByValue

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

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

value

public MultivaluedFeaturePredicate value()
Description copied from interface: UriPropertyQuery
Adds a constraint to the predicate for UriProperty testing whether the feature value has values or not.

Specified by:
value in interface UriPropertyQuery

thereExistsValue

public ResourceIdentifierTypePredicate thereExistsValue()
Description copied from interface: UriPropertyQuery
Adds a constraint for the feature value to the predicate. The predicate for UriProperty evaluates true if at least one of its values of feature value satisfies the given condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the predicate evaluates to false!

Specified by:
thereExistsValue in interface UriPropertyQuery

forAllValue

public ResourceIdentifierTypePredicate forAllValue()
Description copied from interface: UriPropertyQuery
Adds a constraint for the feature value to the predicate. The predicate for UriProperty evaluates true if all of its values of feature value satisfy the selected condition.

Since the multiplicity for this attribute is 0..n, the attribute can have no values in which case the predicate evaluates to true!

Specified by:
forAllValue in interface UriPropertyQuery

orderByValue

public MultivaluedTypeOrder orderByValue()
Description copied from interface: UriPropertyQuery
Allows to adds a sort instruction for UriProperty depending the feature value Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByValue in interface UriPropertyQuery


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