oracle.dss.selection.calcStep
Class TimeMovingStep
java.lang.Object
|
+--oracle.dss.selection.step.Step
|
+--oracle.dss.selection.calcStep.CalcStep
|
+--oracle.dss.selection.calcStep.TimeCalcStep
|
+--oracle.dss.selection.calcStep.TimeMovingStep
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectFactory, Persistable, java.io.Serializable, StringXMLizable, VectorClone
- public class TimeMovingStep
- extends TimeCalcStep
- implements java.lang.Cloneable, Persistable, java.io.Serializable
TimeMovingStep
- See Also:
- Serialized Form
Fields inherited from class oracle.dss.selection.calcStep.CalcStep |
_DEBUG, CALCTYPE_ADDITION, CALCTYPE_ARITHMETIC_END, CALCTYPE_ARITHMETIC_START, CALCTYPE_CUMULATIVETOTAL, CALCTYPE_DIFFERENCE, CALCTYPE_DIVISION, CALCTYPE_END, CALCTYPE_INDEX, CALCTYPE_LAG, CALCTYPE_LAGDIFFERENCE, CALCTYPE_LAGPERCENT, CALCTYPE_LEAD, CALCTYPE_MOVINGAVERAGE, CALCTYPE_MOVINGMAXIMUM, CALCTYPE_MOVINGMINIMUM, CALCTYPE_MOVINGTOTAL, CALCTYPE_MULTIPLICATION, CALCTYPE_PERCENTDIFFERENCE, CALCTYPE_PERCENTMARKUP, CALCTYPE_PERCENTVARIANCE, CALCTYPE_RANK, CALCTYPE_RATIO, CALCTYPE_SHARE, CALCTYPE_START, CALCTYPE_SUBTRACTION, CALCTYPE_VARIANCE, CALCTYPE_YEARTODATE, OPERAND_BASE_MEASURE, OPERAND_DIMENSION, OPERAND_DIMMEMBER, OPERAND_HIERARCHY, OPERAND_LEFT, OPERAND_LEVEL, OPERAND_MEASURE, OPERAND_MEMBER, OPERAND_MEMBER_DIMMEMBER, OPERAND_MEMBER_LEVEL, OPERAND_MEMBERTYPE, OPERAND_RANKORDER, OPERAND_RIGHT, OPERAND_TARGET_MEASURE, OPERAND_TIME_DIMMEMBER, STRING_DELIMITER |
Constructor Summary |
TimeMovingStep()
Default constructor for Time calculation step. |
Method Summary |
java.lang.Object |
clone()
Implements the clone method. |
boolean |
equals(java.lang.Object obj)
Tests this Step for true equality |
java.lang.Class |
getEvaluatorClass()
Retrieves the StepEvaluator class object that is associated with this Step object. |
java.lang.String |
getEvaluatorClassName()
Retrieves the evaluator class name name associated with the calc. |
CalcValue |
getStartPeriod()
Retrieves the start period for the calculation |
java.lang.String |
getViewClassName()
Retrieves the view class name name associated with the calc. |
java.lang.Object |
getXML( context)
Returns the XML representation of the object. |
void |
setStartPeriod(CalcValue startPeriod)
Sets the start period for the calculation |
void |
setXML( context, java.lang.Object node)
Sets the XML representation of the object. |
java.lang.String |
toString()
Generates the string representation of this TimeMovingStep object. |
Methods inherited from class oracle.dss.selection.calcStep.CalcStep |
copyProps, dump, getDescription, getDescription, getFolder, getID, getInstance, getNumberFormatString, getPersistableAttributes, getPersistableComponents, getType, getXMLAsString, initialize, isType, setDescription, setFolder, setID, setNumberFormatString, setPersistableAttributes, setPersistableComponents, setType, setXMLAsString, updateCalcValue |
Methods inherited from class oracle.dss.selection.step.Step |
addPropertyChangeListener, copyFrom, getAction, 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 |
TimeMovingStep
public TimeMovingStep()
- Default constructor for Time calculation step.
clone
public java.lang.Object clone()
- Implements the clone method.
-
- Overrides:
clone
in class TimeCalcStep
-
- Returns:
Object
which represents a clone of this time calculation object.
equals
public boolean equals(java.lang.Object obj)
- Tests this Step for true equality
-
- Overrides:
equals
in class TimeCalcStep
-
- Parameters:
obj
- Step to compare it to
- Returns:
true
if completely internally equal
getEvaluatorClass
public java.lang.Class getEvaluatorClass()
throws SelectionException
- Retrieves the
StepEvaluator
class object that is associated with this Step
object. The QueryServer
object uses this class to instantiate the appropriate StepEvaluator
object.
-
- Overrides:
getEvaluatorClass
in class TimeCalcStep
-
- Returns:
- The
Class
object.
- Throws:
SelectionException
- If the StepEvaluator
class is not found.
getEvaluatorClassName
public java.lang.String getEvaluatorClassName()
- Retrieves the evaluator class name name associated with the calc.
-
- Overrides:
getEvaluatorClassName
in class TimeCalcStep
-
- Returns:
String
which represents the evaluator class name.
getStartPeriod
public CalcValue getStartPeriod()
- Retrieves the start period for the calculation
-
- Returns:
CalcValue
which represents the start period for the calculation
getViewClassName
public java.lang.String getViewClassName()
- Retrieves the view class name name associated with the calc.
-
- Overrides:
getViewClassName
in class TimeCalcStep
-
- Returns:
String
which represents the view class name.
setStartPeriod
public void setStartPeriod(CalcValue startPeriod)
- Sets the start period for the calculation
-
- Parameters:
startPeriod
- A CalcValue
value that represents the start period for the calculation
toString
public java.lang.String toString()
- Generates the string representation of this
TimeMovingStep
object.
-
- Overrides:
toString
in class TimeCalcStep
-
- Returns:
- The string representation of this
TimeMovingStep
object.
getXML
public java.lang.Object getXML( context)
- Returns the XML representation of the object. Note that XML representation can be of any type. The XML returned could contain only partial updates of the states. However, it is up to the implementor to decide whether this should be supported. (i.e. Not mandatory)
-
- Overrides:
getXML
in class TimeCalcStep
-
- Parameters:
context
- The control settings that is send by the container (caller)
- Returns:
- The XML representation of the object
- See Also:
ObjectScope
setXML
public void setXML( context,
java.lang.Object node)
- Sets the XML representation of the object. Note that XML representation can be of any type.
-
- Overrides:
setXML
in class TimeCalcStep
-
- Parameters:
context
- The control settings that is send by the container (caller)
node
- The XML representation of the object
Copyright © 2003, Oracle. All Rights Reserved.