|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.BuildSpecification
public class BuildSpecification
A SyntaxObject that contains commands that specify
how to build a BuildItem.
You can associate a BuildSpecification with a
BuildItem in the following ways.
BuildSpecification as the default
BuildSpecification of the AWCubeOrganization
of an MdmCube or the
AWPrimaryDimensionOrganization of an
MdmPrimaryDimension.
Create a BuildItem for the cube or dimension using the
BuildItem(Buildable obj) constructor.addBuildSpecification(BuildSpecification spec)
method of an AWCubeOrganization to add the build
specification to the cube organization.
Create a BuildItem for the cube using one of the
BuildItem(Buildable obj, String buildName)
constructors.BuildItem for a cube or a dimension using
one of the BuildItem(Buildable obj,
BuildSpecification inlineSpec) constructors.
BuildItem without specifying a
BuildSpecification, a BuildProcess uses the
default BuildSpecification for the buildable object.
If you create a BuildItem and specify a
BuildSpecification, a BuildProcess uses the
named or inline BuildSpecification for the buildable object
instead of the default build specificication.
| 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
BuildSpecification 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 |
|---|
public BuildSpecification(java.lang.String name,
BuildCommand[] commands)
BuildSpecification that has the
specified name and that contains the BuildCommand
objects in the specified array.
name - A String that contains the name for
the BuildSpecification.commands - An array of BuildCommand objects
for the BuildSpecification.
public BuildSpecification(java.lang.String name,
java.util.List<BuildCommand> commands)
BuildSpecification that has the
specified name and that contains the BuildCommand
objects in the specified list.
name - A String that contains the name for
the BuildSpecification.commands - A List of BuildCommand
objects for the
BuildSpecification.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitBuildSpecification method of the
SyntaxObjectVisitor and passes that method this
BuildSpecification and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitBuildSpecification method.public BuildCommand[] getCommands()
BuildCommand objects that are contained by this
BuildSpecification.
BuildCommand objects contained
by this BuildSpecification.public java.lang.String getName()
BuildSpecification.
String that contains the name of this
BuildSpecification.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||