|
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.calcStep.CalcStep
The CalcStep base class stores all information related to a particular calc step.
Field Summary | |
static boolean |
_DEBUG |
static int |
CALCTYPE_ADDITION Arithmetic type Ids. |
static int |
CALCTYPE_ARITHMETIC_END End arithemtic calculation types. |
static int |
CALCTYPE_ARITHMETIC_START Start arithemtic calculation types. |
static int |
CALCTYPE_CUMULATIVETOTAL |
static int |
CALCTYPE_DIFFERENCE Relationship type Ids. |
static int |
CALCTYPE_DIVISION |
static int |
CALCTYPE_END End of the calculation types. |
static int |
CALCTYPE_INDEX |
static int |
CALCTYPE_LAG TimeSeries type Ids. |
static int |
CALCTYPE_LAGDIFFERENCE |
static int |
CALCTYPE_LAGPERCENT |
static int |
CALCTYPE_LEAD |
static int |
CALCTYPE_MOVINGAVERAGE |
static int |
CALCTYPE_MOVINGMAXIMUM |
static int |
CALCTYPE_MOVINGMINIMUM |
static int |
CALCTYPE_MOVINGTOTAL |
static int |
CALCTYPE_MULTIPLICATION |
static int |
CALCTYPE_PERCENTDIFFERENCE |
static int |
CALCTYPE_PERCENTMARKUP |
static int |
CALCTYPE_PERCENTVARIANCE |
static int |
CALCTYPE_RANK |
static int |
CALCTYPE_RATIO |
static int |
CALCTYPE_SHARE |
static int |
CALCTYPE_START Start of the calculation types. |
static int |
CALCTYPE_SUBTRACTION |
static int |
CALCTYPE_VARIANCE |
static int |
CALCTYPE_YEARTODATE |
static int |
OPERAND_BASE_MEASURE Constants defining the operands of the CalcSteps. |
static int |
OPERAND_DIMENSION Constants defining the operands of the CalcSteps. |
static int |
OPERAND_DIMMEMBER Constants defining the operands of the CalcSteps. |
static int |
OPERAND_HIERARCHY Constants defining the operands of the CalcSteps. |
static int |
OPERAND_LEFT Constants defining the operands of the CalcSteps. |
static int |
OPERAND_LEVEL Constants defining the operands of the CalcSteps. |
static int |
OPERAND_MEASURE Constants defining the operands of the CalcSteps. |
static int |
OPERAND_MEMBER Constants defining the operands of the CalcSteps. |
static int |
OPERAND_MEMBER_DIMMEMBER Constants defining the operands of the CalcSteps. |
static int |
OPERAND_MEMBER_LEVEL Constants defining the operands of the CalcSteps. |
static int |
OPERAND_MEMBERTYPE Constants defining the operands of the CalcSteps. |
static int |
OPERAND_RANKORDER Constants defining the operands of the CalcSteps. |
static int |
OPERAND_RIGHT Constants defining the operands of the CalcSteps. |
static int |
OPERAND_TARGET_MEASURE Constants defining the operands of the CalcSteps. |
static int |
OPERAND_TIME_DIMMEMBER Constants defining the operands of the CalcSteps. |
static char |
STRING_DELIMITER String delimiter. |
Fields inherited from class oracle.dss.selection.step.Step |
ADD, BASE_STATE_INDEX, CURRENT_STATE_INDEX, KEEP, LONG, MEDIUM, REMOVE, SELECT, SHORT |
Constructor Summary | |
CalcStep() Default constructor for calculation step. |
Method Summary | |
java.lang.Object |
clone() Clones a copy of this Calculation step object. |
void |
copyProps(CalcStep calcStepTarget) Copy common fields from one calc step to another. |
void |
dump() Sends to the console a list of registered object types and their classnames. |
boolean |
equals(java.lang.Object obj) Tests this Step for true equality |
java.lang.String |
getDescription() Retrieves the description association with calc step. |
java.lang.String |
getDescription(int nType) Retrieves the description of this Step object that is generated by the StepView object. |
java.lang.String |
getEvaluatorClassName() Retrieves the evaluator class name name associated with the calc step. |
java.lang.String |
getFolder() Retrieves the error association with calc step. |
java.lang.String |
getID() Retrieves the ID associated with the calc. |
CalcStep |
getInstance(java.lang.String strXML, PersistableAttributes persistableAttributes) Retrieves an instance of the CalcStep from the stored XML stream. |
java.util.Vector |
getMeasureDependencyIDs(java.lang.String measDim) Get measure unique ID dependencies in this step |
java.lang.String |
getNumberFormatString() Retrieves the number format mask that specifies how a number should be formatted. |
PersistableAttributes |
getPersistableAttributes(PersistableAttributes attrs) Retrieves a list of searchable attributes |
AggregateInfo[] |
getPersistableComponents() Retrieves a list of Persistable components that this Persistable component aggregates. |
int |
getType() Retrieves the type of this calc (e.g. |
java.lang.String |
getViewClassName() Retrieves the view class name name associated with the calc step. |
java.lang.Object |
getXML( context) Returns the XML representation of the object. |
java.lang.String |
getXMLAsString() Retrieves the XML stream of the persistable component |
void |
initialize(java.util.Hashtable env) Initializes the component with the persistence environment. |
static boolean |
isType(int nType) Determines with the specified type really represents a type |
void |
setDescription(java.lang.String strDescription) Specifies the description association with calc step. |
void |
setFolder(java.lang.String strFolder) Specifies the name of the folder where this calc step should be stored. |
void |
setID(java.lang.String strID) Specifies the ID associated with the calc step. |
void |
setNumberFormatString(java.lang.String strNumberFormatString) Specifies how a number should be formatted based on the specified format mask. |
void |
setPersistableAttributes(PersistableAttributes attrs) Sets a list of searchable attributes. |
void |
setPersistableComponents(AggregateInfo[] persistables) Sets a list of Persistable components that this Persistable component aggregates. |
void |
setType(int nType) Specifies the type of this calc (e.g. |
void |
setXML( context, java.lang.Object node) Sets the XML representation of the object. |
boolean |
setXMLAsString(java.lang.String strXML) Sets the XML stream of the persistable component. |
java.lang.String |
toString() Generates the string representation of this CalcStep object. |
boolean |
updateCalcValue(CalcValue calcValue, java.lang.String strID) Updates the CalcValue based on specifed ID. |
Methods inherited from class oracle.dss.selection.step.Step |
addPropertyChangeListener, copyFrom, getAction, getDimension, getDispQDR, getEvaluatorClass, 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 |
Methods inherited from interface oracle.dss.bicontext.ObjectFactory |
getObjectInstanceClassName, setObjectInstanceClassName |
Field Detail |
public static final int CALCTYPE_ARITHMETIC_START
public static final int CALCTYPE_ARITHMETIC_END
public static final int CALCTYPE_ADDITION
public static final int CALCTYPE_DIVISION
public static final int CALCTYPE_MULTIPLICATION
public static final int CALCTYPE_SUBTRACTION
public static final int CALCTYPE_DIFFERENCE
public static final int CALCTYPE_INDEX
public static final int CALCTYPE_PERCENTDIFFERENCE
public static final int CALCTYPE_PERCENTMARKUP
public static final int CALCTYPE_PERCENTVARIANCE
public static final int CALCTYPE_RANK
public static final int CALCTYPE_RATIO
public static final int CALCTYPE_SHARE
public static final int CALCTYPE_VARIANCE
public static final int CALCTYPE_LAG
public static final int CALCTYPE_LAGPERCENT
public static final int CALCTYPE_LAGDIFFERENCE
public static final int CALCTYPE_LEAD
public static final int CALCTYPE_YEARTODATE
public static final int CALCTYPE_MOVINGAVERAGE
public static final int CALCTYPE_MOVINGMINIMUM
public static final int CALCTYPE_MOVINGMAXIMUM
public static final int CALCTYPE_MOVINGTOTAL
public static final int CALCTYPE_CUMULATIVETOTAL
public static final int CALCTYPE_START
public static final int CALCTYPE_END
public static final boolean _DEBUG
public static final char STRING_DELIMITER
public static final int OPERAND_LEFT
public static final int OPERAND_RIGHT
public static final int OPERAND_MEASURE
public static final int OPERAND_DIMENSION
public static final int OPERAND_LEVEL
public static final int OPERAND_DIMMEMBER
public static final int OPERAND_TIME_DIMMEMBER
public static final int OPERAND_HIERARCHY
public static final int OPERAND_MEMBER
public static final int OPERAND_MEMBERTYPE
public static final int OPERAND_MEMBER_LEVEL
public static final int OPERAND_MEMBER_DIMMEMBER
public static final int OPERAND_BASE_MEASURE
public static final int OPERAND_TARGET_MEASURE
public static final int OPERAND_RANKORDER
Constructor Detail |
public CalcStep()
Method Detail |
public boolean equals(java.lang.Object obj)
equals
in class Step
obj
- Step to compare it totrue
if completely internally equalpublic java.util.Vector getMeasureDependencyIDs(java.lang.String measDim)
getMeasureDependencyIDs
in class Step
measDim
- the measure dimension ID for those steps that need to know if they have measure memberspublic java.lang.String getDescription()
String
which represents the description.public void setDescription(java.lang.String strDescription)
strDescription
- a String
value that represents the calculation description.public java.lang.String getFolder()
String
which represents the folder associated with the calc step.public void setFolder(java.lang.String strFolder)
strFolder
- a String
value that represents the folder associated with the calc step.public java.lang.String getID()
String
which represents the ID associated with the calc step.public void setID(java.lang.String strID)
strID
- a String
value that represents the ID associated with the calc step.public int getType()
int
which represents the type associated with the calc step.public void setType(int nType)
nType
- a int
value that represents the type associated with the calc step.public void setNumberFormatString(java.lang.String strNumberFormatString)
strNumberFormatString
- A String
value which contains the number format mask.public java.lang.String getNumberFormatString()
String
which is the number format mask being used.public java.lang.String getViewClassName()
getViewClassName
in class Step
String
which represents the view class name.public java.lang.String getEvaluatorClassName()
String
which represents the evaluator class name.public boolean updateCalcValue(CalcValue calcValue, java.lang.String strID)
CalcValue
based on specifed ID.calcValue
- a CalcValue
that represents the object that needs to be updated.strID
- a String
that represents the ID used to update the specified CalcValue
.public java.lang.Object clone()
clone
in class Step
Object
which represents a clone of this calculation step.public void copyProps(CalcStep calcStepTarget)
calcStep
- A CalcStep
value that represents the calculation step to copy.public java.lang.String getDescription(int nType)
Step
object that is generated by the StepView
object.getDescription
in class Step
type
- A constant that represents the type of description to retrieve. The valid constants are:
LONG
MEDIUM
SHORT
Step
object.Step.LONG
, Step.MEDIUM
, Step.SHORT
public CalcStep getInstance(java.lang.String strXML, PersistableAttributes persistableAttributes) throws java.lang.Exception
strXML
- The XML stream associated with the CalcStep.persistableAttributes
- The persistable attributes for the CalcStep.CalcStep
representing the CalcStep for the XML instance.public static boolean isType(int nType)
nType
- a int
value that represents the type that we wish to interrogate.boolean
which is true
if the parameter represents a type and false
otherwise.public void initialize(java.util.Hashtable env)
Persistable
Context
interface in JNDI.initialize
in interface Persistable
oracle.dss.util.persistence.Persistable
env
- Environment properties.public PersistableAttributes getPersistableAttributes(PersistableAttributes attrs)
getPersistableAttributes
in interface Persistable
current
- set of attributespublic AggregateInfo[] getPersistableComponents()
getPersistableComponents
in interface Persistable
AggregateInfo
, which contains information to restore relationship between this object and its aggregates.public java.lang.Object getXML( context)
getXML
in class Step
context
- The control settings that is send by the container (caller)ObjectScope
public java.lang.String getXMLAsString()
getXMLAsString
in interface StringXMLizable
public void setPersistableAttributes(PersistableAttributes attrs)
setPersistableAttributes
in interface Persistable
current
- set of attributespublic void setPersistableComponents(AggregateInfo[] persistables)
setPersistableComponents
in interface Persistable
persistables
- An array of AggregateInfo
public void setXML( context, java.lang.Object node)
setXML
in class Step
context
- The control settings that is send by the container (caller)node
- The XML representation of the objectpublic boolean setXMLAsString(java.lang.String strXML) throws BIPersistenceException
setXMLAsString
in interface StringXMLizable
strXML
- The XML stream of the persistable componentpublic java.lang.String toString()
CalcStep
object.toString
in class Step
CalcStep
object.public void dump()
ObjectFactory
dump
in interface ObjectFactory
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |