org.openmdx.security.realm1.cci
Class SubjectFilterImpl

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.security.realm1.cci.SubjectFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, SubjectFilter, SubjectQuery, org.w3c.cci2.AnyTypePredicate

public class SubjectFilterImpl
extends RefPredicate_1
implements SubjectFilter, SubjectQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
SubjectFilterImpl(RefPackage_1_0 aPackage)
           
SubjectFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
SubjectFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 org.w3c.cci2.OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Subject testing whether the value of the feature description is null or not.
 org.w3c.cci2.StringTypePredicate forAllDescription()
          Adds a constraint for the feature description to the predicate.
 void forAllDescription(short operator, Collection values)
           
 void forAllDescription(short operator, String[] filterValues)
           
 org.w3c.cci2.SimpleTypeOrder orderByDescription()
          Allows to adds a sort instruction for Subject 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.
 org.w3c.cci2.StringTypePredicate thereExistsDescription()
          Adds a constraint for the feature description to the predicate.
 void thereExistsDescription(short operator, Collection values)
           
 void thereExistsDescription(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

SubjectFilterImpl

public SubjectFilterImpl(RefPackage_1_0 aPackage)

SubjectFilterImpl

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

SubjectFilterImpl

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

forAllDescription

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

thereExistsDescription

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

forAllDescription

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

thereExistsDescription

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

orderByDescription

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

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

description

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

Specified by:
description in interface SubjectQuery

thereExistsDescription

public org.w3c.cci2.StringTypePredicate thereExistsDescription()
Description copied from interface: SubjectQuery
Adds a constraint for the feature description to the predicate. The predicate for Subject 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 SubjectQuery

forAllDescription

public org.w3c.cci2.StringTypePredicate forAllDescription()
Description copied from interface: SubjectQuery
Adds a constraint for the feature description to the predicate. The predicate for Subject 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 SubjectQuery

orderByDescription

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

Specified by:
orderByDescription in interface SubjectQuery


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