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, unwrapImpl
final MondrianOlap4jSchema olap4jSchema
MondrianOlap4jLevel(MondrianOlap4jSchema olap4jSchema, Level level)
olap4jSchema
- Schemalevel
- Mondrian levelpublic Hierarchy getHierarchy()
getHierarchy
in interface Level
public Dimension getDimension()
getDimension
in interface Level
public boolean isCalculated()
isCalculated
in interface Level
public Level.Type getLevelType()
getLevelType
in interface Level
public NamedList<Property> getProperties()
getProperties
in interface Level
NamedList<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 Level
OlapException
public String getName()
getName
in interface org.olap4j.impl.Named
getName
in interface MetadataElement
public String getUniqueName()
getUniqueName
in interface MetadataElement
public String getCaption()
getCaption
in interface MetadataElement
public String getDescription()
getDescription
in interface MetadataElement
public int getCardinality()
getCardinality
in interface Level
public boolean isVisible()
isVisible
in interface MetadataElement
protected OlapElement getOlapElement()
MondrianOlap4jMetadataElement
getOlapElement
in class MondrianOlap4jMetadataElement