org.openmdx.filter1.cci
Class BooleanPropertyFilterImpl

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.BooleanPropertyFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, BooleanPropertyFilter, PropertyFilter, BooleanPropertyQuery, PropertyQuery, org.w3c.cci2.AnyTypePredicate

public class BooleanPropertyFilterImpl
extends RefPredicate_1
implements BooleanPropertyFilter, BooleanPropertyQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
BooleanPropertyFilterImpl(RefPackage_1_0 aPackage)
           
BooleanPropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
BooleanPropertyFilterImpl(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)
           
 org.w3c.cci2.BooleanTypePredicate forAllValue()
          Adds a constraint for the feature value to the predicate.
 void forAllValue(short operator, boolean[] filterValues)
           
 void forAllValue(short operator, Collection values)
           
 org.w3c.cci2.StringTypePredicate name()
           
 org.w3c.cci2.ComparableTypePredicate operator()
           
 org.w3c.cci2.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.
 org.w3c.cci2.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.
 org.w3c.cci2.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.
 org.w3c.cci2.MultivaluedTypeOrder orderByValue()
          Allows to adds a sort instruction for BooleanProperty 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.
 org.w3c.cci2.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)
           
 org.w3c.cci2.BooleanTypePredicate thereExistsValue()
          Adds a constraint for the feature value to the predicate.
 void thereExistsValue(short operator, boolean[] filterValues)
           
 void thereExistsValue(short operator, Collection values)
           
 org.w3c.cci2.MultivaluedFeaturePredicate value()
          Adds a constraint to the predicate for BooleanProperty 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

BooleanPropertyFilterImpl

public BooleanPropertyFilterImpl(RefPackage_1_0 aPackage)

BooleanPropertyFilterImpl

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

BooleanPropertyFilterImpl

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

forAllValue

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

thereExistsValue

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

forAllValue

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

thereExistsValue

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

orderByValue

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

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

value

public org.w3c.cci2.MultivaluedFeaturePredicate value()
Description copied from interface: BooleanPropertyQuery
Adds a constraint to the predicate for BooleanProperty testing whether the feature value has values or not.

Specified by:
value in interface BooleanPropertyQuery

thereExistsValue

public org.w3c.cci2.BooleanTypePredicate thereExistsValue()
Description copied from interface: BooleanPropertyQuery
Adds a constraint for the feature value to the predicate. The predicate for BooleanProperty 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 BooleanPropertyQuery

forAllValue

public org.w3c.cci2.BooleanTypePredicate forAllValue()
Description copied from interface: BooleanPropertyQuery
Adds a constraint for the feature value to the predicate. The predicate for BooleanProperty 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 BooleanPropertyQuery

orderByValue

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

Specified by:
orderByValue in interface BooleanPropertyQuery

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 org.w3c.cci2.StringTypePredicate name()
Specified by:
name in interface PropertyQuery

orderByName

public org.w3c.cci2.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 org.w3c.cci2.ComparableTypePredicate operator()
Specified by:
operator in interface PropertyQuery

orderByOperator

public org.w3c.cci2.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 org.w3c.cci2.ComparableTypePredicate quantor()
Specified by:
quantor in interface PropertyQuery

orderByQuantor

public org.w3c.cci2.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


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