|
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
The base class for all the steps in a selection.
Field Summary | |
static int |
ADD The add action, which adds new members. |
static java.lang.String |
BASE_STATE_INDEX Deprecated. As of 2.6.0.20. |
static java.lang.String |
CURRENT_STATE_INDEX Deprecated. As of 2.6.0.20. |
static int |
KEEP The keep action, which keeps the new members in the current selection and discards the others. |
static int |
LONG The long description of this Step object, which consists of the action, hierarchy, levels, basic condition, QDRs, and options (such as, exclude zeros); for example, Keep All Levels Top 10 based on Sales for Time:Jan99 Geography:USA. |
static int |
MEDIUM The medium description of this Step object, which consists of the action, levels, and basic condition; for example Add All levels Top 10 based on Sales |
static int |
REMOVE The remove action, which removes the new members from the current selection and keeps the others. |
static int |
SELECT The select action, which replaces the current selection with new members. |
static int |
SHORT The short description of this Step object, which consists of the basic condition; for example, Top 10 based on Sales. |
Constructor Summary | |
Step() Constructor that does not specify any arguments. | |
Step(java.lang.String dimensionName) Constructor that specifies a dimension. |
Method Summary | |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l) Adds the specified PropertyChangeListener object to this Step object to listen for property changes. |
java.lang.Object |
clone() Creates a copy of this Step object. |
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. |
int |
getAction() Retrieves the action of this Step object. |
java.lang.String |
getDescription(int type) Retrieves the description of this Step object that is generated by the StepView object. |
java.lang.String |
getDimension() Retrieves the dimension of this Step object. |
OlapQDR |
getDispQDR() Retrieves the display QDR object for this Step object. |
java.lang.Class |
getEvaluatorClass() Retrieves the StepEvaluator class object that is associated with this Step object. |
java.lang.String |
getHierarchy() Retrieves the hierarchy of this Step object. |
OlapQDR |
getQDR() Retrieves the QDR object for this Step object. |
java.lang.String |
getQDRDescription() Retrieves the QDR description of this Step object. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this Step object. |
boolean |
isEnabled() Indicates whether this step will be evaluated. |
boolean |
isValid() Indicates whether the step is valid. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l) Removes the specified PropertyChangeListener object from this Step object. |
void |
setAction(int newAction) Specifies the action of this Step object. |
void |
setDescription(int type, java.lang.String newDesc) Specifies the description of this Step object. |
void |
setDimension(java.lang.String newDimension) Specifies the dimension of this Step object. |
void |
setDispQDR(OlapQDR newQDR) Specifes the display QDR object for this Step object. |
void |
setEnabled(boolean isEnabled) Specifies whether this step is enabled for evaluation. |
void |
setHierarchy(java.lang.String newHierarchy) Specifies the hierarchy of this Step object. |
void |
setQDR(OlapQDR newQDR) Specifies the QDR object for this Step object. |
void |
setQDRDescription(java.lang.String newDesc) Specifies the QDR description of this Step object. |
void |
setValid(boolean isValid) Specifies whether the step is valid. |
java.lang.String |
toString() Generates the string representation of this Step object. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SELECT
public static final int ADD
public static final int KEEP
public static final int REMOVE
public static final int SHORT
Step
object, which consists of the basic condition; for example, Top 10 based on Sales.public static final int MEDIUM
Step
object, which consists of the action, levels, and basic condition; for example Add All levels Top 10 based on Salespublic static final int LONG
Step
object, which consists of the action, hierarchy, levels, basic condition, QDRs, and options (such as, exclude zeros); for example, Keep All Levels Top 10 based on Sales for Time:Jan99 Geography:USA.public static final java.lang.String BASE_STATE_INDEX
public static final java.lang.String CURRENT_STATE_INDEX
Constructor Detail |
public Step()
public Step(java.lang.String dimensionName)
dimensionName
- The name of a dimension.Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Step
object.clone
in interface VectorClone
Step
object.java.lang.CloneNotSupportedException
- If cloning is not supported for any fields.public boolean equals(java.lang.Object obj)
Step
object is equivalent to another Step
object.equals
in class java.lang.Object
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.step
- The Step
object from which to copy fields.public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
PropertyChangeListener
object to this Step
object to listen for property changes.l
- The PropertyChangeListener
object to add.public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
PropertyChangeListener
object from this Step
object.l
- The PropertyChangeListener
object to remove.public java.lang.String toString()
Step
object.toString
in class java.lang.Object
Step
object.public void setAction(int newAction) throws InvalidStepArgException
Step
object.newAction
- A constant that represents the action. The valid constants are listed in the See Also section.InvalidStepArgException
- If an argument is not valid.ADD
, KEEP
, REMOVE
, SELECT
public int getAction()
Step
object.ADD
, KEEP
, REMOVE
, SELECT
public void setDimension(java.lang.String newDimension)
Step
object.newDimension
- The name of the dimension.public java.lang.String getDimension()
Step
object.public void setHierarchy(java.lang.String newHierarchy)
Step
object.newHierarchy
- The name of the hierarchy.public java.lang.String getHierarchy()
Step
object.public java.lang.String getViewClassName()
StepView
class to use to edit this Step
object. If the name is null, then retrieves the base StepView
class.StepView
class.public java.lang.Class getEvaluatorClass() throws SelectionException
StepEvaluator
class object that is associated with this Step
object. The QueryServer
object uses this class to instantiate the appropriate StepEvaluator
object.Class
object.SelectionException
- If the StepEvaluator
class is not found.public java.lang.String getDescription(int type)
Step
object that is generated by the StepView
object.type
- A constant that represents the type of description to retrieve. The valid constants are listed in the See Also section.Step
object.LONG
, MEDIUM
, SHORT
public void setDescription(int type, java.lang.String newDesc)
Step
object. The description is usually generated by the StepView
class.type
- A constant that represents the type of description for this Step
object. The valid constants are listed in the See Also section.newDesc
- - The description of this Step
object.LONG
, MEDIUM
, SHORT
public void setQDRDescription(java.lang.String newDesc)
Step
object.newQDRdesc
- The description of the QDR.public void setQDR(OlapQDR newQDR)
QDR
object for this Step
object. A QDR is a set of ordered dimension member pairs that fully/partially defines a reference to a subset of data values.newQDR
- The QDR
object for this Step
object.public OlapQDR getQDR()
QDR
object for this Step
object. A QDR is a set of ordered dimension member pairs that fully/partially defines a reference to a subset of data values.QDR
object for this Step
object.public void setDispQDR(OlapQDR newQDR)
QDR
object for this Step
object. A QDR is a set of ordered dimension member pairs that fully/partially defines a reference to a subset of data values.newQDR
- The display QDR
object for this Step
object.public OlapQDR getDispQDR()
QDR
object for this Step
object. A QDR is a set of ordered dimension member pairs that fully/partially defines a reference to a subset of data values.QDR
object for this Step
object.public java.lang.String getQDRDescription()
Step
object.public void setEnabled(boolean isEnabled)
isEnabled
- true
to have this step evalauted, false
to ignore this step when evaluating the selection to which the step belongs.public boolean isEnabled()
true
if this step will be evaluated; false
if this step is ignored when its parent selection is evaluated.public void setValid(boolean isValid)
isValid
- true
to have the step be valid, false
if the step is not valid.public boolean isValid()
true
if the step is valid; false
if the step is not valid.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |