|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmondrian.rolap.ScenarioImpl
public final class ScenarioImpl
Implementation of Scenario
.
Nested Class Summary | |
---|---|
(package private) static class |
ScenarioImpl.CellRelation
Decribes the relationship between two cells. |
Constructor Summary | |
---|---|
ScenarioImpl()
Creates a ScenarioImpl. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
(package private) static Scenario |
forMember(RolapMember member)
Returns the scenario inside a calculated member in the scenario dimension. |
java.lang.String |
getId()
|
int |
hashCode()
|
static boolean |
isScenario(Hierarchy hierarchy)
Returns whether a hierarchy is the [Scenario] hierarchy. |
(package private) void |
register(RolapSchema schema)
Registers this Scenario with a Schema, creating a calulated member [Scenario].[{id}] for each cube that has writeback enabled. |
void |
setCellValue(Connection connection,
java.util.List<RolapMember> members,
double newValue,
double currentValue,
AllocationPolicy allocationPolicy,
java.lang.Object[] allocationArgs)
Sets the value of a cell. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScenarioImpl()
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void setCellValue(Connection connection, java.util.List<RolapMember> members, double newValue, double currentValue, AllocationPolicy allocationPolicy, java.lang.Object[] allocationArgs)
members
- Coordinates of cellnewValue
- New valuecurrentValue
- Current valueallocationPolicy
- Allocation policyallocationArgs
- Additional arguments of allocation policypublic java.lang.String getId()
getId
in interface Scenario
static Scenario forMember(RolapMember member)
member
- Wrapper member
void register(RolapSchema schema)
schema
- Schemapublic static boolean isScenario(Hierarchy hierarchy)
TODO: use a flag
hierarchy
- Hierarchy
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |