public class MdmCube extends MdmDimensionedObject implements MdmQuery, Buildable
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 findOrCreateCube
method of an MdmDatabaseSchema
.Modifier and Type | Method and Description |
---|---|
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 that are contained by this MdmCube . |
CubeMap |
createCubeMap()
Creates a
CubeMap for this MdmCube . |
AWCubeOrganization |
findOrCreateAWCubeOrganization(AW aw)
Gets the
AWCubeOrganization for the MdmCube or creates a new AWCubeOrganization if one does not already exist. |
MdmBaseMeasure |
findOrCreateBaseMeasure(java.lang.String publicName)
Gets the specified
MdmBaseMeasure or, if it does not already exist, creates a new MdmBaseMeasure for this MdmCube . |
CubeMap |
findOrCreateCubeMap(java.lang.String name)
Gets the specified
CubeMap or, if it does not already exist, creates a new CubeMap 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 . |
RolapCubeOrganization |
findOrCreateRolapCubeOrganization()
Gets the
RolapCubeOrganization for the MdmCube or creates a new RolapCubeOrganization if one does not already exist. |
MdmCube |
getAggmapCube() |
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 |
getDefaultMeasure()
Gets the default measure of the
MdmCube . |
java.lang.String |
getETViewName()
Gets the name of the ET (embedded totals) view for this
MdmCube . |
java.lang.String |
getLoopDomainOverride() |
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 . |
java.lang.String |
getNamespace()
Gets the namespace of a legacy 10g object.
|
CubeOrganization |
getOrganization()
Gets the
CubeOrganization associated with this MdmCube . |
MdmDatabaseSchema |
getOwner()
Gets the
MdmDatabaseSchema that owns this MdmCube . |
java.util.List |
getPersistentLanguages()
Gets the languages in which descriptions are available for this
MdmCube and for the objects contained by it. |
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()
Deprecated.
As of Oracle 12c, Release 1 (12.1); replaced by
. |
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 that are contained by this MdmCube . |
void |
setAggmapCube(MdmCube cube) |
void |
setConsistentSolveSpecification(ConsistentSolveSpecification input)
Specifies a
ConsistentSolveSpecification to associate with this MdmCube . |
void |
setDefaultMeasure(MdmMeasure measure)
Specifies a default measure for the
MdmCube . |
void |
setETViewName(java.lang.String name)
Specifies a name for the ET (embedded totals) view for this
MdmCube . |
void |
setLoopDomainOverride(java.lang.String ld) |
void |
setOwner(MdmDatabaseSchema owner)
Specifies an
MdmDatabaseSchema as the owner of this MdmCube . |
void |
setViewName(java.lang.String name)
Deprecated.
As of Oracle 12c, Release 1 (12.1); replaced by
. |
addDimension, addDimensionality, getDimensionality, getDimensions, isBooleanValued, removeDimensionality, setBooleanValued
getDataType, getSource
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getName, getNewName
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 that are contained by this MdmCube
.value
- The MdmMeasure
to add to this MdmCube
.public void removeMeasure(MdmMeasure value)
MdmMeasure
from the List
of MdmMeasure
objects that are contained by this MdmCube
.value
- The MdmMeasure
to remove from this MdmCube
.public void setDefaultMeasure(MdmMeasure measure)
MdmCube
.measure
- The MdmMeasure
to be the default measure for the MdmCube
.public MdmMeasure getDefaultMeasure()
MdmCube
.MdmMeasure
that is the default measure of the 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.lang.String getNamespace()
MdmMetadataProvider
.String
that contains the namespace of the object. For an 11g MdmCube
, returns null
.public final java.lang.String getLoopDomainOverride()
public final void setLoopDomainOverride(java.lang.String ld)
public final MdmCube getAggmapCube()
public final void setAggmapCube(MdmCube cube)
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 findOrCreateAWCubeOrganization(AW aw)
AWCubeOrganization
for the MdmCube
or creates a new AWCubeOrganization
if one does not already exist.aw
- The AW
object to associate with the AWCubeOrganization
.AWCubeOrganization
for the MdmCube
.public final RolapCubeOrganization findOrCreateRolapCubeOrganization()
RolapCubeOrganization
for the MdmCube
or creates a new RolapCubeOrganization
if one does not already exist.RolapCubeOrganization
for the MdmCube
.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()
getETViewName
.public final void setViewName(java.lang.String name)
setETViewName
.public final java.lang.String getETViewName()
MdmCube
.String
that contains the name of the ET view for the MdmCube
.public final void setETViewName(java.lang.String name)
MdmCube
. You must commit the root Transaction
to make the name change permanent.name
- A String
that contains a name for the ET view for the MdmCube
.public final Query getQuery()
Query
that is 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.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 final CubeMap findOrCreateCubeMap(java.lang.String name)
CubeMap
or, if it does not already exist, creates a new CubeMap
for this MdmCube
.name
- A String
that contains the name of the CubeMap
to get or create.CubeMap
or a new one with the specified name.public java.util.List getPersistentLanguages()
MdmCube
and for the objects contained by it.List
of String
objects that contain the names of NLS languages.