|
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.sortStep.ConditionSortStep
Represents a step in a sort specification that sorts members of a particular dimension based on a specified sort criterion such as alphabetical.
Field Summary | |
static int |
ALPHABETICAL A sort type that represents sorting in alphabetical order. |
static int |
ASCENDING A sort direction that specifies sorting in ascending order. |
static int |
ATTRIBUTE A sort type that specifies sorting in order by a specified attribute, such as SalesPerson. |
static int |
CHRONOLOGICAL A sort type that specifies sorting in chronological order. |
static int |
DESCENDING A sort direction that specifies sorting in descending order. |
static int |
HIERARCHICAL A sort type that specifies sorting in hierarchical order. |
static int |
MEASURE A sort type that specifies sorting in order by a specified measure, such as, Sales. |
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 | |
ConditionSortStep() Constructor that does not specify any arguments. | |
ConditionSortStep(java.lang.String dimensionName) Constructor that specifies a dimension. | |
ConditionSortStep(java.lang.String dimensionName, java.lang.String hierarchy, int sortType, int sortDirection) Constructor that specifies all arguments except a measure or attribute by which to sort, and a QDR object. | |
ConditionSortStep(java.lang.String dimensionName, java.lang.String hierarchy, int sortType, int sortDirection, java.lang.String sortObjectID, OlapQDR qdr) 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 ConditionSortStep object. |
int |
getSortDirection() Specifies the sort direction of this ConditionSortStep object. |
java.lang.String |
getSortLabel() Retrieves the sort type of this ConditionSortStep object. |
java.lang.String |
getSortObject() Retrieves the measure or attribute by which to sort. |
int |
getSortType() Retrieves the sort type of this ConditionSortStep object. |
java.lang.String |
getViewClassName() Retrieves the name of the StepView class to use to edit this ConditionSortStep object. |
void |
setSortDirection(int newSortDirection) Specifies the sort direction of this ConditionSortStep object. |
void |
setSortLabel(java.lang.String newSortLabel) Specifies the sort label of this ConditionSortStep object. |
void |
setSortObject(java.lang.String newSortObjectID) Specifies the measure or attribute by which to sort. |
void |
setSortType(int newSortType) Specifies the sort type of this ConditionSortStep object. |
java.lang.String |
toString() Generates the string representation of this ConditionSortStep object. |
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 ALPHABETICAL
public static final int HIERARCHICAL
public static final int CHRONOLOGICAL
public static final int ATTRIBUTE
public static final int MEASURE
public static final int ASCENDING
public static final int DESCENDING
public static final java.lang.String STEP_STATE
Constructor Detail |
public ConditionSortStep()
public ConditionSortStep(java.lang.String dimensionName)
dimensionName
- The name of the dimension.public ConditionSortStep(java.lang.String dimensionName, java.lang.String hierarchy, int sortType, int sortDirection) throws InvalidStepArgException
QDR
object.dimensionName
- The name of the dimension.hierarchy
- The name of the hierarchy.sortType
- A constant that represents the sort type. The valid constants are:
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
sortDirection
- A constant that represents the sort direction. The valid constants are ASCENDING
and DESCENDING
.InvalidStepArgException
- If an argument is not valid.ALPHABETICAL
, ASCENDING
, ATTRIBUTE
, CHRONOLOGICAL
, DESCENDING
, HIERARCHICAL
, MEASURE
public ConditionSortStep(java.lang.String dimensionName, java.lang.String hierarchy, int sortType, int sortDirection, java.lang.String sortObjectID, OlapQDR qdr) throws InvalidStepArgException
dimensionName
- The name of the dimension.hierarchy
- The name of the hierarchy.sortType
- A constant that represents the sort type. The valid constants are:
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
sortDirection
- A constant that represents the sort direction. The valid constants are ASCENDING
and DESCENDING
.sortObjectID
- The name of the measure or attribute by which to sort.qdr
- The QDR
object that identifies the qualifying dimension member pairs for the specified measure or attribute.InvalidStepArgException
- If an argument is not valid.ALPHABETICAL
, ASCENDING
, ATTRIBUTE
, CHRONOLOGICAL
, DESCENDING
, HIERARCHICAL
, MEASURE
Method Detail |
public boolean equals(java.lang.Object obj)
Step
object is equivalent to another Step
object.equals
in class ConditionStep
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 ConditionStep
step
- The Step
object from which to copy the fields.public java.lang.String toString()
ConditionSortStep
object.toString
in class ConditionStep
ConditionSortStep
object.public void setSortType(int newSortType) throws InvalidStepArgException
ConditionSortStep
object.newSortType
- A constant that represents the sort type. The valid constants are:
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
InvalidStepArgException
- If an argument is not valid.ALPHABETICAL
, ATTRIBUTE
, CHRONOLOGICAL
, HIERARCHICAL
, MEASURE
public int getSortType()
ConditionSortStep
object.ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
ALPHABETICAL
, ATTRIBUTE
, CHRONOLOGICAL
, HIERARCHICAL
, MEASURE
public void setSortDirection(int newSortDirection) throws InvalidStepArgException
ConditionSortStep
object.newSortDirection
- A constant that represents the sort direction. The valid constants are ASCENDING
and DESCENDING
.InvalidStepArgException
- If an argument is not valid.ASCENDING
, DESCENDING
public int getSortDirection()
ConditionSortStep
object.ASCENDING
and DESCENDING
.ASCENDING
, DESCENDING
public void setSortLabel(java.lang.String newSortLabel) throws InvalidStepArgException
ConditionSortStep
object.newSortLabel
- A constant that represents the sort label. The valid constants are:
oracle.dss.util.MetadataMap.METADATA_VALUE
oracle.dss.util.MetadataMap.METADATA_LONGLABEL
oracle.dss.util.MetadataMap.METADATA_MEDIUMLABEL
oracle.dss.util.MetadataMap.METADATA_SHORTLABEL
InvalidStepArgException
- If an argument is not valid.MetadataMap.METADATA_VALUE
, MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
public java.lang.String getSortLabel()
ConditionSortStep
object.oracle.dss.util.MetadataMap.METADATA_VALUE
oracle.dss.util.MetadataMap.METADATA_LONGLABEL
oracle.dss.util.MetadataMap.METADATA_MEDIUMLABEL
oracle.dss.util.MetadataMap.METADATA_SHORTLABEL
MetadataMap.METADATA_VALUE
, MetadataMap.METADATA_LONGLABEL
, MetadataMap.METADATA_MEDIUMLABEL
, MetadataMap.METADATA_SHORTLABEL
public void setSortObject(java.lang.String newSortObjectID)
newSortObjectID
- The name of the measure or attribute.public java.lang.String getSortObject()
public java.lang.String getViewClassName()
StepView
class to use to edit this ConditionSortStep
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 ConditionSortStep
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 |