|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.util.DimensionSortInfo
public class DimensionSortInfo
Class specifying a series of dimension-based sorts for a single dimension.
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. |
Constructor Summary | |
---|---|
DimensionSortInfo(java.lang.String dimension)
Constructor that specifies a dimension to be sorted |
|
DimensionSortInfo(java.lang.String dimension,
java.lang.String[] hierarchy,
int[] sortType,
int[] sortDirection,
java.lang.String[] sortObject,
HierarchicalQDR[] qdr,
java.lang.String[] sortLabel)
Constructor that specifies a series of dimension-based sorts, all performed within a hierarchical level |
|
DimensionSortInfo(java.lang.String dimension,
java.lang.String[] hierarchy,
int[] sortType,
int[] sortDirection,
java.lang.String[] sortObject,
HierarchicalQDR[] qdr,
java.lang.String[] sortLabel,
boolean[] sortWithinLevel)
Constructor that specifies a series of dimension-based sorts |
Method Summary | |
---|---|
java.lang.String |
getDimension()
Retrieves the dimension for all sorts |
int[] |
getDirection()
Retrieves the direction for each sort |
java.lang.String[] |
getHierarchy()
Retrieves the hierarchy for each sort |
java.lang.String[] |
getLabel()
Retrieves the label for each sort |
java.lang.String[] |
getObject()
Retrieves the object for each sort |
HierarchicalQDR[] |
getQDR()
Retrieves the HierarchicalQDR for each sort |
int[] |
getType()
Retrieves the type for each sort |
boolean[] |
isWithinLevel()
Retrieves whether items are sorted within a hierarchical level, for database releases 9.2.0.3 or higher. |
void |
setDimension(java.lang.String dimension)
Specifies the dimension for all sorts |
void |
setDirection(int[] sortDirection)
Specifies the direction for each sort |
void |
setHierarchy(java.lang.String[] hierarchy)
Specifies the hierarchy for each sort |
void |
setLabel(java.lang.String[] sortLabel)
Specifies the label for each sort |
void |
setObject(java.lang.String[] sortObject)
Specifies the object for each sort |
void |
setQDR(HierarchicalQDR[] qdr)
Specifies the HierarchicalQDR for each sort |
void |
setType(int[] sortType)
Specifies the type for each sort |
void |
setWithinLevel(boolean[] sortWithinLevel)
Specifies whether items are sorted within a hierarchical level, for database releases 9.2.0.3 or higher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
Constructor Detail |
---|
public DimensionSortInfo(java.lang.String dimension)
dimension
- The name of the dimensionpublic DimensionSortInfo(java.lang.String dimension, java.lang.String[] hierarchy, int[] sortType, int[] sortDirection, java.lang.String[] sortObject, HierarchicalQDR[] qdr, java.lang.String[] sortLabel)
dimension
- The name of the dimensionhierarchy
- An array of hierarchies indicating the hierarchy of each
specified sortsortType
- An array indicating the type of each specified sort
The valid constants are:
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
sortDirection
- An array indicating the direction of each specified
sort. The valid constants are ASCENDING
and
DESCENDING
.sortObject
- An array specifying a measure or attribute for each sort
of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.qdr
- An array specifying the qualifying dimension member pairs for
each sort of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.sortLabel
- An array specifying the label type to be used for each
sort of type ALPHABETICAL
and null
for all other
sorts.
The valid constants are:
MetadataMap.METADATA_VALUE
MetadataMap.METADATA_LONGLABEL
MetadataMap.METADATA_MEDIUMLABEL
MetadataMap.METADATA_SHORTLABEL
MetadataMap.METADATA_DISPLAYNAME
ALPHABETICAL
,
ASCENDING
,
ATTRIBUTE
,
CHRONOLOGICAL
,
DESCENDING
,
HIERARCHICAL
,
MEASURE
,
MetadataMap.METADATA_VALUE
,
MetadataMap.METADATA_LONGLABEL
,
MetadataMap.METADATA_MEDIUMLABEL
,
MetadataMap.METADATA_SHORTLABEL
,
MetadataMap.METADATA_DISPLAYNAME
public DimensionSortInfo(java.lang.String dimension, java.lang.String[] hierarchy, int[] sortType, int[] sortDirection, java.lang.String[] sortObject, HierarchicalQDR[] qdr, java.lang.String[] sortLabel, boolean[] sortWithinLevel)
dimension
- The name of the dimensionhierarchy
- An array of hierarchies indicating the hierarchy of each
specified sortsortType
- An array indicating the type of each specified sort
The valid constants are:
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
sortDirection
- An array indicating the direction of each specified
sort. The valid constants are ASCENDING
and
DESCENDING
.sortObject
- An array specifying a measure or attribute for each sort
of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.qdr
- An array specifying the qualifying dimension member pairs for
each sort of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.sortLabel
- An array specifying the label type to be used for each
sort of type ALPHABETICAL
and null
for all other
sorts.
The valid constants are:
MetadataMap.METADATA_VALUE
MetadataMap.METADATA_LONGLABEL
MetadataMap.METADATA_MEDIUMLABEL
MetadataMap.METADATA_SHORTLABEL
MetadataMap.METADATA_DISPLAYNAME
withinLevel
- An array indicating whether or not each sort should be
performed within a hierarchical levelALPHABETICAL
,
ASCENDING
,
ATTRIBUTE
,
CHRONOLOGICAL
,
DESCENDING
,
HIERARCHICAL
,
MEASURE
,
MetadataMap.METADATA_VALUE
,
MetadataMap.METADATA_LONGLABEL
,
MetadataMap.METADATA_MEDIUMLABEL
,
MetadataMap.METADATA_SHORTLABEL
,
MetadataMap.METADATA_DISPLAYNAME
Method Detail |
---|
public void setDimension(java.lang.String dimension)
dimension
- The name of the dimensionpublic java.lang.String getDimension()
public void setHierarchy(java.lang.String[] hierarchy)
hierarchy
- An array of hierarchies indicating the hierarchy of each
specified sortpublic java.lang.String[] getHierarchy()
public void setType(int[] sortType)
sortType
- An array indicating the type of each specified sort
The valid constants are:
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
ALPHABETICAL
,
ATTRIBUTE
,
CHRONOLOGICAL
,
HIERARCHICAL
,
MEASURE
public int[] getType()
ALPHABETICAL
ATTRIBUTE
CHRONOLOGICAL
HIERARCHICAL
MEASURE
ALPHABETICAL
,
ATTRIBUTE
,
CHRONOLOGICAL
,
HIERARCHICAL
,
MEASURE
public void setDirection(int[] sortDirection)
sortDirection
- An array indicating the direction of each specified
sort. The valid constants are ASCENDING
and
DESCENDING
.ASCENDING
,
DESCENDING
public int[] getDirection()
ASCENDING
and
DESCENDING
.ASCENDING
,
DESCENDING
public void setObject(java.lang.String[] sortObject)
sortObject
- An array specifying a measure or attribute for each sort
of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.ATTRIBUTE
,
MEASURE
public java.lang.String[] getObject()
MEASURE
or ATTRIBUTE
and
null
for all other sorts.ATTRIBUTE
,
MEASURE
public void setQDR(HierarchicalQDR[] qdr)
qdr
- An array specifying the qualifying dimension member pairs for
each sort of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.ATTRIBUTE
,
MEASURE
public HierarchicalQDR[] getQDR()
qdr
- An array specifying the qualifying dimension member pairs for
each sort of type MEASURE
or ATTRIBUTE
and
null
for all other sorts.ATTRIBUTE
,
MEASURE
public void setLabel(java.lang.String[] sortLabel)
sortLabel
- An array specifying the label type to be used for each
sort of type ALPHABETICAL
and null
for all other
sorts.
The valid constants are:
MetadataMap.METADATA_VALUE
MetadataMap.METADATA_LONGLABEL
MetadataMap.METADATA_MEDIUMLABEL
MetadataMap.METADATA_SHORTLABEL
MetadataMap.METADATA_DISPLAYNAME
public java.lang.String[] getLabel()
ALPHABETICAL
and null
for all other
sorts.
The valid constants are:
MetadataMap.METADATA_VALUE
MetadataMap.METADATA_LONGLABEL
MetadataMap.METADATA_MEDIUMLABEL
MetadataMap.METADATA_SHORTLABEL
MetadataMap.METADATA_DISPLAYNAME
public void setWithinLevel(boolean[] sortWithinLevel)
withinLevel
- An array containing true
for each sort to
be sorted within a hierarchical level,
false
otherwise.public boolean[] isWithinLevel()
true
for each sort to
be sorted within a hierarchical level,
false
otherwise.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |