|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-01 |
||||||||
| 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.MdmModel
oracle.olapi.metadata.mdm.MdmDimensionCalculationModel
public class MdmDimensionCalculationModel
An MdmModel that is associated with an MdmPrimaryDimension; an MdmMeasureModel inherits the Assignment objects of the MdmDimensionCalculationModel objects of the appropriate data type of the MdmPrimaryDimension objects that dimension the measure. An Assignment has the expression that determines the measure value for the dimension member.
An MdmPrimaryDimension has a default MdmDimensionCalculationModel. It also has an MdmDimensionCalculationModel object for each of the following data types.
An application can get an MdmDimensionCalculationModel by calling a method such as findOrCreateDimCalcModel or getStringCalcModel of an MdmPrimaryDimension.
| Method Summary | |
|---|---|
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.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. |
| Methods inherited from class oracle.olapi.metadata.mdm.MdmModel |
|---|
assign, assign, assign, assign, assign, assign, assign, createSolvedSource, createSolvedSource, findAssignment, findOrCreateAssignment, getAssignments, getDefaultPrecedence, getMdmAssignments, getOutputs, removeMdmAssignment, setDefaultPrecedence, unassign |
| 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, getOwner |
| 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)
visitMdmDimensionCalculationModel method of the MdmObjectVisitor and passes that method this MdmDimensionCalculationModel and an Object.acceptVisitor in class MdmObjectvisitor - 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 MdmModelMdmSource 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.getType in interface ModelgetType in class MdmModelSource that represents the type of MdmDimensionCalculationModel.public final java.util.List getInputs()
List because an MdmDimensionCalculationModel does not have inputs.getInputs in interface ModelgetInputs in class MdmModelList.public final java.util.List getParentModels()
List because an MdmDimensionCalculationModel does not have any parent MdmModel objects.getParentModels in interface ModelgetParentModels in class MdmModelList.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.MdmDimensionCalculationModelpublic 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.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||