Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-02


oracle.rules.sdk2.decisionpoint
Class ViewObjectReference

java.lang.Object
  extended by oracle.rules.sdk2.decisionpoint.ViewObjectReference


public class ViewObjectReference
extends java.lang.Object

Constructor Summary
ViewObjectReference()
           
ViewObjectReference(SimpleDecisionPointInput dpinput)
           
ViewObjectReference(ViewObjectRef vor)
           

 

Method Summary
 ViewObjectReference addKeyValue(java.lang.String name, java.lang.Object value)
           
 ViewObjectReference clearKeyValues()
           
 short getFetchSize()
          The number of rows pre-fetched per call to the database.
 boolean getForwardOnly()
           
 java.util.List<DecisionPoint.NamedValue> getKeyValues()
           
 int getMaxFetchSize()
           
 java.lang.String getName()
           
 java.lang.String getViewObjectLoader()
           
 boolean isUsingWhereClause()
           
 ViewObjectReference setFetchSize(short newfetchSize)
           
 ViewObjectReference setForwardOnly(boolean newforwardOnly)
           
 ViewObjectReference setMaxFetchSize(int newmaxFetchSize)
          Maximum number of rows to fetch for this View Object.
 ViewObjectReference setName(java.lang.String name)
           
 ViewObjectReference setUsingWhereClause(boolean newusingWhereClause)
           
 ViewObjectReference setViewObjectLoader(java.lang.String newviewObjectLoader)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ViewObjectReference

public ViewObjectReference()

ViewObjectReference

public ViewObjectReference(ViewObjectRef vor)

ViewObjectReference

public ViewObjectReference(SimpleDecisionPointInput dpinput)

Method Detail

getKeyValues

public java.util.List<DecisionPoint.NamedValue> getKeyValues()

getViewObjectLoader

public java.lang.String getViewObjectLoader()

getFetchSize

public short getFetchSize()
The number of rows pre-fetched per call to the database. This should be set to a value according to the magnitude of the number of rows. Note that the row pre-fetch size has performance ramifications. A larger fetch size is more expensive in terms of memory usage than a smaller size. A smaller fetch size will incur the database call overhead once per row, which can significantly reduce performance. The default fetch size is 1 row.

setFetchSize

public ViewObjectReference setFetchSize(short newfetchSize)

setMaxFetchSize

public ViewObjectReference setMaxFetchSize(int newmaxFetchSize)
Maximum number of rows to fetch for this View Object. This generally does not need to be changed. Value of -1 will retrieve an unlimited number of rows (default). Value of 0 will cause the database query not to be executed.

getMaxFetchSize

public int getMaxFetchSize()

getForwardOnly

public boolean getForwardOnly()

setForwardOnly

public ViewObjectReference setForwardOnly(boolean newforwardOnly)

isUsingWhereClause

public boolean isUsingWhereClause()

getName

public java.lang.String getName()

setName

public ViewObjectReference setName(java.lang.String name)

addKeyValue

public ViewObjectReference addKeyValue(java.lang.String name,
                                       java.lang.Object value)

clearKeyValues

public ViewObjectReference clearKeyValues()

setViewObjectLoader

public ViewObjectReference setViewObjectLoader(java.lang.String newviewObjectLoader)

setUsingWhereClause

public ViewObjectReference setUsingWhereClause(boolean newusingWhereClause)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1)

E10663-02


Copyright © 2009, Oracle and/or its affiliates. All rights reserved.