public final class ScenarioImpl extends Object implements org.olap4j.Scenario
Scenario.| Constructor and Description | 
|---|
ScenarioImpl()
Creates a ScenarioImpl. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
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. 
 | 
void | 
setCellValue(Connection connection,
            List<RolapMember> members,
            double newValue,
            double currentValue,
            org.olap4j.AllocationPolicy allocationPolicy,
            Object[] allocationArgs)
Sets the value of a cell. 
 | 
String | 
toString()  | 
public void setCellValue(Connection connection, List<RolapMember> members, double newValue, double currentValue, org.olap4j.AllocationPolicy allocationPolicy, Object[] allocationArgs)
connection - Connection (not currently used)members - Coordinates of cellnewValue - New valuecurrentValue - Current valueallocationPolicy - Allocation policyallocationArgs - Additional arguments of allocation policypublic String getId()
getId in interface org.olap4j.Scenariopublic 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.
Copyright © 2017 Hitachi Vantara. All rights reserved.