org.opencrx.kernel.address1.cci
Class AddressableFilterImpl

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.opencrx.kernel.address1.cci.AddressableFilterImpl
All Implemented Interfaces:
Serializable, AddressableFilter, AddressableQuery, RefFilter_1_0, RefFilter_1_1, AnyTypePredicate

public class AddressableFilterImpl
extends RefPredicate_1
implements AddressableFilter, AddressableQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
AddressableFilterImpl(RefPackage_1_0 aPackage)
           
AddressableFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
AddressableFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 OptionalFeaturePredicate building()
          Adds a constraint to the predicate for Addressable testing whether the value of the feature building is null or not.
 AbstractBuildingUnitQuery forAllBuilding()
          Adds a constraint for the feature building to the predicate.
 void forAllBuilding(short operator, AbstractBuildingUnit[] filterValues)
           
 void forAllBuilding(short operator, Collection values)
           
 void forAllIsMain(short operator, boolean[] filterValues)
           
 void forAllIsMain(short operator, Collection values)
           
 ComparableTypePredicate forAllUsage()
          Adds a constraint for the feature usage to the predicate.
 void forAllUsage(short operator, Collection values)
           
 void forAllUsage(short operator, short[] filterValues)
           
 BooleanTypePredicate isMain()
           
 SimpleTypeOrder orderByIsMain()
          Allows to adds a sort instruction for Addressable depending the feature isMain Note: The order in which orderBy… instructions are given is relevant!
 void orderByIsMain(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 MultivaluedTypeOrder orderByUsage()
          Allows to adds a sort instruction for Addressable depending the feature usage Note: The order in which orderBy… instructions are given is relevant!
 void orderByUsage(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 AbstractBuildingUnitQuery thereExistsBuilding()
          Adds a constraint for the feature building to the predicate.
 void thereExistsBuilding(short operator, AbstractBuildingUnit[] filterValues)
           
 void thereExistsBuilding(short operator, Collection values)
           
 void thereExistsIsMain(short operator, boolean[] filterValues)
           
 void thereExistsIsMain(short operator, Collection values)
           
 ComparableTypePredicate thereExistsUsage()
          Adds a constraint for the feature usage to the predicate.
 void thereExistsUsage(short operator, Collection values)
           
 void thereExistsUsage(short operator, short[] filterValues)
           
 MultivaluedFeaturePredicate usage()
          Adds a constraint to the predicate for Addressable testing whether the feature usage 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

AddressableFilterImpl

public AddressableFilterImpl(RefPackage_1_0 aPackage)

AddressableFilterImpl

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

AddressableFilterImpl

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

forAllBuilding

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

thereExistsBuilding

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

forAllBuilding

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

thereExistsBuilding

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

building

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

Specified by:
building in interface AddressableQuery

thereExistsBuilding

public AbstractBuildingUnitQuery thereExistsBuilding()
Description copied from interface: AddressableQuery
Adds a constraint for the feature building to the predicate. The predicate for Addressable evaluates true if its value of feature building 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:
thereExistsBuilding in interface AddressableQuery

forAllBuilding

public AbstractBuildingUnitQuery forAllBuilding()
Description copied from interface: AddressableQuery
Adds a constraint for the feature building to the predicate. The predicate for Addressable evaluates true if its value of feature building 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:
forAllBuilding in interface AddressableQuery

forAllIsMain

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

thereExistsIsMain

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

forAllIsMain

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

thereExistsIsMain

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

orderByIsMain

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

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

isMain

public BooleanTypePredicate isMain()
Specified by:
isMain in interface AddressableQuery

orderByIsMain

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

Specified by:
orderByIsMain in interface AddressableQuery

forAllUsage

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

thereExistsUsage

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

forAllUsage

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

thereExistsUsage

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

orderByUsage

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

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

usage

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

Specified by:
usage in interface AddressableQuery

thereExistsUsage

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

forAllUsage

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

orderByUsage

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

Specified by:
orderByUsage in interface AddressableQuery


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