|
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 |
ALPHABETICALA sort type that represents sorting in alphabetical order. |
static int |
ASCENDINGA sort direction that specifies sorting in ascending order. |
static int |
ATTRIBUTEA sort type that specifies sorting in order by a specified attribute, such as SalesPerson. |
static int |
CHRONOLOGICALA sort type that specifies sorting in chronological order. |
static int |
DESCENDINGA sort direction that specifies sorting in descending order. |
static int |
HIERARCHICALA sort type that specifies sorting in hierarchical order. |
static int |
MEASUREA sort type that specifies sorting in order by a specified measure, such as, Sales. |
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 | |
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:
ALPHABETICALATTRIBUTECHRONOLOGICALHIERARCHICALMEASUREsortDirection - 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:
ALPHABETICALATTRIBUTECHRONOLOGICALHIERARCHICALMEASUREsortDirection - 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 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 the fields.public java.lang.String toString()
ConditionSortStep object.toString in class ConditionStepConditionSortStep object.
public void setSortType(int newSortType)
throws InvalidStepArgException
ConditionSortStep object.newSortType - A constant that represents the sort type. The valid constants are:
ALPHABETICALATTRIBUTECHRONOLOGICALHIERARCHICALMEASUREInvalidStepArgException - If an argument is not valid.ALPHABETICAL, ATTRIBUTE, CHRONOLOGICAL, HIERARCHICAL, MEASUREpublic int getSortType()
ConditionSortStep object.ALPHABETICALATTRIBUTECHRONOLOGICALHIERARCHICALMEASUREALPHABETICAL, 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, DESCENDINGpublic 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_VALUEoracle.dss.util.MetadataMap.METADATA_LONGLABELoracle.dss.util.MetadataMap.METADATA_MEDIUMLABELoracle.dss.util.MetadataMap.METADATA_SHORTLABELInvalidStepArgException - If an argument is not valid.MetadataMap.METADATA_VALUE, MetadataMap.METADATA_LONGLABEL, MetadataMap.METADATA_MEDIUMLABEL, MetadataMap.METADATA_SHORTLABELpublic java.lang.String getSortLabel()
ConditionSortStep object.oracle.dss.util.MetadataMap.METADATA_VALUEoracle.dss.util.MetadataMap.METADATA_LONGLABELoracle.dss.util.MetadataMap.METADATA_MEDIUMLABELoracle.dss.util.MetadataMap.METADATA_SHORTLABELMetadataMap.METADATA_VALUE, MetadataMap.METADATA_LONGLABEL, MetadataMap.METADATA_MEDIUMLABEL, MetadataMap.METADATA_SHORTLABELpublic 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 StepStepView 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 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 | ||||||||