Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-01
Beta Draft

oracle.olapi.syntax
Class PLSQLCommand

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildCommand
          extended by oracle.olapi.syntax.SimpleCommand
              extended by oracle.olapi.syntax.PLSQLCommand

public final class PLSQLCommand
extends SimpleCommand

A SimpleCommand that represents a PL/SQL command in a BuildSpecification.


Constructor Summary
PLSQLCommand(java.lang.String PLSQL)
          Creates an PLSQLCommand object that has the specified PL/SQL command.
 
Method Summary
 java.lang.String getPLSQL()
          Gets the PL/SQL command of this PLSQLCommand.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitPLSQLCommand method of the SyntaxObjectVisitor and passes that method this PLSQLCommand and an Object.
 
Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PLSQLCommand

public PLSQLCommand(java.lang.String PLSQL)
Creates an PLSQLCommand object that has the specified PL/SQL command.

Parameters:
PLSQL - A String that contains a PL/SQL command.
Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitPLSQLCommand method of the SyntaxObjectVisitor and passes that method this PLSQLCommand and an Object.

Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitPLSQLCommand method.

getPLSQL

public java.lang.String getPLSQL()
Gets the PL/SQL command of this PLSQLCommand.

Returns:
A String that contains the PL/SQL command of this PLSQLCommand.

Copyright © 2002, 2009, Oracle. All rights reserved.