Skip navigation links

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

B28128-01


oracle.olapi.syntax
Class BuildSpecification

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.BuildSpecification


public class BuildSpecification
extends SyntaxObject

A SyntaxObject that contains commands that specify how to build a BuildItem.


Constructor Summary
BuildSpecification(java.lang.String name, BuildCommand[] commands)
          Creates a new BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified array.
BuildSpecification(java.lang.String name, java.util.List<BuildCommand> commands)
          Creates a new BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified list.

 

Method Summary
 BuildCommand[] getCommands()
          Gets the BuildCommand objects that are contained by this BuildSpecification.
 java.lang.String getName()
          Gets the name of this BuildSpecification.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitBuildSpecification method of the SyntaxObjectVisitor and passes that method this BuildSpecificatio and an Object.

 

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

BuildSpecification

public BuildSpecification(java.lang.String name,
                          BuildCommand[] commands)
Creates a new BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified array.
Parameters:
name - A String that contains the name for the BuildSpecification.
commands - An array of BuildCommand objects for the BuildSpecification.

BuildSpecification

public BuildSpecification(java.lang.String name,
                          java.util.List<BuildCommand> commands)
Creates a new BuildSpecification that has the specified name and that contains the BuildCommand objects in the specified list.
Parameters:
name - A String that contains the name for the BuildSpecification.
commands - A List of BuildCommand objects for the BuildSpecification.

Method Detail

visit

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

getCommands

public BuildCommand[] getCommands()
Gets the BuildCommand objects that are contained by this BuildSpecification.
Returns:
An array of the BuildCommand objects contained by this BuildSpecification.

getName

public java.lang.String getName()
Gets the name of this BuildSpecification.
Returns:
A String that contains the name of this BuildSpecification.

Skip navigation links

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