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:");