|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dss.selection.step.Step | +--oracle.dss.selection.step.ConditionStep | +--oracle.dss.selection.step.MeasConditionStep | +--oracle.dss.selection.step.TopBottomSumStep
Represents a step in a selection that specifies members of a particular dimension based on a specified sum of the top (largest) or bottom (smallest) data values in a particular measure. For example, it might specify members that make up the top 10% of Sales.
Field Summary | |
static int |
BOTTOM The bottom data values of a particular measure. |
static java.lang.String |
STEP_STATE State Management support |
static int |
TOP The top data values of a particular measure. |
Fields inherited from class oracle.dss.selection.step.Step |
ADD, BASE_STATE_INDEX, CURRENT_STATE_INDEX, KEEP, LONG, MEDIUM, REMOVE, SELECT, SHORT |
Constructor Summary | |
TopBottomSumStep() Constructor that does not specify any arguments. | |
TopBottomSumStep(java.lang.String dimensionName) Constructor that specifies a dimension. | |
TopBottomSumStep(java.lang.String dimensionName, java.lang.String measureName, int topBotType, java.lang.Float position) Constructor that specifies all arguments except a hierarchy and levels. | |
TopBottomSumStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, java.lang.String measureName, int topBotType, java.lang.Float position) Constructor that specifies all arguments. |
Method Summary | |
void |
copyFrom(Step step) Copies all fields from the specified Step object. |
boolean |
equals(java.lang.Object obj) Indicates whether one Step object is equivalent to another Step object. |
java.lang.Class |
getEvaluatorClass() Retrieves the StepEvaluator class object that is associated with this TopBottomSumStep object. |
java.lang.Float |
getPosition() Retrieves the value from which to start finding the top or bottom data values |
int |
getTopBottomType() Retrieves the type of data values that this TopBottomSumStep object uses. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this TopBottomSumStep object. |
void |
setPosition(java.lang.Float newPosition) Specifies the value from which to start finding the top or bottom data values. |
void |
setTopBottomType(int newType) Specifies the type of data values that this TopBottomSumStep object uses. |
java.lang.String |
toString() Generates the string representation of this TopBottomSumStep object. |
Methods inherited from class oracle.dss.selection.step.MeasConditionStep |
getMeasure, setMeasure |
Methods inherited from class oracle.dss.selection.step.ConditionStep |
clone, getLevels, setLevels |
Methods inherited from class oracle.dss.selection.step.Step |
addPropertyChangeListener, getAction, getDescription, getDimension, getDispQDR, getHierarchy, getQDR, getQDRDescription, isEnabled, isValid, removePropertyChangeListener, setAction, setDescription, setDimension, setDispQDR, setEnabled, setHierarchy, setQDR, setQDRDescription, setValid |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int TOP
public static final int BOTTOM
public static final java.lang.String STEP_STATE
Constructor Detail |
public TopBottomSumStep()
public TopBottomSumStep(java.lang.String dimensionName)
dimensionName
- The name of the dimension.public TopBottomSumStep(java.lang.String dimensionName, java.lang.String measureName, int topBotType, java.lang.Float position) throws InvalidStepArgException
dimensionName
- The name of the dimension.measureName
- The name of the measure.topBotType
- A constant that represents the type of data values this TopBottomSumStep
object uses. The valid constants are TOP
and BOTTOM
.position
- The value from which to start finding the top or bottom data values.InvalidStepArgException
- If an argument is not valid.TOP
, BOTTOM
public TopBottomSumStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, java.lang.String measureName, int topBotType, java.lang.Float position) throws InvalidStepArgException
dimensionName
- The name of the dimension.hierarchy
- The name of the hierarchy.levels
- The vector of levelsmeasureName
- The name of the measure.topBotType
- A constant that represents the type of data values that this TopBottomSumStep
object uses. The valid constants are TOP
and BOTTOM
.position
- The value from which to start finding the top or bottom data values.InvalidStepArgException
- If an argument is not valid.TOP
, BOTTOM
Method Detail |
public boolean equals(java.lang.Object obj)
Step
object is equivalent to another Step
object.equals
in class MeasConditionStep
obj
- The Step
object with which to compare.true
if the objects are completely equal; false
if they are not.public void copyFrom(Step step)
Step
object.copyFrom
in class MeasConditionStep
step
- The Step
object from which to copy fields.public java.lang.String toString()
TopBottomSumStep
object.toString
in class MeasConditionStep
TopBottomSumStep
object.public void setTopBottomType(int newType) throws InvalidStepArgException
TopBottomSumStep
object uses.newType
- A constant that represents the type of data values that this TopBottomSumStep
object uses. The valid constants are TOP
and BOTTOM
.InvalidStepArgException
- If an argument is not valid.TOP
, BOTTOM
public int getTopBottomType()
TopBottomSumStep
object uses.TopBottomSumStep
object uses. The valid constants are TOP
and BOTTOM
.TOP
, BOTTOM
public void setPosition(java.lang.Float newPosition)
newPosition
- The value from which to start finding the top or bottom data values.public java.lang.Float getPosition()
public java.lang.String getViewClassName()
StepView
class to use to edit this TopBottomSumStep
object. If the name is null, then retrieves the base StepView
class. Overrides the same method in the base Step
class.getViewClassName
in class Step
StepView
class.public java.lang.Class getEvaluatorClass() throws SelectionException
StepEvaluator
class object that is associated with this TopBottomSumStep
object. The QueryServer
object uses this class to instantiate the appropriate StepEvaluator
object.getEvaluatorClass
in class Step
Class
object.SelectionException
- If the StepEvaluator
class is not found.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |