|
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.RangeTimeStep
Represents a step in a selection that specifies the members of a particular dimension based on a range of time. For example, this step might specify the members based on the four quarters before January of 2000.
Field Summary | |
static int |
AFTER The after operator. |
static int |
BEFORE The before operator. |
static int |
END_WITH The end-with operator. |
static int |
START_WITH The start-with operator. |
static java.lang.String |
STEP_STATE State Management support |
Fields inherited from class oracle.dss.selection.step.Step |
ADD, BASE_STATE_INDEX, CURRENT_STATE_INDEX, KEEP, LONG, MEDIUM, REMOVE, SELECT, SHORT |
Constructor Summary | |
RangeTimeStep() Constructor that does not specify any arguments. | |
RangeTimeStep(java.lang.String dimensionName) Constructor that specifies a dimension. | |
RangeTimeStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, java.lang.Integer numValues, int opType, java.lang.String refValue) 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 RangeTimeStep object. |
java.lang.Integer |
getNumValues() Retrieves the number of values that this RangeTimeStep object specifies. |
int |
getOperatorType() Retrieves the operator for this RangeTimeStep object. |
java.lang.String |
getRefValue() Retrieves the value from which the range for this RangeTimeStep object is based. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this RangeTimeStep object. |
void |
setNumValues(java.lang.Integer newNumValues) Specifies the number of values that this RangeTimeStep object specifies. |
void |
setOperatorType(int opType) Specifies the operator for this RangeTimeStep object. |
void |
setRefValue(java.lang.String newRefValue) Specifies the value from which the range for this RangeTimeStep object is based. |
java.lang.String |
toString() Generates the string representation of this RangeTimeStep object. |
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 START_WITH
public static final int END_WITH
public static final int BEFORE
public static final int AFTER
public static final java.lang.String STEP_STATE
Constructor Detail |
public RangeTimeStep()
public RangeTimeStep(java.lang.String dimensionName)
dimensionName
- The name of the dimension.public RangeTimeStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, java.lang.Integer numValues, int opType, java.lang.String refValue) throws InvalidStepArgException
dimensionName
- The name of the dimension.hierarchy
- The name of the hierarchy.levels
- The vector of levels.numValues
- The number of values that this RangeTimeStep
object specifies.opType
- A constant that represents the operator. The valid contants are listed in the See Also section.refValue
- The value from which the range is based.InvalidStepArgException
- If an argument is not valid.AFTER
, BEFORE
, END_WITH
, START_WITH
Method Detail |
public boolean equals(java.lang.Object obj)
Step
object is equivalent to another Step
object.equals
in class ConditionStep
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 ConditionStep
step
- The Step
object from which to copy fields.public java.lang.String toString()
RangeTimeStep
object.toString
in class ConditionStep
RangeTimeStep
object.public java.lang.Integer getNumValues()
RangeTimeStep
object specifies.RangeTimeStep
object specifies.public void setNumValues(java.lang.Integer newNumValues)
RangeTimeStep
object specifies.newNumValues
- The number of values that this RangeTimeStep
object specifies.public int getOperatorType()
RangeTimeStep
object.AFTER
, BEFORE
, END_WITH
, START_WITH
public void setOperatorType(int opType) throws InvalidStepArgException
RangeTimeStep
object.opType
- A constant that represents the operator. The valid contants are listed in the See Also section.InvalidStepArgException
- If an argument is not valid.AFTER
, BEFORE
, END_WITH
, START_WITH
public java.lang.String getRefValue()
RangeTimeStep
object is based.public void setRefValue(java.lang.String newRefValue)
RangeTimeStep
object is based.newRefValue
- The value from which the range is based.public java.lang.String getViewClassName()
StepView
class to use to edit this RangeTimeStep
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 RangeTimeStep
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 |