org.openmdx.generic1.cci
Class IntegerPropertyFilterImpl

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.generic1.cci.IntegerPropertyFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, IntegerPropertyFilter, PropertyFilter, IntegerPropertyQuery, PropertyQuery, AnyTypePredicate

public class IntegerPropertyFilterImpl
extends RefPredicate_1
implements IntegerPropertyFilter, IntegerPropertyQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
IntegerPropertyFilterImpl(RefPackage_1_0 aPackage)
           
IntegerPropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
IntegerPropertyFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Property testing whether the value of the feature description is null or not.
 StringTypePredicate forAllDescription()
          Adds a constraint for the feature description to the predicate.
 void forAllDescription(short operator, Collection values)
           
 void forAllDescription(short operator, String[] filterValues)
           
 ComparableTypePredicate forAllIntegerValue()
          Adds a constraint for the feature integerValue to the predicate.
 void forAllIntegerValue(short operator, Collection values)
           
 void forAllIntegerValue(short operator, int[] filterValues)
           
 void forAllName(short operator, Collection values)
           
 void forAllName(short operator, String[] filterValues)
           
 MultivaluedFeaturePredicate integerValue()
          Adds a constraint to the predicate for IntegerProperty testing whether the feature integerValue has values or not.
 StringTypePredicate name()
           
 SimpleTypeOrder orderByDescription()
          Allows to adds a sort instruction for Property depending the feature description Note: The order in which orderBy… instructions are given is relevant!
 void orderByDescription(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByIntegerValue()
          Allows to adds a sort instruction for IntegerProperty depending the feature integerValue Note: The order in which orderBy… instructions are given is relevant!
 void orderByIntegerValue(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 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.
 StringTypePredicate thereExistsDescription()
          Adds a constraint for the feature description to the predicate.
 void thereExistsDescription(short operator, Collection values)
           
 void thereExistsDescription(short operator, String[] filterValues)
           
 ComparableTypePredicate thereExistsIntegerValue()
          Adds a constraint for the feature integerValue to the predicate.
 void thereExistsIntegerValue(short operator, Collection values)
           
 void thereExistsIntegerValue(short operator, int[] filterValues)
           
 void thereExistsName(short operator, Collection values)
           
 void thereExistsName(short operator, String[] filterValues)
           
 
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

IntegerPropertyFilterImpl

public IntegerPropertyFilterImpl(RefPackage_1_0 aPackage)

IntegerPropertyFilterImpl

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

IntegerPropertyFilterImpl

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

forAllIntegerValue

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

thereExistsIntegerValue

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

forAllIntegerValue

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

thereExistsIntegerValue

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

orderByIntegerValue

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

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

integerValue

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

Specified by:
integerValue in interface IntegerPropertyQuery

thereExistsIntegerValue

public ComparableTypePredicate thereExistsIntegerValue()
Description copied from interface: IntegerPropertyQuery
Adds a constraint for the feature integerValue to the predicate. The predicate for IntegerProperty evaluates true if at least one of its values of feature integerValue 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:
thereExistsIntegerValue in interface IntegerPropertyQuery

forAllIntegerValue

public ComparableTypePredicate forAllIntegerValue()
Description copied from interface: IntegerPropertyQuery
Adds a constraint for the feature integerValue to the predicate. The predicate for IntegerProperty evaluates true if all of its values of feature integerValue 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:
forAllIntegerValue in interface IntegerPropertyQuery

orderByIntegerValue

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

Specified by:
orderByIntegerValue in interface IntegerPropertyQuery

forAllDescription

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

thereExistsDescription

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

forAllDescription

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

thereExistsDescription

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

orderByDescription

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

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

description

public OptionalFeaturePredicate description()
Description copied from interface: PropertyQuery
Adds a constraint to the predicate for Property testing whether the value of the feature description is null or not.

Specified by:
description in interface PropertyQuery

thereExistsDescription

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

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

Specified by:
thereExistsDescription in interface PropertyQuery

forAllDescription

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

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

Specified by:
forAllDescription in interface PropertyQuery

orderByDescription

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

Specified by:
orderByDescription in interface PropertyQuery

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


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