Package rex.graphics.dimensiontree.elements

Examples of rex.graphics.dimensiontree.elements.LevelElement


      prop.setDataSourceInfo("InventorySource");
      prop.setCatalog("Inventory");
      rest.setCatalog("Inventory");
      rest.setCubeName("Inventory");
      //Week is the Third level in Time Dimension in Inventory Cube
      Assert.assertEquals("Week",(new LevelElement(null,(((port1.getLevelList(rest,prop)).getElementsByTagName("row")).item(3)),rest,prop)).toString());     
      prop.setDataSourceInfo("FoodMartSource");
      prop.setCatalog("FoodMart");
      rest.setCatalog("FoodMart");
      rest.setCubeName("Sales");
      //"Store State" is the Third level in Store Dimension in Inventory Cube
      Assert.assertEquals("Store State",(new LevelElement(null,(((port1.getLevelList(rest,prop)).getElementsByTagName("row")).item(3)),rest,prop)).toString());
      //System.out.println("From Test Level list method : "+(new LevelElement(null,(((port1.getLevelList(rest,prop)).getElementsByTagName("row")).item(3)),rest,prop)).toString());
    }
    catch(Exception exc)
    {
      System.out.println("Error"+exc.getStackTrace());
View Full Code Here


            int i;
            if (nl.getLength() > 0) {

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

TOP

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

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.