Examples of MdmMeasureModel


Examples of oracle.olapi.metadata.mdm.MdmMeasureModel

    getContext().commit();
    println("\nThe result without a Qualification is:");
    getContext().displayResult(result);
   
    // Get the MdmMeasureModel for the measure.
    MdmMeasureModel unitPriceModel =  (MdmMeasureModel) mdmUnitPrice.getModel();
   
    // Create the Qualification.
    // The code that appears in the LiteralQualification class description
    // has a non-existant dimension member and an incorrect assign method
    // signature.
    // The following code uses an existing dimension member and a correct
    // method signature.
    LiteralQualification prodQual = new LiteralQualification(
                                       productDim,
                                       "PRODUCT_PRIMARY_AW::FAMILY_AW::7");
                                       //"PRODUCT_PRIMARY_AW::FAMILY_AW::50");
    // unitPriceModel.assign(prodQual, dp.createConstantSource(75));
    Qualification[] qualArray = new Qualification[]{prodQual};
    unitPriceModel.assign(qualArray, dp.createConstantSource(75));
   
    Source result2 = unitPrice.join(prodSel)
                              .join(timeSel);
    getContext().commit();
    println("\nThe result with the Qualification is:");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.