mondrian.olap4j
Class MondrianOlap4jCube

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

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

Implementation of Cube for the Mondrian OLAP engine.

Since:
May 24, 2007
Version:
$Id: //open/mondrian/src/main/mondrian/olap4j/MondrianOlap4jCube.java#4 $
Author:
jhyde

Field Summary
(package private)  MondrianOlap4jSchema olap4jSchema
           
 
Constructor Summary
MondrianOlap4jCube(Cube cube, MondrianOlap4jSchema olap4jSchema)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCaption(java.util.Locale locale)
           
 java.lang.String getDescription(java.util.Locale locale)
           
 NamedList<Dimension> getDimensions()
           
 NamedList<Hierarchy> getHierarchies()
           
 java.util.List<Measure> getMeasures()
           
 java.lang.String getName()
           
 Schema getSchema()
           
 NamedList<NamedSet> getSets()
           
 java.util.Collection<java.util.Locale> getSupportedLocales()
           
 java.lang.String getUniqueName()
           
 int hashCode()
           
 MondrianOlap4jMember lookupMember(java.lang.String... nameParts)
           
 java.util.List<Member> lookupMembers(java.util.Set<Member.TreeOp> treeOps, java.lang.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 java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.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 java.util.List<Measure> getMeasures()
Specified by:
getMeasures in interface Cube

getSets

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

getSupportedLocales

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

getName

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

getUniqueName

public java.lang.String getUniqueName()
Specified by:
getUniqueName in interface MetadataElement

getCaption

public java.lang.String getCaption(java.util.Locale locale)
Specified by:
getCaption in interface MetadataElement

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Specified by:
getDescription in interface MetadataElement

lookupMember

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

lookupMembers

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

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads