Package it.eng.spagobi.engines.geo.dataset.provider.Hierarchy

Examples of it.eng.spagobi.engines.geo.dataset.provider.Hierarchy.Level


        hierarchyJSON.put("name", hierarchy.getName());
        hierarchyJSON.put("description", hierarchy.getName());
        List levels = hierarchy.getLevels();
        JSONArray levelsJSON = new JSONArray();
        for(int i = 0; i < levels.size(); i++) {
          Level level = (Level)levels.get(i);
          JSONObject levelJSON = new JSONObject();
          levelJSON.put("id", level.getName());
          levelJSON.put("name", level.getName());
          levelJSON.put("description", level.getName());
          levelJSON.put("feature", level.getFeatureName());
          levelsJSON.put(levelJSON);
        }
       
        hierarchyJSON.put("levels", levelsJSON);
        hierarchiesJSON.put(hierarchyJSON);
View Full Code Here

TOP

Related Classes of it.eng.spagobi.engines.geo.dataset.provider.Hierarchy.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.