org.openmdx.base.cci
Class RoleCapableFilterImpl

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.RoleCapableFilterImpl
All Implemented Interfaces:
Serializable, org.openmdx.base.accessor.jmi.cci.RefFilter_1_0, org.openmdx.base.accessor.jmi.cci.RefFilter_1_1, RoleCapableFilter, RoleCapableQuery, org.w3c.cci2.AnyTypePredicate

public class RoleCapableFilterImpl
extends org.openmdx.base.accessor.jmi.spi.RefPredicate_1
implements RoleCapableFilter, RoleCapableQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
RoleCapableFilterImpl(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage)
           
RoleCapableFilterImpl(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage, org.openmdx.compatibility.base.query.FilterProperty[] filterProperties, org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers)
           
RoleCapableFilterImpl(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage, org.openmdx.compatibility.base.query.FilterProperty[] filterProperties, org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers, org.openmdx.base.accessor.jmi.cci.RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 RoleCapableQuery forAllRole()
          Adds a constraint for the feature role to the predicate.
 void forAllRole(short operator, Collection values)
           
 void forAllRole(short operator, RoleCapable[] filterValues)
           
 org.w3c.cci2.StringTypePredicate forAllRoleId()
          Adds a constraint for the feature roleId to the predicate.
 void forAllRoleId(short operator, Collection values)
           
 void forAllRoleId(short operator, String[] filterValues)
           
 org.w3c.cci2.SimpleTypeOrder orderByRoleId()
          Allows to adds a sort instruction for RoleCapable depending the feature roleId Note: The order in which orderBy… instructions are given is relevant!
 void orderByRoleId(short order)
          Specifies the sort order of all the instances that match the filter criteria.
 org.w3c.cci2.MultivaluedFeaturePredicate role()
          Adds a constraint to the predicate for RoleCapable testing whether the feature role has values or not.
 org.w3c.cci2.OptionalFeaturePredicate roleId()
          Adds a constraint to the predicate for RoleCapable testing whether the value of the feature roleId is null or not.
 RoleCapableQuery thereExistsRole()
          Adds a constraint for the feature role to the predicate.
 void thereExistsRole(short operator, Collection values)
           
 void thereExistsRole(short operator, RoleCapable[] filterValues)
           
 org.w3c.cci2.StringTypePredicate thereExistsRoleId()
          Adds a constraint for the feature roleId to the predicate.
 void thereExistsRoleId(short operator, Collection values)
           
 void thereExistsRoleId(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

RoleCapableFilterImpl

public RoleCapableFilterImpl(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage)

RoleCapableFilterImpl

public RoleCapableFilterImpl(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage,
                             org.openmdx.compatibility.base.query.FilterProperty[] filterProperties,
                             org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers)

RoleCapableFilterImpl

public RoleCapableFilterImpl(org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage,
                             org.openmdx.compatibility.base.query.FilterProperty[] filterProperties,
                             org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers,
                             org.openmdx.base.accessor.jmi.cci.RefFilter_1_0 delegateFilter,
                             Short delegateQuantor,
                             String delegateName)
Method Detail

forAllRole

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

thereExistsRole

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

forAllRole

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

thereExistsRole

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

role

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

Specified by:
role in interface RoleCapableQuery

thereExistsRole

public RoleCapableQuery thereExistsRole()
Description copied from interface: RoleCapableQuery
Adds a constraint for the feature role to the predicate. The predicate for RoleCapable evaluates true if its value of feature role 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:
thereExistsRole in interface RoleCapableQuery

forAllRole

public RoleCapableQuery forAllRole()
Description copied from interface: RoleCapableQuery
Adds a constraint for the feature role to the predicate. The predicate for RoleCapable evaluates true if its value of feature role 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:
forAllRole in interface RoleCapableQuery

forAllRoleId

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

thereExistsRoleId

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

forAllRoleId

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

thereExistsRoleId

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

orderByRoleId

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

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

roleId

public org.w3c.cci2.OptionalFeaturePredicate roleId()
Description copied from interface: RoleCapableQuery
Adds a constraint to the predicate for RoleCapable testing whether the value of the feature roleId is null or not.

Specified by:
roleId in interface RoleCapableQuery

thereExistsRoleId

public org.w3c.cci2.StringTypePredicate thereExistsRoleId()
Description copied from interface: RoleCapableQuery
Adds a constraint for the feature roleId to the predicate. The predicate for RoleCapable evaluates true if its value of feature roleId 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:
thereExistsRoleId in interface RoleCapableQuery

forAllRoleId

public org.w3c.cci2.StringTypePredicate forAllRoleId()
Description copied from interface: RoleCapableQuery
Adds a constraint for the feature roleId to the predicate. The predicate for RoleCapable evaluates true if its value of feature roleId 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:
forAllRoleId in interface RoleCapableQuery

orderByRoleId

public org.w3c.cci2.SimpleTypeOrder orderByRoleId()
Description copied from interface: RoleCapableQuery
Allows to adds a sort instruction for RoleCapable depending the feature roleId Note: The order in which orderBy… instructions are given is relevant!

Specified by:
orderByRoleId in interface RoleCapableQuery


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