|
Oracle® OLAP Java API Reference 11g Release 1 (11.1) B28128-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.olapi.metadata.BaseMetadataObject
oracle.olapi.metadata.mdm.MdmObject
oracle.olapi.metadata.mdm.MdmSource
oracle.olapi.metadata.mdm.MdmDimensionedObject
oracle.olapi.metadata.mdm.MdmCube
public class MdmCube
An MdmDimensionedObject
that represents a logical organization of MdmMeasure
objects that have the same dimensionality. To get an existing MdmCube
or to create a new one, use the
method of an findOrCreateCube
MdmDatabaseSchema
.
Method Summary | |
---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context) Calls the visitMdmCube method of the MdmObjectVisitor and passes that method this MdmCube and an Object . |
void |
addCubeMap(CubeMap map) Adds a CubeMap to the List of CubeMap objects associated with this MdmCube . |
void |
addMeasure(MdmMeasure value) Adds an MdmMeasure to the List of MdmMeasure objects organized by this MdmCube . |
AWCubeOrganization |
createAWOrganization(AW aw, boolean replaceExisting) Creates an AWCubeOrganization and possibly associates it with this MdmCube . |
CubeMap |
createCubeMap() Creates a CubeMap for this MdmCube . |
RolapCubeOrganization |
createRolapOrganization(boolean replaceExisting) Creates a RolapCubeOrganization and possibly associates it with this MdmCube . |
MdmBaseMeasure |
findOrCreateBaseMeasure(java.lang.String publicName) Gets the specified MdmBaseMeasure or, if it does not already exist, creates a new MdmBaseMeasure for this MdmCube . |
MdmDerivedMeasure |
findOrCreateDerivedMeasure(java.lang.String publicName) Gets the specified MdmDerivedMeasure or, if it does not already exist, creates a new MdmDerivedMeasure for this MdmCube . |
ConsistentSolveSpecification |
getConsistentSolveSpecification() Gets the ConsistentSolveSpecification that is associated with this MdmCube . |
java.util.List |
getCubeMaps() Gets the CubeMap objects that are associated with this MdmCube . |
MdmMeasure |
getMeasure(java.lang.String name) Gets the specified MdmMeasure that is associated with this MdmCube . |
java.util.List<MdmMeasure> |
getMeasures() Gets the MdmMeasure objects that are associated with this MdmCube . |
CubeOrganization |
getOrganization() Gets the CubeOrganization associated with this MdmCube . |
MdmDatabaseSchema |
getOwner() Gets the MdmDatabaseSchema that owns this MdmCube . |
java.util.List |
getPersistentLanguages() Returns the list of all languages used for descriptions of this MdmCube and all objects owned by this MdmCube . |
Query |
getQuery() Gets the Query that is associated with this MdmCube . |
MdmQueryColumn |
getQueryColumn(java.lang.String name) Gets the specified MdmQueryColumn . |
java.util.List<MdmQueryColumn> |
getQueryColumns() Gets the MdmQueryColumn objects that are associated with this MdmCube . |
java.lang.String |
getQueryName() Gets the identifier of this MdmCube . |
MetadataObject |
getType() Gets the OLAP Java API Value data type. |
java.lang.String |
getViewName() Gets the name of the MdmViewColumn associated with this MdmCube . |
void |
removeCubeMap(CubeMap map) Removes a CubeMap from the List of CubeMap objects associated with this MdmCube . |
void |
removeMeasure(MdmMeasure value) Removes an MdmMeasure from the List of MdmMeasure objects organized by this MdmCube . |
void |
setConsistentSolveSpecification(ConsistentSolveSpecification input) Specifies a ConsistentSolveSpecification to associate with this MdmCube . |
void |
setOwner(MdmDatabaseSchema owner) Specifies an MdmDatabaseSchema as the owner of this MdmCube . |
void |
setViewName(java.lang.String name) Specifies an MdmViewColumn to associate with this MdmCube . |
Methods inherited from class oracle.olapi.metadata.mdm.MdmDimensionedObject |
---|
addDimension, addDimensionality, getDimensionality, getDimensions, isBooleanValued, removeDimensionality, setBooleanValued |
Methods inherited from class oracle.olapi.metadata.mdm.MdmSource |
---|
getDataType, getModel, getSource, getSourceMap, setModel |
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
---|
findOrCreateDescription, getDescription, getDescription, getDescription, getMetadataProvider, getName, getShortDescription, setDescription, setDescription, setDescription, setName, setShortDescription |
Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
---|
getID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
visitMdmCube
method of the MdmObjectVisitor
and passes that method this MdmCube
and an Object
.acceptVisitor
in class MdmObject
visitor
- An MdmObjectVisitor
that implements the Mdm11_ObjectVisitor
interface.context
- An Object
.Object
returned by the visitMdmCube
method.public final MdmMeasure getMeasure(java.lang.String name)
MdmMeasure
that is associated with this MdmCube
.name
- A String
that contains the name of an MdmMeasure
associated with this MdmCube
.MdmMeasure
that has the specified name. If the MdmMeasure
is not associated with the MdmCube
, then this method returns null
.public final java.util.List<MdmMeasure> getMeasures()
MdmMeasure
objects that are associated with this MdmCube
.List
of the MdmMeasure
associated with this MdmCube
.public void addMeasure(MdmMeasure value)
MdmMeasure
to the List
of MdmMeasure
objects organized by this MdmCube
.value
- The MdmMeasure
to add to this MdmCube
.public void removeMeasure(MdmMeasure value)
MdmMeasure
from the List
of MdmMeasure
objects organized by this MdmCube
.value
- The MdmMeasure
to remove to this MdmCube
.public final MdmDatabaseSchema getOwner()
MdmDatabaseSchema
that owns this MdmCube
.getOwner
in class BaseMetadataObject
MdmDatabaseSchema
that owns this MdmCube
.public final void setOwner(MdmDatabaseSchema owner)
MdmDatabaseSchema
as the owner of this MdmCube
.owner
- The MdmDatabaseSchema
to specify as the owner of this MdmCube
.public final java.util.List getCubeMaps()
CubeMap
objects that are associated with this MdmCube
.List
of the CubeMap
objects associated with this MdmCube
.public final void addCubeMap(CubeMap map)
CubeMap
to the List
of CubeMap
objects associated with this MdmCube
.map
- The CubeMap
to add to this MdmCube
.public final void removeCubeMap(CubeMap map)
CubeMap
from the List
of CubeMap
objects associated with this MdmCube
.map
- The CubeMap
to remove from this MdmCube
.public final CubeOrganization getOrganization()
CubeOrganization
associated with this MdmCube
.CubeOrganization
for this MdmCube
.public final AWCubeOrganization createAWOrganization(AW aw, boolean replaceExisting)
AWCubeOrganization
and possibly associates it with this MdmCube
. The replaceExisting
parameter specifies whether the new AWCubeOrganization
should replace the current CubeOrganization
if the MdmCube
already has one.aw
- The AW
object to associate with the AWCubeOrganization
.replaceExisting
- A boolean
that is true
if the new AWCubeOrganization
should replace the current CubeOrganization
, if any, or false
if it should not replace it.AWCubeOrganization
.public final RolapCubeOrganization createRolapOrganization(boolean replaceExisting)
RolapCubeOrganization
and possibly associates it with this MdmCube
. The replaceExisting
parameter specifies whether the new RolapCubeOrganization
should replace the current CubeOrganization
if the MdmCube
already has one.replaceExisting
- A boolean
that is true
if the new RolapCubeOrganization
should replace the current CubeOrganization
, if any, or false
if it should not replace it.RolapCubeOrganization
.public final ConsistentSolveSpecification getConsistentSolveSpecification()
ConsistentSolveSpecification
that is associated with this MdmCube
.ConsistentSolveSpecification
associated with this MdmCube
.public final void setConsistentSolveSpecification(ConsistentSolveSpecification input)
ConsistentSolveSpecification
to associate with this MdmCube
.input
- The ConsistentSolveSpecification
to associate with this MdmCube
.public final java.lang.String getViewName()
MdmViewColumn
associated with this MdmCube
.String
that contains the name of the MdmViewColumn
associated with the MdmCube
.public final void setViewName(java.lang.String name)
MdmViewColumn
to associate with this MdmCube
.name
- The MdmViewColumn
to associate with this MdmCube
.public final Query getQuery()
Query
that is associated with this MdmCube
.getQuery
in interface MdmQuery
Query
associated with this MdmCube
.public final java.util.List<MdmQueryColumn> getQueryColumns()
MdmQueryColumn
objects that are associated with this MdmCube
.getQueryColumns
in interface MdmQuery
List
of the MdmQueryColumn
objects associated with this MdmCube
.public final java.lang.String getQueryName()
MdmCube
.getQueryName
in interface MdmQuery
String
that contains the identifier of this MdmCube
.public MdmQueryColumn getQueryColumn(java.lang.String name)
MdmQueryColumn
.getQueryColumn
in interface MdmQuery
name
- A String
that contains the name of an MdmQueryColumn
.MdmQueryColumn
that has the specified name.public MetadataObject getType()
MdmCube
does not have a value, so it does not have a more specific data type.getType
in class MdmSource
MetadataObject
that represents the OLAP Java API Value data type.public MdmBaseMeasure findOrCreateBaseMeasure(java.lang.String publicName)
MdmBaseMeasure
or, if it does not already exist, creates a new MdmBaseMeasure
for this MdmCube
.publicName
- A String
that contains the name of the MdmBaseMeasure
to get or create.MdmBaseMeasure
or a new one with the specified name.public MdmDerivedMeasure findOrCreateDerivedMeasure(java.lang.String publicName)
MdmDerivedMeasure
or, if it does not already exist, creates a new MdmDerivedMeasure
for this MdmCube
.publicName
- A String
that contains the name of the MdmDerivedMeasure
to get or create.MdmDerivedMeasure
or a new one with the specified name.public CubeMap createCubeMap()
CubeMap
for this MdmCube
.CubeMap
for this MdmCube
.public java.util.List getPersistentLanguages()
MdmCube
and all objects owned by this MdmCube
.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |