Package org.pentaho.aggdes.model

Examples of org.pentaho.aggdes.model.Level


    thinAgg.setAlgoAgg(false);

    List<Attribute> attributes = new ArrayList<Attribute>();

    for (DimensionRowModel row : dimensionRowModels) {
      Level level = row.getSelectedItem();
      logger.debug("selected item is " + level.getName());
      int insertPoint = attributes.size();
      while (level != null) {
        Attribute attrib = level.getAttribute();
        if (attrib != null) {
          logger.debug("adding level " + level.getName() + " to UIAggregate: " + thinAgg);
          if (!attributes.contains(attrib)) {
            attributes.add(insertPoint, attrib);
          }
        }
        level = level.getParent();
      }
    }
    thinAgg.setAttributes(attributes);

    // for now, hard code all measures as selected
View Full Code Here

TOP

Related Classes of org.pentaho.aggdes.model.Level

Copyright © 2018 www.massapicom. 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.