org.openmdx.base.accessor.jmi.spi
Class RefFilter_1

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefFilter_1
All Implemented Interfaces:
Serializable, RefFilter_1_0, RefFilter_1_1
Direct Known Subclasses:
RefPredicate_1

public class RefFilter_1
extends Object
implements RefFilter_1_1

RefFilter_1_0 implementation

See Also:
Serialized Form

Constructor Summary
RefFilter_1(RefPackage_1_0 refPackage, String filterType, FilterProperty[] filterProperties, AttributeSpecifier[] attributeSpecifiers)
           
 
Method Summary
 void clear()
          Clears the filter and removes all previously added filter values.
 void refAddValue(ModelElement_1_0 featureDef, int index, short order)
          Allows to specify the sort order for a field.
 void refAddValue(ModelElement_1_0 featureDef, short quantor, short operator, Collection value)
          This operation allows to set a filter value with the semantics .
 void refAddValue(String fieldName, int index, short order)
           
 void refAddValue(String fieldName, short order)
          Allows to specify the sort order for a field.
 void refAddValue(String fieldName, short quantor, short operator, Collection value)
          This operation allows to set a filter value with the semantics .
 void refAddValue(String fieldName, short quantor, short operator, RefFilter_1_0 filter)
          Allows to construct complex/nested filters.
 Collection refGetAttributeSpecifiers()
          Returns the collection of added attribute specifiers, i.e.
 Collection refGetFilterProperties()
          Returns the collection of added filter properties, i.e.
 Object refGetOrder(ModelElement_1_0 featureDef)
           
 Object refGetOrder(String fieldName)
           
 Object refGetPredicate(ModelElement_1_0 featureDef)
           
 Object refGetPredicate(short quantor, ModelElement_1_0 featureDef)
           
 Object refGetPredicate(short quantor, String fieldName)
           
 Object refGetPredicate(String fieldName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RefFilter_1

public RefFilter_1(RefPackage_1_0 refPackage,
                   String filterType,
                   FilterProperty[] filterProperties,
                   AttributeSpecifier[] attributeSpecifiers)
Method Detail

refAddValue

public void refAddValue(ModelElement_1_0 featureDef,
                        short quantor,
                        short operator,
                        Collection value)
Description copied from interface: RefFilter_1_1
This operation allows to set a filter value with the semantics . The value constants for the quantor and operator parameters are implementation-specific.

Specified by:
refAddValue in interface RefFilter_1_1

refAddValue

public void refAddValue(ModelElement_1_0 featureDef,
                        int index,
                        short order)
Description copied from interface: RefFilter_1_1
Allows to specify the sort order for a field.

Specified by:
refAddValue in interface RefFilter_1_1

refGetOrder

public Object refGetOrder(String fieldName)

refGetOrder

public Object refGetOrder(ModelElement_1_0 featureDef)

refGetPredicate

public Object refGetPredicate(String fieldName)

refGetPredicate

public Object refGetPredicate(ModelElement_1_0 featureDef)

refGetPredicate

public Object refGetPredicate(short quantor,
                              String fieldName)

refGetPredicate

public Object refGetPredicate(short quantor,
                              ModelElement_1_0 featureDef)

clear

public void clear()
Description copied from interface: RefFilter_1_0
Clears the filter and removes all previously added filter values.

Specified by:
clear in interface RefFilter_1_0

refGetFilterProperties

public Collection refGetFilterProperties()
Description copied from interface: RefFilter_1_0
Returns the collection of added filter properties, i.e. attributes added with refAddValue(fieldName, quantor, operator).

Specified by:
refGetFilterProperties in interface RefFilter_1_0
Returns:
Collection collection of org.openmdx.compatibility.base.query.FilterProperty.

refGetAttributeSpecifiers

public Collection refGetAttributeSpecifiers()
Description copied from interface: RefFilter_1_0
Returns the collection of added attribute specifiers, i.e. attributes added with refAddValue(fieldName, order).

Specified by:
refGetAttributeSpecifiers in interface RefFilter_1_0
Returns:
Collection collection of org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier.

refAddValue

public void refAddValue(String fieldName,
                        short quantor,
                        short operator,
                        Collection value)
Description copied from interface: RefFilter_1_0
This operation allows to set a filter value with the semantics . The value constants for the quantor and operator parameters are implementation-specific.

Specified by:
refAddValue in interface RefFilter_1_0

refAddValue

public void refAddValue(String fieldName,
                        short quantor,
                        short operator,
                        RefFilter_1_0 filter)
Description copied from interface: RefFilter_1_0
Allows to construct complex/nested filters.

Specified by:
refAddValue in interface RefFilter_1_0

refAddValue

public void refAddValue(String fieldName,
                        short order)
                 throws JmiException
Description copied from interface: RefFilter_1_0
Allows to specify the sort order for a field.

Specified by:
refAddValue in interface RefFilter_1_0
Throws:
JmiException

refAddValue

public void refAddValue(String fieldName,
                        int index,
                        short order)
                 throws JmiException
Throws:
JmiException

toString

public String toString()
Overrides:
toString in class Object


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