Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-03


oracle.dss.util
Class SortInfo

java.lang.Object
  extended by oracle.dss.util.SortInfo

All Implemented Interfaces:
oracle.dss.util.parameters.ParameterUser
Direct Known Subclasses:
ColumnSortInfo, CubicSortInfo, QDRSortInfo

public abstract class SortInfo
extends java.lang.Object
implements oracle.dss.util.parameters.ParameterUser

Base class for the sorting information data structures.


Field Summary
static int ASCENDING
          A sort direction that specifies sorting in ascending order.
static int DESCENDING
          A sort direction that specifies sorting in descending order.
static int FIRST
          A constant for slice based sorts indicating that the opposite edge should be sorted based on the first slice in the data body.
static int LAST
          A constant for slice based sorts indicating that the opposite edge should be sorted based on the last slice in the data body.
protected  int[] m_direction
           
protected  java.lang.String m_layerName
           
protected  oracle.dss.util.parameters.ParameterUserHelper m_parameterHelper
           

 

Constructor Summary
SortInfo()
          Constructor
SortInfo(java.lang.String layerName, int[] direction)
          Constructor

 

Method Summary
 void associateParameter(java.lang.Object field, oracle.dss.util.parameters.Parameter parameter)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAssociatedParameterName(java.lang.Object field)
           
 int[] getDirection()
          Get the array of direction constants that specify the sort direction of dimension items.
 java.lang.String getLayerName()
          Get the name of the layer to which these sort criteria apply.
 java.lang.String[] getParameterNames()
           
 void parameterize(oracle.dss.util.parameters.ParameterManager pm)
           
 void setDirection(int[] direction)
          Set one or more direction constants that specify the sort direction of each corresponding sort criterion.
 void setLayerName(java.lang.String layerName)
          Set the layer name to which these sort crtieria apply.
 boolean usesParameter(oracle.dss.util.parameters.Parameter parameter)
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

m_direction

protected int[] m_direction
For internal use only. Application developers should not use this

m_layerName

protected java.lang.String m_layerName
For internal use only. Application developers should not use this

m_parameterHelper

protected oracle.dss.util.parameters.ParameterUserHelper m_parameterHelper
For internal use only. Application developers should not use this

ASCENDING

public static final int ASCENDING
A sort direction that specifies sorting in ascending order.
See Also:
Constant Field Values

DESCENDING

public static final int DESCENDING
A sort direction that specifies sorting in descending order.
See Also:
Constant Field Values

FIRST

public static final int FIRST
A constant for slice based sorts indicating that the opposite edge should be sorted based on the first slice in the data body.
See Also:
Constant Field Values

LAST

public static final int LAST
A constant for slice based sorts indicating that the opposite edge should be sorted based on the last slice in the data body.
See Also:
Constant Field Values

Constructor Detail

SortInfo

public SortInfo()
Constructor

SortInfo

public SortInfo(java.lang.String layerName,
                int[] direction)
Constructor
Parameters:
layerName - name of the layer to which these sort criteria apply
direction - Array of QDR objects by which to sort.

Method Detail

setLayerName

public void setLayerName(java.lang.String layerName)
Set the layer name to which these sort crtieria apply.
Parameters:
layerName - name of the layer to which these sort criteria apply

getLayerName

public java.lang.String getLayerName()
Get the name of the layer to which these sort criteria apply.
Returns:
Layer name.

setDirection

public void setDirection(int[] direction)
Set one or more direction constants that specify the sort direction of each corresponding sort criterion. The values should be one of the sort direction constants (ascending or descending).
Parameters:
direction - Array of QDR objects by which to sort.

getDirection

public int[] getDirection()
Get the array of direction constants that specify the sort direction of dimension items.
Returns:
Array of sort direction constants.

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

usesParameter

public boolean usesParameter(oracle.dss.util.parameters.Parameter parameter)
Specified by:
usesParameter in interface oracle.dss.util.parameters.ParameterUser

getParameterNames

public java.lang.String[] getParameterNames()
Specified by:
getParameterNames in interface oracle.dss.util.parameters.ParameterUser

associateParameter

public void associateParameter(java.lang.Object field,
                               oracle.dss.util.parameters.Parameter parameter)
Specified by:
associateParameter in interface oracle.dss.util.parameters.ParameterUser

getAssociatedParameterName

public java.lang.String getAssociatedParameterName(java.lang.Object field)
Specified by:
getAssociatedParameterName in interface oracle.dss.util.parameters.ParameterUser

parameterize

public void parameterize(oracle.dss.util.parameters.ParameterManager pm)
For internal use only. Application developers should not use this

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1)

E12063-03


Copyright © 1997, 2009, Oracle. All rights reserved.