|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.core.ModelSupport com.tonbeller.jpivot.olap.model.impl.ScalarOlapModel
public class ScalarOlapModel
A ScalarOlapModel is an OlapModel that contains a single cell. It is 1-dimensional with Measures as its only dimension.
Properties:
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tonbeller.jpivot.olap.model.OlapModel |
---|
OlapModel.EmptyCubeException, OlapModel.ResultTooLargeException |
Field Summary |
---|
Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
---|
EXTENSIONAL, INTENSIONAL |
Constructor Summary | |
---|---|
ScalarOlapModel()
|
Method Summary | |
---|---|
void |
accept(Visitor visitor)
|
Axis[] |
getAxes()
returns one axis (measures) |
java.lang.String |
getCaption()
returns the caption of the only measure |
java.util.List |
getCells()
returns a collection containing a single cell |
Dimension[] |
getDimensions()
|
java.lang.String |
getFormattedValue()
returns the formatted value of the single cell |
java.lang.String |
getID()
|
Member[] |
getMeasures()
|
Result |
getResult()
runs the query and returns the result |
java.lang.Object |
getRootDecoree()
returns the object that has been created by the olap server. |
Axis |
getSlicer()
returns an empty axis |
java.lang.Object |
getValue()
returns the value of the single cell |
void |
initialize()
does nothing |
boolean |
isOverflowOccured()
returns the overflow property |
void |
setCaption(java.lang.String caption)
sets the caption of the only measure |
void |
setFormattedValue(java.lang.String formattedValue)
sets the formatted value of the single cell |
void |
setID(java.lang.String id)
sets an ID string for this model |
void |
setOverflowOccured(boolean overflowOccured)
sets the overflow property |
void |
setServletContext(javax.servlet.ServletContext servletContext)
does nothing |
void |
setValue(java.lang.Object value)
sets the value of the single cell |
Methods inherited from class com.tonbeller.jpivot.core.ModelSupport |
---|
addExtension, addModelChangeListener, destroy, fireModelChanged, fireModelChanged, fireStructureChanged, fireStructureChanged, getBookmarkState, getExtension, getExtensions, getLocale, getRootModel, getTopDecorator, removeModelChangeListener, setBookmarkState, setLocale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tonbeller.jpivot.olap.model.OlapModel |
---|
destroy |
Methods inherited from interface com.tonbeller.jpivot.core.Model |
---|
addExtension, addModelChangeListener, getExtension, getExtensions, getRootModel, getTopDecorator, removeModelChangeListener, setLocale |
Methods inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
---|
getBookmarkState, setBookmarkState |
Constructor Detail |
---|
public ScalarOlapModel()
Method Detail |
---|
public java.util.List getCells()
getCells
in interface Result
Cell
public Axis[] getAxes()
getAxes
in interface Result
public Axis getSlicer()
getSlicer
in interface Result
public void accept(Visitor visitor)
accept
in interface Visitable
public java.lang.Object getRootDecoree()
Decorator
getRootDecoree
in interface Decorator
public java.lang.String getFormattedValue()
public void setFormattedValue(java.lang.String formattedValue)
public boolean isOverflowOccured()
isOverflowOccured
in interface Result
public void setOverflowOccured(boolean overflowOccured)
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
public void setCaption(java.lang.String caption)
public java.lang.String getCaption()
public Result getResult() throws OlapException
OlapModel
getResult
in interface OlapModel
OlapException
public Dimension[] getDimensions()
getDimensions
in interface OlapModel
public Member[] getMeasures()
getMeasures
in interface OlapModel
public void initialize() throws OlapException
initialize
in interface OlapModel
OlapException
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface OlapModel
public java.lang.String getID()
getID
in interface OlapModel
public void setID(java.lang.String id)
OlapModel
setID
in interface OlapModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |