public class MdmDimensionCalculationModel extends MdmModel
MdmModel
that is associated with an MdmPrimaryDimension
. Each MdmAssignment
of the MdmDimensionCalculationModel
has an expression that determines the values to associate with various dimension members. You can get or create an MdmDimensionCalculationModel
by calling the findOrCreateDimCalcModel
method of an MdmPrimaryDimension
.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
Calls the
visitMdmDimensionCalculationModel method of the MdmObjectVisitor and passes that method this MdmDimensionCalculationModel and an Object . |
MdmAssignment |
addCustomMember(MdmCustomMember member)
Adds a custom dimension member to this
MdmDimensionCalculationModel . |
void |
addExplicitDimension(MdmPrimaryDimension dim)
Adds an
MdmPrimaryDimension to the list of explicit dimensions of the MdmDimensionCalculationModel . |
java.util.List |
getAutoAssignments()
Gets the
Assignment objects that Oracle OLAP automatically creates for the MdmDimensionCalculationModel . |
FundamentalMetadataObject |
getDataType()
Gets the
FundamentalMetadataObject that represents the data type of the MdmDimensionCalculationModel . |
java.util.List |
getExplicitDimensions()
Gets the
MdmPrimaryDimension objects that are the explicit dimensions of the MdmDimensionCalculationModel . |
java.lang.String |
getIncludedAWModel()
Gets the name of the included OLAP DML analytic workspace model.
|
java.util.List |
getInputs()
Gets an empty
List because an MdmDimensionCalculationModel does not have inputs. |
MdmPrimaryDimension |
getMdmDimension()
Gets the
MdmPrimaryDimension for the MdmDimensionCalculationModel . |
MdmSource |
getMdmSource()
Gets the
MdmSource for the MdmDimensionCalculationModel . |
java.util.List |
getParentModels()
Gets an empty
List because an MdmDimensionCalculationModel does not have any parent MdmModel objects. |
Source |
getType()
Gets the
Source that represents the type of the MdmDimensionCalculationModel . |
void |
removeExplicitDimension(MdmPrimaryDimension dim)
Removes an
MdmPrimaryDimension from the explicit dimensions of the MdmDimensionCalculationModel . |
void |
setIncludedAWModel(java.lang.String modelName)
Specifies the name of the OLAP DML model to include in this
MdmDimensionCalculationModel . |
assign, findAssignment, findOrCreateAssignment, getDefaultPrecedence, getMdmAssignments, getOutputs, removeMdmAssignment, setDefaultPrecedence
addDescription, addObjectClassification, findOrCreateDescription, getDescription, getDescription, getDescription, getDescriptions, getMetadataProvider, getObjectClassifications, getShortDescription, isClassifiedAs, removeDescription, removeObjectClassification, setDescription, setDescription, setDescription, setName, setShortDescription
getContainedByObject, getID, getName, getNewName, getOwner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assign, assign, assign, assign, assign, assign, createSolvedSource, createSolvedSource, getAssignments, unassign
public java.lang.Object acceptVisitor(MdmObjectVisitor visitor, java.lang.Object context)
visitMdmDimensionCalculationModel
method of the MdmObjectVisitor
and passes that method this MdmDimensionCalculationModel
and an Object
.acceptVisitor
in class MdmObject
visitor
- An MdmObjectVisitor
.context
- An Object
.Object
returned by the visitMdmDimensionCalculationModel
method.public final MdmPrimaryDimension getMdmDimension()
MdmPrimaryDimension
for the MdmDimensionCalculationModel
.MdmPrimaryDimension
for the MdmDimensionCalculationModel
.public final MdmSource getMdmSource()
MdmSource
for the MdmDimensionCalculationModel
. The MdmSource
for an MdmDimensionCalculationModel
is an MdmPrimaryDimension
.getMdmSource
in class MdmModel
MdmSource
for the MdmDimensionCalculationModel
.public final FundamentalMetadataObject getDataType()
FundamentalMetadataObject
that represents the data type of the MdmDimensionCalculationModel
.FundamentalMetadataObject
that represents the data type of MdmDimensionCalculationModel
.public final Source getType()
Source
that represents the type of the MdmDimensionCalculationModel
.public final java.util.List getInputs()
List
because an MdmDimensionCalculationModel
does not have inputs.public final java.util.List getParentModels()
List
because an MdmDimensionCalculationModel
does not have any parent MdmModel
objects.getParentModels
in interface Model
getParentModels
in class MdmModel
List
.public java.util.List getAutoAssignments()
Assignment
objects that Oracle OLAP automatically creates for the MdmDimensionCalculationModel
. When you create a custom dimension member, Oracle OLAP automatically creates an Assignment
of the appropriate data type.List
of the Assignment
objects that Oracle OLAP automatically creates for the MdmDimensionCalculationModel
.public MdmAssignment addCustomMember(MdmCustomMember member)
MdmDimensionCalculationModel
.member
- The MdmCustomMember
to add to the model.MdmAssignment
for the custom member.public final java.util.List getExplicitDimensions()
MdmPrimaryDimension
objects that are the explicit dimensions of the MdmDimensionCalculationModel
. Assignments in an MdmDimensionCalculationModel
can depend only on the explicit dimensions and on the owning dimension, which is returned by getMdmDimension
) method.List
of the explicit MdmPrimaryDimension
objects of the MdmDimensionCalculationModel
.public final void addExplicitDimension(MdmPrimaryDimension dim)
MdmPrimaryDimension
to the list of explicit dimensions of the MdmDimensionCalculationModel
. Assignments in an MdmDimensionCalculationModel
can depend only on the explicit dimensions and on the owning dimension, which is returned by getMdmDimension
) method.dim
- The MdmPrimaryDimension
to add to the MdmDimensionCalculationModel
.public final void removeExplicitDimension(MdmPrimaryDimension dim)
MdmPrimaryDimension
from the explicit dimensions of the MdmDimensionCalculationModel
. Assignments in an MdmDimensionCalculationModel
can depend only on the explicit dimensions and on the owning dimension, which is returned by the getMdmDimension
method.dim
- The MdmPrimaryDimension
to remove from the MdmDimensionCalculationModel
.public final java.lang.String getIncludedAWModel()
String
that contains the name of the included OLAP DML analytic workspace model.public final void setIncludedAWModel(java.lang.String modelName)
MdmDimensionCalculationModel
. Oracle OLAP uses the included model whenever it uses this MdmDimensionCalculationModel
, such as when this MdmDimensionCalculationModel
is contained by a ModelCommand
in a ConsistentSolveSpecification
for an MdmCube
.
The OLAP DML model is one that a user has created, using Analytic Workspace Manager or other method, such as the BUILD
procedure of the PL/SQL DBMS_CUBE
program. The OLAP DML model can include any sort of assignment statements that the user wants. With the included model, the user can do more complex OLAP DML model customizations than are otherwise available through the OLAP Java API.
This method causes Oracle OLAP to issue an INCLUDE
statement to an OLAP DML MODEL
command to the analytic workspace model that this MdmDimensionCalculationModel
represents. For more information on using OLAP DML commands, see Oracle OLAP User's Guide and Oracle OLAP DML Reference.
modelName
- A String
that contains the name of an OLAP DML model.