org.openmdx.security.authentication1.cci
Class SegmentFilterImpl

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.authentication1.cci.SegmentFilterImpl
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1, ContextCapableFilter, SegmentFilter, ContextCapableQuery, SegmentQuery, ViewCapableFilter, ViewCapableQuery, org.w3c.cci2.AnyTypePredicate

public class SegmentFilterImpl
extends RefPredicate_1
implements SegmentFilter, SegmentQuery

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openmdx.base.accessor.jmi.spi.RefPredicate_1
filter, name, quantor
 
Constructor Summary
SegmentFilterImpl(RefPackage_1_0 aPackage)
           
SegmentFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
SegmentFilterImpl(RefPackage_1_0 aPackage, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers, RefFilter_1_0 delegateFilter, Short delegateQuantor, String delegateName)
           
 
Method Summary
 org.w3c.cci2.MultivaluedFeaturePredicate context()
          Adds a constraint to the predicate for ContextCapable testing whether the feature context has values or not.
 org.w3c.cci2.OptionalFeaturePredicate description()
          Adds a constraint to the predicate for Segment testing whether the value of the feature description is null or not.
 ContextQuery forAllContext()
          Adds a constraint for the feature context to the predicate.
 void forAllContext(short operator, Collection values)
           
 void forAllContext(short operator, Context[] filterValues)
           
 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 Segment 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.
 ContextQuery thereExistsContext()
          Adds a constraint for the feature context to the predicate.
 void thereExistsContext(short operator, Collection values)
           
 void thereExistsContext(short operator, Context[] filterValues)
           
 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.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
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Constructor Detail

SegmentFilterImpl

public SegmentFilterImpl(RefPackage_1_0 aPackage)

SegmentFilterImpl

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

SegmentFilterImpl

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

forAllContext

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

thereExistsContext

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

forAllContext

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

thereExistsContext

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

context

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

Specified by:
context in interface ContextCapableQuery

thereExistsContext

public ContextQuery thereExistsContext()
Description copied from interface: ContextCapableQuery
Adds a constraint for the feature context to the predicate. The predicate for ContextCapable evaluates true if its value of feature context 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:
thereExistsContext in interface ContextCapableQuery

forAllContext

public ContextQuery forAllContext()
Description copied from interface: ContextCapableQuery
Adds a constraint for the feature context to the predicate. The predicate for ContextCapable evaluates true if its value of feature context 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:
forAllContext in interface ContextCapableQuery

forAllDescription

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

thereExistsDescription

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

forAllDescription

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

thereExistsDescription

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

orderByDescription

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

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

description

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

Specified by:
description in interface SegmentQuery

thereExistsDescription

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

forAllDescription

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

orderByDescription

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

Specified by:
orderByDescription in interface SegmentQuery


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