Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 package pt.webdetails.cda.dataaccess;
 
 import  org.dom4j.Element;
 import  org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.AbstractNamedMDXDataFactory;
 import  org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.DenormalizedMDXDataFactory;

Implementation of a DataAccess that will get data from a SQL database

User: pedro Date: Feb 3, 2010 Time: 12:18:05 PM

public class DenormalizedMdxDataAccess extends MdxDataAccess {
//  private static final Log logger = LogFactory.getLog(DenormalizedMdxDataAccess.class);
  public DenormalizedMdxDataAccess(final Element element) {
    super(element);
  }
  }
  protected AbstractNamedMDXDataFactory createDataFactory() {
    return new DenormalizedMDXDataFactory();
  }
  public String getType() {
    return "denormalizedMdx";
  }
New to GrepCode? Check out our FAQ X