Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.dss.util
Class Operation

java.lang.Object
  extended by oracle.dss.util.Operation

All Implemented Interfaces:
java.io.Serializable

public class Operation
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
For internal use only. Application developers should not use this
Base class representing a wrapped API-unit of operation

Field Summary
protected  boolean m_generatesCursor
           
protected  java.lang.String name
           
protected  Parameter[] parameters
           

 

Constructor Summary
Operation(java.lang.String n, Parameter[] p, boolean gc)
          Construct an operation.

 

Method Summary
 java.lang.Object execute(java.lang.Object executionTarget)
          Execute the operation on a given implementing object.
 boolean generatesCursor()
          Return whether or not the operation generates a cursor.
 java.lang.String getName()
           
 Parameter[] getParameters()
           
 void setGeneratesCursor(boolean generatesCursor)
           
 void setName(java.lang.String n)
           
 void setParameters(Parameter[] p)
           
 java.lang.String toString()
          Override.

 

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

 

Field Detail

name

protected java.lang.String name

parameters

protected Parameter[] parameters

m_generatesCursor

protected boolean m_generatesCursor

Constructor Detail

Operation

public Operation(java.lang.String n,
                 Parameter[] p,
                 boolean gc)
Construct an operation.
Parameters:
n - exact name of the API method
p - array of parameters for the operation's method
gc - true if the given operation can generate a cursor when it finishes

Method Detail

execute

public java.lang.Object execute(java.lang.Object executionTarget)
                         throws java.lang.reflect.InvocationTargetException
Execute the operation on a given implementing object.
Parameters:
executionTarget - the object on which to execute the method. It is the caller's responsibility to ensure that executionTarget implements the stored method.
Returns:
return value of called operation method, if any
Throws:
java.lang.reflect.InvocationTargetException - just a way of passing on any random exception thrown by the method

setParameters

public void setParameters(Parameter[] p)
For internal use only. Application developers should not use this

setName

public void setName(java.lang.String n)
For internal use only. Application developers should not use this

getName

public java.lang.String getName()
For internal use only. Application developers should not use this

getParameters

public Parameter[] getParameters()
For internal use only. Application developers should not use this

setGeneratesCursor

public void setGeneratesCursor(boolean generatesCursor)
For internal use only. Application developers should not use this

generatesCursor

public boolean generatesCursor()
Return whether or not the operation generates a cursor.
Returns:
true if operation normally generates a cursor

toString

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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


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