| 
 | 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.FirstLastStep
Represents a step in a selection that specifies a specified number of first or last members of a particular dimension.
| Field Summary | |
| static int | FIRSTThe first members of a dimension. | 
| static int | LASTThe last members of a dimension. | 
| static java.lang.String | STEP_STATEState 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 | |
| FirstLastStep()Constructor that does not specify any arguments. | |
| FirstLastStep(java.lang.String dimensionName)Constructor that specifies a dimension. | |
| FirstLastStep(java.lang.String dimensionName, java.lang.String hierarchy, java.util.Vector levels, int firstLastType, java.lang.Integer numValues)Constructor that specifes all arguments. | |
| Method Summary | |
|  void | copyFrom(Step step)Copies all fields from the specified Stepobject. | 
|  boolean | equals(java.lang.Object obj)Indicates whether one Stepobject is equivalent to anotherStepobject. | 
|  java.lang.Class | getEvaluatorClass()Retrieves the StepEvaluatorclass object that is associated with thisFirstLastStepobject. | 
|  int | getFirstLastType()Retrieves the type of members that this FirstLastStepobject specifies. | 
|  java.lang.Integer | getNumValues()Retrieves the number of members that this FirstLastStepobject specifies. | 
|  java.lang.String | getViewClassName()Retrieves the name of the StepViewclass to use to edit thisFirstLastStepobject. | 
|  void | setFirstLastType(int firstLastType)Specifies the type of members that this FirstLastStepobject specifies. | 
|  void | setNumValues(java.lang.Integer newNumValues)Specifies the number of members to specify in this FirstLastStepobject. | 
|  java.lang.String | toString()Generates the string representation of this FirstLastStepobject. | 
| 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 FIRST
public static final int LAST
public static final java.lang.String STEP_STATE
| Constructor Detail | 
public FirstLastStep()
public FirstLastStep(java.lang.String dimensionName)
dimensionName - The name of the dimension.
public FirstLastStep(java.lang.String dimensionName,
                     java.lang.String hierarchy,
                     java.util.Vector levels,
                     int firstLastType,
                     java.lang.Integer numValues)
              throws InvalidStepArgException
dimensionName - The name of the dimension.hierarchy - The name of the hierarchy.levels - The vector of levels.firstLastType - A constant that indicates the type of members that this FirstLastStep object specifies. The valid constants are FIRST and LAST.numMembers - The number of members to specify.InvalidStepArgException - If an argument is not valid.FIRST, LAST| Method Detail | 
public boolean equals(java.lang.Object obj)
Step object is equivalent to another Step object.equals in class ConditionStepobj - 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 ConditionStepstep - The Step object from which to copy fields.public java.lang.String toString()
FirstLastStep object.toString in class ConditionStepFirstLastStep object.
public void setFirstLastType(int firstLastType)
                      throws InvalidStepArgException
FirstLastStep object specifies.firstLastType - A constant that indicates the type of members that this FirstLastStep object specifies. The valid constants are FIRST and LAST.InvalidStepArgException - If an argument is not valid.FIRST, LASTpublic int getFirstLastType()
FirstLastStep object specifies.FirstLastStep object specifies. The valid constants are FIRST and LAST.FIRST, LASTpublic java.lang.Integer getNumValues()
FirstLastStep object specifies.FirstLastStep object specifies.public void setNumValues(java.lang.Integer newNumValues)
FirstLastStep object.newNumMembers - The number of members to specify.public java.lang.String getViewClassName()
StepView class to use to edit this FirstLastStep object. If the name is null, then retrieves the base StepView class. Overrides the same method in the base Step class.getViewClassName in class StepStepView class.
public java.lang.Class getEvaluatorClass()
                                  throws SelectionException
StepEvaluator class object that is associated with this FirstLastStep object. The QueryServer object uses this class to instantiate the appropriate StepEvaluator object.getEvaluatorClass in class StepClass 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 | ||||||||