Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-03


oracle.olapi.syntax
Class ModelCommand

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

All Implemented Interfaces:
ConsistentSolveCommand

public final class ModelCommand
extends SimpleCommand
implements ConsistentSolveCommand

A SimpleCommand that represents an MdmDimensionCalculationModel in a BuildSpecification.


Constructor Summary
ModelCommand(MdmDimensionCalculationModel model)
          Creates a ModelCommand object for the specified MdmDimensionCalculationModel.

 

Method Summary
 MdmDimensionCalculationModel getModel()
          Gets the MdmDimensionCalculationModel that is associated with this ModelCommand.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitModelCommand method of the SyntaxObjectVisitor and passes that method this ModelCommand and an Object.

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, 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

ModelCommand

public ModelCommand(MdmDimensionCalculationModel model)
Creates a ModelCommand object for the specified MdmDimensionCalculationModel.
Parameters:
model - The MdmDimensionCalculationModel to include in the build specification.

Method Detail

getModel

public MdmDimensionCalculationModel getModel()
Gets the MdmDimensionCalculationModel that is associated with this ModelCommand.
Returns:
The MdmDimensionCalculationModel to build.

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitModelCommand method of the SyntaxObjectVisitor and passes that method this ModelCommand and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitModelCommand method.

Skip navigation links

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