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

E10794-01
Beta Draft

oracle.olapi.syntax
Class OLAPDMLCommand

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.OLAPDMLCommand

public final class OLAPDMLCommand
extends SimpleCommand

A SimpleCommand that represents an OLAP DML command in a BuildSpecification.


Constructor Summary
OLAPDMLCommand(java.lang.String dml)
          Creates an OLAPDMLCommand object that has the specified OLAP DML command.
 
Method Summary
 java.lang.String getDML()
          Gets the OLAP DML command of this OLAPDMLCommand.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitOLAPDMLCommand method of the SyntaxObjectVisitor and passes that method this OLAPDMLCommand 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

OLAPDMLCommand

public OLAPDMLCommand(java.lang.String dml)
Creates an OLAPDMLCommand object that has the specified OLAP DML command.

Parameters:
dml - A String that contains an OLAP DML command.
Method Detail

visit

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

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

getDML

public java.lang.String getDML()
Gets the OLAP DML command of this OLAPDMLCommand.

Returns:
A String that contains the OLAP DML command of this OLAPDMLCommand.

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