class MondrianOlap4jCube extends MondrianOlap4jMetadataElement implements Cube, org.olap4j.impl.Named
Cube
for the Mondrian OLAP engine.Modifier and Type | Field and Description |
---|---|
(package private) Cube |
cube |
(package private) MondrianOlap4jSchema |
olap4jSchema |
Constructor and Description |
---|
MondrianOlap4jCube(Cube cube,
MondrianOlap4jSchema olap4jSchema) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCaption() |
String |
getDescription() |
NamedList<Dimension> |
getDimensions() |
NamedList<Hierarchy> |
getHierarchies() |
List<Measure> |
getMeasures() |
String |
getName() |
protected OlapElement |
getOlapElement()
Returns the Mondrian metadata element inside this wrapper, or null if
there is none.
|
Schema |
getSchema() |
NamedList<NamedSet> |
getSets() |
Collection<Locale> |
getSupportedLocales() |
String |
getUniqueName() |
int |
hashCode() |
boolean |
isDrillThroughEnabled() |
boolean |
isVisible() |
MondrianOlap4jMember |
lookupMember(List<IdentifierSegment> nameParts) |
List<Member> |
lookupMembers(Set<Member.TreeOp> treeOps,
List<IdentifierSegment> nameParts) |
isWrapperFor, unwrap, unwrapImpl
final Cube cube
final MondrianOlap4jSchema olap4jSchema
MondrianOlap4jCube(Cube cube, MondrianOlap4jSchema olap4jSchema)
public NamedList<Dimension> getDimensions()
getDimensions
in interface Cube
public NamedList<Hierarchy> getHierarchies()
getHierarchies
in interface Cube
public List<Measure> getMeasures()
getMeasures
in interface Cube
public Collection<Locale> getSupportedLocales()
getSupportedLocales
in interface Cube
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 boolean isVisible()
isVisible
in interface MetadataElement
public MondrianOlap4jMember lookupMember(List<IdentifierSegment> nameParts) throws OlapException
lookupMember
in interface Cube
OlapException
public List<Member> lookupMembers(Set<Member.TreeOp> treeOps, List<IdentifierSegment> nameParts) throws OlapException
lookupMembers
in interface Cube
OlapException
public boolean isDrillThroughEnabled()
isDrillThroughEnabled
in interface Cube
protected OlapElement getOlapElement()
MondrianOlap4jMetadataElement
getOlapElement
in class MondrianOlap4jMetadataElement