Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.dimensional
Interface Cube

All Superinterfaces:
CompilableObject, Component, Extensible, IndexPartitionOwner, OWBNamedObject, PropertyOwner, ReconcileSource, Snapshotable, ValidatableObject

public interface Cube
extends Component, IndexPartitionOwner, ValidatableObject, CompilableObject, Extensible, ReconcileSource

A Cube is a logical multi-dimensional design object, which contains a set of measures, and a set of dimensions. Dimensions can be shared across cubes, therefore Cube references dimensions via CubeDimensionUses.


Field Summary

 

Fields inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable
MAX_DEPENDENCY_DEPTH, MIN_DEPENDENCY_DEPTH

 

Method Summary
 CubeDimensionUse createCubeDimensionUse(Dimension dimension)
          Create CubeDimensionUse
 CubeDimensionUse createCubeDimensionUse(Dimension dimension, java.lang.String role)
          Create CubeDimensionUse
 CubeDimensionUse createCubeDimensionUse(java.lang.String name)
          Set the DimensionRole.
 Measure createMeasure(java.lang.String name)
          Create a measure.
 CubeDimensionUse findCubeDimensionUse(java.lang.String name)
          Find a CubeDimensionUse
 Measure findMeasure(java.lang.String name)
          Find a measure.
 CubeDimensionUse[] getCubeDimensionUses()
          Get an array of CubeDimensionUse.
 Measure[] getMeasures()
          Get an array of measures.
 Module getModule()
          Get the Module.

 

Methods inherited from interface oracle.owb.foundation.Component
getOwningFolder, isReloadNeeded, lock, reload, unlock

 

Methods inherited from interface oracle.owb.foundation.OWBNamedObject
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName

 

Methods inherited from interface oracle.owb.metadatamgmt.changemgmt.Snapshotable
compare, compare, compare, compare, createSnapshot, createSnapshot, createSnapshotWithDependeeComponents, createSnapshotWithDependeeComponents, getSnapshots

 

Methods inherited from interface oracle.owb.relational.IndexPartitionOwner
createIndex, createPartition, createPartitionKey, findIndex, findPartition, findPartitionKey, getBindingTableColumns, getIndexes, getPartitionKeys, getPartitions

 

Methods inherited from interface oracle.owb.compile.ValidatableObject
validate

 

Methods inherited from interface oracle.owb.compile.CompilableObject
compile

 

Methods inherited from interface oracle.owb.foundation.property.PropertyOwner
getDefaultPropertyValue, getLogicalPropertyKeys, getPhysicalPropertyKeys, getPropertyDomain, getPropertyKeys, getPropertyValue, getPropertyValueString, isLogicalProperty, isPhysicalProperty, isReadOnlyProperty, setPropertyValue, setPropertyValueByString

 

Methods inherited from interface oracle.owb.reconcile.ReconcileSource
getReconcileTargetTypes, getType

 

Method Detail

getModule

public Module getModule()
Get the Module.
Returns:
a Module object.

getMeasures

public Measure[] getMeasures()
Get an array of measures.
Returns:
an array of measures.

createMeasure

public Measure createMeasure(java.lang.String name)
                      throws NameSpaceException,
InvalidFormatException
Create a measure.
Parameters:
name - of the measure.
Returns:
a Measure object.
Throws:
NameSpaceException.
InvalidFormatException.
NameSpaceException
InvalidFormatException

findMeasure

public Measure findMeasure(java.lang.String name)
Find a measure.
Parameters:
name - of the measure.
Returns:
a Measure object.

getCubeDimensionUses

public CubeDimensionUse[] getCubeDimensionUses()
Get an array of CubeDimensionUse.
Returns:
an array of CubeDimensionUse.

createCubeDimensionUse

public CubeDimensionUse createCubeDimensionUse(java.lang.String name)
                                        throws NameSpaceException,
InvalidFormatException
Set the DimensionRole.
Parameters:
name - of the role.
Returns:
a CubeDimensionUse object.
Throws:
NameSpaceException.
InvalidFormatException.
NameSpaceException
InvalidFormatException

createCubeDimensionUse

public CubeDimensionUse createCubeDimensionUse(Dimension dimension)
                                        throws NameSpaceException,
InvalidFormatException
Create CubeDimensionUse
Returns:
a CubeDimensionUse object.
Throws:
NameSpaceException.
InvalidFormatException.
NameSpaceException
InvalidFormatException

createCubeDimensionUse

public CubeDimensionUse createCubeDimensionUse(Dimension dimension,
                                               java.lang.String role)
                                        throws NameSpaceException,
InvalidFormatException
Create CubeDimensionUse
Returns:
a CubeDimensionUse object.
Throws:
NameSpaceException.
InvalidFormatException.
NameSpaceException
InvalidFormatException

findCubeDimensionUse

public CubeDimensionUse findCubeDimensionUse(java.lang.String name)
Find a CubeDimensionUse
Parameters:
name - of the CubeDimensionUse.
Returns:
a CubeDimensionUse object.

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.