| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
ScenarioImpl.CellRelation
Decribes the relationship between two cells. 
 | 
| Constructor and Description | 
|---|
ScenarioImpl()
Creates a ScenarioImpl. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
(package private) static Scenario | 
forMember(RolapMember member)
Returns the scenario inside a calculated member in the scenario
 dimension. 
 | 
String | 
getId()  | 
RolapMember | 
getMember()
Returns the member of the [Scenario] dimension that represents this
 scenario. 
 | 
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,
            List<RolapMember> members,
            double newValue,
            double currentValue,
            AllocationPolicy allocationPolicy,
            Object[] allocationArgs)
Sets the value of a cell. 
 | 
String | 
toString()  | 
public void setCellValue(Connection connection, List<RolapMember> members, double newValue, double currentValue, AllocationPolicy allocationPolicy, Object[] allocationArgs)
connection - Connection (not currently used)members - Coordinates of cellnewValue - New valuecurrentValue - Current valueallocationPolicy - Allocation policyallocationArgs - Additional arguments of allocation policystatic Scenario forMember(RolapMember member)
member - Wrapper membervoid register(RolapSchema schema)
schema - Schemapublic static boolean isScenario(Hierarchy hierarchy)
TODO: use a flag
hierarchy - Hierarchypublic RolapMember getMember()
The result is not null, provided that register(RolapSchema)
 has been called.