Package net.sf.jasperreports.olap.xmla
Class JRXmlaHierarchy
- java.lang.Object
-
- net.sf.jasperreports.olap.xmla.JRXmlaHierarchy
-
- All Implemented Interfaces:
JROlapHierarchy
public class JRXmlaHierarchy extends Object implements JROlapHierarchy
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_XMLA_INVALID_DIMENSION_HIERARCHY
-
Constructor Summary
Constructors Constructor Description JRXmlaHierarchy(String dimensionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JRXmlaHierarchyLevel[]
ensureLevelArray()
String
getDimensionName()
String
getHierarchyUniqueName()
JROlapHierarchyLevel[]
getLevels()
protected String
parseUniqueName(String originalDimensionName)
protected void
resetLevelArray()
void
setLevel(String levelName, int depth)
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_XMLA_INVALID_DIMENSION_HIERARCHY
public static final String EXCEPTION_MESSAGE_KEY_XMLA_INVALID_DIMENSION_HIERARCHY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JRXmlaHierarchy
public JRXmlaHierarchy(String dimensionName)
-
-
Method Detail
-
getDimensionName
public String getDimensionName()
- Specified by:
getDimensionName
in interfaceJROlapHierarchy
-
getLevels
public JROlapHierarchyLevel[] getLevels()
- Specified by:
getLevels
in interfaceJROlapHierarchy
-
setLevel
public void setLevel(String levelName, int depth)
-
getHierarchyUniqueName
public String getHierarchyUniqueName()
- Specified by:
getHierarchyUniqueName
in interfaceJROlapHierarchy
-
ensureLevelArray
protected JRXmlaHierarchyLevel[] ensureLevelArray()
-
resetLevelArray
protected void resetLevelArray()
-
-