Package rex.graphics.dimensiontree.elements

Examples of rex.graphics.dimensiontree.elements.MeasureElement


    {
      prop.setDataSourceInfo("InventorySource");
      prop.setCatalog("Inventory");
      rest.setCubeName("Inventory");
      //"nQuantity" is the First Measure in Inventory Cube
      Assert.assertEquals("nQuantity",(new MeasureElement(null,(((port1.getMeasureList(rest,prop)).getElementsByTagName("row")).item(0)),rest,prop)).toString());
      //System.out.println("From Test Meausure list : "+(new MeasureElement(null,(((port1.getMeasureList(rest,prop)).getElementsByTagName("row")).item(0)),rest,prop)).toString());
      prop.setDataSourceInfo("FoodMartSource");
      prop.setCatalog("FoodMart");
      rest.setCubeName("Sales");
      //"Unit Sales" is the First Measure in Sales Cube
      Assert.assertEquals("Unit Sales",(new MeasureElement(null,(((port1.getMeasureList(rest,prop)).getElementsByTagName("row")).item(0)),rest,prop)).toString());
      //System.out.println("From Test Meausure list : "+(new MeasureElement(null,(((port1.getMeasureList(rest,prop)).getElementsByTagName("row")).item(0)),rest,prop)).toString());
    }
    catch(Exception exc)
    {
      System.out.println("Error"+exc.getStackTrace());
View Full Code Here


         if (nl != null){
            int i;
            if (nl.getLength() > 0) {
               retVal = new DimensionTreeElement[nl.getLength()];
               for (i = 0; i < nl.getLength(); i++) {
                  retVal[i] = new MeasureElement(this, nl.item(i), restrictions, properties);
               }
            }
         }
      }catch(Exception e){
         S.out("Error(getMeasuresList):" + e);
View Full Code Here

TOP

Related Classes of rex.graphics.dimensiontree.elements.MeasureElement

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.