mondrian.olap4j
Class MondrianOlap4jCube

java.lang.Object
  extended by mondrian.olap4j.MondrianOlap4jCube
All Implemented Interfaces:
org.olap4j.impl.Named, Cube, MetadataElement

 class MondrianOlap4jCube
extends Object
implements Cube, org.olap4j.impl.Named

Implementation of Cube for the Mondrian OLAP engine.

Since:
May 24, 2007
Author:
jhyde
 

Field Summary
(package private)  MondrianOlap4jSchema olap4jSchema
           
 
Constructor Summary
MondrianOlap4jCube(Cube cube, MondrianOlap4jSchema olap4jSchema)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCaption(Locale locale)
           
 String getDescription(Locale locale)
           
 NamedList<Dimension> getDimensions()
           
 NamedList<Hierarchy> getHierarchies()
           
 List<Measure> getMeasures()
           
 String getName()
           
 Schema getSchema()
           
 NamedList<NamedSet> getSets()
           
 Collection<Locale> getSupportedLocales()
           
 String getUniqueName()
           
 int hashCode()
           
 MondrianOlap4jMember lookupMember(String... nameParts)
           
 List<Member> lookupMembers(Set<Member.TreeOp> treeOps, String... nameParts)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

olap4jSchema

final MondrianOlap4jSchema olap4jSchema
Constructor Detail

MondrianOlap4jCube

MondrianOlap4jCube(Cube cube,
                   MondrianOlap4jSchema olap4jSchema)
Method Detail

getSchema

public Schema getSchema()
Specified by:
getSchema in interface Cube

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getDimensions

public NamedList<Dimension> getDimensions()
Specified by:
getDimensions in interface Cube

getHierarchies

public NamedList<Hierarchy> getHierarchies()
Specified by:
getHierarchies in interface Cube

getMeasures

public List<Measure> getMeasures()
Specified by:
getMeasures in interface Cube

getSets

public NamedList<NamedSet> getSets()
Specified by:
getSets in interface Cube

getSupportedLocales

public Collection<Locale> getSupportedLocales()
Specified by:
getSupportedLocales in interface Cube

getName

public String getName()
Specified by:
getName in interface org.olap4j.impl.Named
Specified by:
getName in interface MetadataElement

getUniqueName

public String getUniqueName()
Specified by:
getUniqueName in interface MetadataElement

getCaption

public String getCaption(Locale locale)
Specified by:
getCaption in interface MetadataElement

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface MetadataElement

lookupMember

public MondrianOlap4jMember lookupMember(String... nameParts)
Specified by:
lookupMember in interface Cube

lookupMembers

public List<Member> lookupMembers(Set<Member.TreeOp> treeOps,
                                  String... nameParts)
                           throws OlapException
Specified by:
lookupMembers in interface Cube
Throws:
OlapException

SourceForge.net_Logo