Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.server
Class RowFilterKey

java.lang.Object
  extended by oracle.jbo.server.RowFilterKey
All Implemented Interfaces:
RowFilter
Direct Known Subclasses:
EffectiveDateFilterRange, RowFilterKeyForwardOnly, RowFilterQC

public class RowFilterKey
extends java.lang.Object
implements RowFilter


Field Summary
protected  Key mKey
           
 
Constructor Summary
RowFilterKey(ViewObjectImpl vo)
           
RowFilterKey(ViewObjectImpl vo, java.lang.Object[] values)
           
RowFilterKey(ViewObjectImpl vo, java.lang.Object[] values, int bindingStyle)
           
 
Method Summary
protected  boolean compareParamsWithValues(java.lang.Object[] params, java.lang.Object[] values, int paramsOffset, int valuesOffset, int size, boolean bIgnoreNamedParams)
           
 boolean equals(java.lang.Object val)
           
 Key getKey()
           
 int getParamLength()
          Returns the number of elements in the array of parameters that make up the row filter.
 java.lang.Object[] getParamValues()
          Returns the array of parameter values that make up the row filter.
 int getRowInitLength()
          Returns the number of elements in the array of row init values.
 java.lang.Object[] getRowInitValues()
          Returns the array of row init values.
 ViewObjectImpl getViewObjectImpl()
          Retrieves the view object association with the row filter.
 java.lang.Object[] getWhereClauseParams()
          Returns the array of wherel-caluse parameter values that make up the row filter.
 int hashCode()
           
 boolean isNameValuePairs()
           
 boolean isNull()
          Indicates whether this row filter represents a null filter or not.
 boolean paramQualifies(java.lang.Object[] values)
          Returns a flag indicating whether values is qualified by this row filter or not.
 boolean paramQualifiesWithOffset(java.lang.Object[] values, int filterOffset)
           
static java.lang.Object[] streamStringToValues(java.lang.String sString)
           
 java.lang.String streamToString()
           
 java.lang.String toString()
           
 boolean whereClauseParamQualifies(java.lang.Object[] values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mKey

protected Key mKey
Constructor Detail

RowFilterKey

public RowFilterKey(ViewObjectImpl vo,
                    java.lang.Object[] values,
                    int bindingStyle)

RowFilterKey

public RowFilterKey(ViewObjectImpl vo,
                    java.lang.Object[] values)

RowFilterKey

public RowFilterKey(ViewObjectImpl vo)
Method Detail

getKey

public Key getKey()

isNull

public boolean isNull()
Description copied from interface: RowFilter
Indicates whether this row filter represents a null filter or not.

Specified by:
isNull in interface RowFilter
Returns:
flag indicating whether the row filter represents a null filter or not.

getViewObjectImpl

public ViewObjectImpl getViewObjectImpl()
Description copied from interface: RowFilter
Retrieves the view object association with the row filter.

Specified by:
getViewObjectImpl in interface RowFilter
Returns:
the view object.

isNameValuePairs

public boolean isNameValuePairs()

getParamLength

public int getParamLength()
Description copied from interface: RowFilter
Returns the number of elements in the array of parameters that make up the row filter.

Specified by:
getParamLength in interface RowFilter
Returns:
the number of elements.

getParamValues

public java.lang.Object[] getParamValues()
Description copied from interface: RowFilter
Returns the array of parameter values that make up the row filter.

The difference between getParamValues() and getWhereClauseParams() shows up when the view object binding style is BINDING_STYLE_ORACLE_NAME. In this case, getWhereClauseParams() returns an array of name-value array. getParamValues() returns only an array of values.

Specified by:
getParamValues in interface RowFilter
Returns:
the parameter value array.

getWhereClauseParams

public java.lang.Object[] getWhereClauseParams()
Description copied from interface: RowFilter
Returns the array of wherel-caluse parameter values that make up the row filter.

The difference between getParamValues() and getWhereClauseParams() shows up when the view object binding style is BINDING_STYLE_ORACLE_NAME. In this case, getWhereClauseParams() returns an array of name-value array. getParamValues() returns only an array of values.

Specified by:
getWhereClauseParams in interface RowFilter
Returns:
the where-clause parameter array.

paramQualifies

public boolean paramQualifies(java.lang.Object[] values)
Description copied from interface: RowFilter
Returns a flag indicating whether values is qualified by this row filter or not.

Specified by:
paramQualifies in interface RowFilter
Parameters:
values - values to examine for qualification.
Returns:
a flag indicating whether it passes or not.

paramQualifiesWithOffset

public boolean paramQualifiesWithOffset(java.lang.Object[] values,
                                        int filterOffset)
Specified by:
paramQualifiesWithOffset in interface RowFilter

whereClauseParamQualifies

public boolean whereClauseParamQualifies(java.lang.Object[] values)
Specified by:
whereClauseParamQualifies in interface RowFilter

getRowInitLength

public int getRowInitLength()
Description copied from interface: RowFilter
Returns the number of elements in the array of row init values.

Specified by:
getRowInitLength in interface RowFilter
Returns:
the number of elements.

getRowInitValues

public java.lang.Object[] getRowInitValues()
Description copied from interface: RowFilter
Returns the array of row init values.

Specified by:
getRowInitValues in interface RowFilter
Returns:
the row init value array.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object val)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

streamToString

public java.lang.String streamToString()

streamStringToValues

public static java.lang.Object[] streamStringToValues(java.lang.String sString)

compareParamsWithValues

protected boolean compareParamsWithValues(java.lang.Object[] params,
                                          java.lang.Object[] values,
                                          int paramsOffset,
                                          int valuesOffset,
                                          int size,
                                          boolean bIgnoreNamedParams)

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.