|
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.sortStep.MemberSortStep
Represents a step in a sort specification that sorts members of a particular dimension based on a manual reordering such as moving Boston before New York.
Field Summary | |
static int |
AFTER A type of move that specifies moving a member after another member. |
static int |
BEFORE A type of move that specifies moving a member before another member. |
static int |
FIRST A type of move that specifies moving a member to the first position. |
static int |
LAST A type of move that specifies moving a member to the last position. |
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 | |
MemberSortStep() Constructor that does not specify any arguments. | |
MemberSortStep(java.lang.String dimensionName) Constructor that specifies a dimension. | |
MemberSortStep(java.lang.String dimensionName, MemberStep memberStep, int moveType, java.lang.String refMember) 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 MemberSortStep object. |
MemberStep |
getMembersToMove() Retrieves the MemberStep containing the members to move in this MemberSortStep object. |
int |
getMoveType() Retrieves the type of move for this MemberSortStep object. |
java.lang.String |
getRefMember() Retrieves the name of the member relative to which the move is to occur in this MemberSortStep object. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this MemberSortStep object. |
void |
setMembersToMove(MemberStep newMembersToMove) Specifies the vector containing the names of the members to move in this MemberSortStep object. |
void |
setMoveType(int newMoveType) Specifies the type of move for this MemberSortStep object. |
void |
setRefMember(java.lang.String newRefMember) Specifies the name of the member relative to which the move is to occur in this MemberSortStep object. |
java.lang.String |
toString() Generates the string representation of this MemberSortStep object. |
Methods inherited from class oracle.dss.selection.step.Step |
addPropertyChangeListener, clone, 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 int BEFORE
public static final int AFTER
public static final java.lang.String STEP_STATE
Constructor Detail |
public MemberSortStep()
public MemberSortStep(java.lang.String dimensionName)
dimensionName
- The name of the dimension.public MemberSortStep(java.lang.String dimensionName, MemberStep memberStep, int moveType, java.lang.String refMember) throws InvalidStepArgException
dimensionName
- The name of the dimension.memberStep
- The MemberStep
containing the members to move.moveType
- A constant that represents the type of move. The valid constants are:
AFTER
BEFORE
FIRST
LAST
refMember
- The name of the member relative to which the move is to occur. Applies only when the move type is either AFTER
or BEFORE
.InvalidStepArgException
- If an argument is not valid.AFTER
, BEFORE
, FIRST
, LAST
Method Detail |
public boolean equals(java.lang.Object obj)
Step
object is equivalent to another Step
object.equals
in class Step
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 Step
step
- The Step
object from which to copy the fields.public java.lang.String toString()
MemberSortStep
object.toString
in class Step
MemberSortStep
object.public void setMembersToMove(MemberStep newMembersToMove)
MemberSortStep
object.newMembersToMove
- The MemberStep
containing the members to move.public MemberStep getMembersToMove()
MemberStep
containing the members to move in this MemberSortStep
object.public void setMoveType(int newMoveType) throws InvalidStepArgException
MemberSortStep
object.newMoveType
- A constant that represents the type of move. The valid constants are:
AFTER
BEFORE
FIRST
LAST
InvalidStepArgException
- If an argument is not not valid.AFTER
, BEFORE
, FIRST
, LAST
public int getMoveType()
MemberSortStep
object.AFTER
BEFORE
FIRST
LAST
AFTER
, BEFORE
, FIRST
, LAST
public void setRefMember(java.lang.String newRefMember)
MemberSortStep
object. Applies only when the move type is either AFTER
or BEFORE
.newRefMember
- The name of the member.public java.lang.String getRefMember()
MemberSortStep
object. Applies only when the move type is either AFTER
or BEFORE
.public java.lang.String getViewClassName()
StepView
class to use to edit this MemberSortStep
object. If the name is null, 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 MemberSortStep
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 |