Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.util
Class RowComponentInfo

java.lang.Object
  |
  +--oracle.dss.util.ComponentInfo
        |
        +--oracle.dss.util.RowComponentInfo
All Implemented Interfaces:
java.lang.Cloneable

public class RowComponentInfo
extends ComponentInfo

Row information about a DataView component. Used for components that have data associated with them.


Constructor Summary
RowComponentInfo(int row)
          Constructor.

 

Method Summary
 java.lang.Object clone()
          Clones this RowComponentInfo.
 boolean equals(java.lang.Object o)
          Indicates whether the specified object is equivalent to this RowComponentInfo.
 QDR getQDR(DataAccess dataAccess, int flags)
          Retrieves a QDR for this RowComponentInfo.
 int getRow()
          Retrieves the row number.
 void setRow(int row)
          Sets the row.
 java.lang.String toString()
          Produces a String that identifies the row.

 

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

 

Constructor Detail

RowComponentInfo

public RowComponentInfo(int row)
Constructor.
Parameters:
row - The row that the component is in.
Method Detail

clone

public java.lang.Object clone()
Clones this RowComponentInfo.
Overrides:
clone in class ComponentInfo
Returns:
The clone of this RowComponentInfo.

setRow

public void setRow(int row)
Sets the row. This method allows reuse of this RowComponentInfo.
Parameters:
row - The row for which you want to use this RowComponentInfo.

getRow

public int getRow()
Retrieves the row number. Row numbers start at zero.
Returns:
The row number.

equals

public boolean equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this RowComponentInfo. RowComponentInfo objects are equivalent if they refer to the same row.
Overrides:
equals in class java.lang.Object
Parameters:
o - The object to compare with this RowComponentInfo.
Returns:
true if both objects refer to the same row, false if not or if o is not a RowComponentInfo.

getQDR

public QDR getQDR(DataAccess dataAccess,
                  int flags)
Retrieves a QDR for this RowComponentInfo. The QDR identifies the dimension members for the data row for which this RowComponentInfo provides information.

For example, say you have the following row header in a crosstab.

Boston January 2000
February 2000
Paris January 2000
February 2000

In a RowComponentInfo for the first row in the databody that corresponds to this row header, the QDR limits Geography to Boston, and it limits Time to January 2000.

Overrides:
getQDR in class ComponentInfo
Parameters:
dataAccess - The DataAccess that provided the data for the row that this RowComponentInfo describes.
flags - A constant that identifies whether to include page edge information if the QDR is not for the page edge. Valid constants are listed in the See Also section.
Returns:
A QDR that identifies the column of data that this RowComponentInfo describes.
See Also:
DataAccess.QDR_WITH_PAGE, DataAccess.QDR_WITHOUT_PAGE

toString

public java.lang.String toString()
Produces a String that identifies the row.
Overrides:
toString in class java.lang.Object
Returns:
The row number, in a String.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.