class MondrianOlap4jLevel extends MondrianOlap4jMetadataElement implements Level, org.olap4j.impl.Named
Level
 for the Mondrian OLAP engine.Level.Type| Modifier and Type | Field and Description | 
|---|---|
(package private) Level | 
level  | 
(package private) MondrianOlap4jSchema | 
olap4jSchema  | 
| Constructor and Description | 
|---|
MondrianOlap4jLevel(MondrianOlap4jSchema olap4jSchema,
                   Level level)
Creates a MondrianOlap4jLevel. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getCaption()  | 
int | 
getCardinality()  | 
int | 
getDepth()  | 
String | 
getDescription()  | 
Dimension | 
getDimension()  | 
Hierarchy | 
getHierarchy()  | 
Level.Type | 
getLevelType()  | 
List<Member> | 
getMembers()  | 
String | 
getName()  | 
protected OlapElement | 
getOlapElement()
Returns the Mondrian metadata element inside this wrapper, or null if
 there is none. 
 | 
NamedList<Property> | 
getProperties()  | 
(package private) NamedList<Property> | 
getProperties(boolean includeStandard)
Returns a list of this level's properties, optionally including standard
 properties that are available on every level. 
 | 
String | 
getUniqueName()  | 
int | 
hashCode()  | 
boolean | 
isCalculated()  | 
boolean | 
isVisible()  | 
isWrapperFor, unwrap, unwrapImplfinal MondrianOlap4jSchema olap4jSchema
final Level level
MondrianOlap4jLevel(MondrianOlap4jSchema olap4jSchema, Level level)
olap4jSchema - Schemalevel - Mondrian levelpublic Hierarchy getHierarchy()
getHierarchy in interface Levelpublic Dimension getDimension()
getDimension in interface Levelpublic boolean isCalculated()
isCalculated in interface Levelpublic Level.Type getLevelType()
getLevelType in interface Levelpublic NamedList<Property> getProperties()
getProperties in interface LevelNamedList<Property> getProperties(boolean includeStandard)
NOTE: Not part of the olap4j API.
includeStandard - Whether to include standard propertiespublic List<Member> getMembers() throws OlapException
getMembers in interface LevelOlapExceptionpublic String getName()
getName in interface org.olap4j.impl.NamedgetName in interface MetadataElementpublic String getUniqueName()
getUniqueName in interface MetadataElementpublic String getCaption()
getCaption in interface MetadataElementpublic String getDescription()
getDescription in interface MetadataElementpublic int getCardinality()
getCardinality in interface Levelpublic boolean isVisible()
isVisible in interface MetadataElementprotected OlapElement getOlapElement()
MondrianOlap4jMetadataElementgetOlapElement in class MondrianOlap4jMetadataElement