|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-01 Beta Draft |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.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 . |
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. |
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 . |
java.lang.String |
getNamespace()
Gets the namespace of this MdmCube . |
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 the objects owned 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()
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, setModel |
Methods inherited from class oracle.olapi.metadata.mdm.MdmObject |
---|
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getName, getNewName, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription |
Methods inherited from class oracle.olapi.metadata.BaseMetadataObject |
---|
getContainedByObject, 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.lang.String getNamespace()
MdmCube
.
For information on namespaces, see
Using Namespaces
in the description of MdmMetadataProvider
.
String
that contains the namespace 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 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()
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 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 the objects owned by it.
List
of String
objects that contain the
names of NLS languages.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |