Skip navigation links

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

B28128-01


oracle.olapi.syntax
Class BuildItem

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


public final class BuildItem
extends SyntaxObject

A SyntaxObject that specifies a Buildable object and optionally a BuildSpecification.


Constructor Summary
BuildItem(Buildable obj)
          Creates a new BuildItem for the specified Buildable object.
BuildItem(Buildable obj, BuildSpecification inlineSpec)
          Creates a new BuildItem for the specified Buildable object using the specified BuildSpecification.
BuildItem(Buildable obj, java.lang.String buildName)
          Creates a new BuildItem for the specified Buildable object using the named BuildSpecification.

 

Method Summary
 Buildable getBuildObject()
          Gets the Buildable object associated with this BuildItem.
 java.lang.String getBuildSpecName()
          Gets the name of a BuildSpecification that was created with the BuildItem(Buildable obj, String buildName) constructor.
 BuildSpecification getInlineBuildSpecification()
          Gets the BuildSpecification that is associated with a BuildItem that was created with the BuildItem(Buildable obj, BuildSpecification inlineSpec) constructor.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitBuildItem method of the SyntaxObjectVisitor and passes that method this BuildItem 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

BuildItem

public BuildItem(Buildable obj)
Creates a new BuildItem for the specified Buildable object.
Parameters:
obj - An MdmCube or MdmPrimaryDimension.

BuildItem

public BuildItem(Buildable obj,
                 java.lang.String buildName)
Creates a new BuildItem for the specified Buildable object using the named BuildSpecification.
Parameters:
obj - An MdmCube or MdmPrimaryDimension.
buildName - A String that contains the name of a BuildSpecification.

BuildItem

public BuildItem(Buildable obj,
                 BuildSpecification inlineSpec)
Creates a new BuildItem for the specified Buildable object using the specified BuildSpecification.
Parameters:
obj - An MdmCube or MdmPrimaryDimension.
inlineSpec - A BuildSpecification that contains the BuildCommand objects to use.

Method Detail

visit

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

getBuildSpecName

public java.lang.String getBuildSpecName()
Gets the name of a BuildSpecification that was created with the BuildItem(Buildable obj, String buildName) constructor.
Returns:
A String that contains the name of the BuildSpecification associated with this BuildItem.

getBuildObject

public Buildable getBuildObject()
Gets the Buildable object associated with this BuildItem.
Returns:
The Buildable object associated with this BuildItem.

getInlineBuildSpecification

public BuildSpecification getInlineBuildSpecification()
Gets the BuildSpecification that is associated with a BuildItem that was created with the BuildItem(Buildable obj, BuildSpecification inlineSpec) constructor.
Returns:
The BuildSpecification associated with this BuildItem.

Skip navigation links

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