public class RowComponentInfo extends ComponentInfo
DataView component.
Used for components that have data associated with them.| Constructor and Description |
|---|
RowComponentInfo(int row)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
hashCode() |
void |
setRow(int row)
Sets the row.
|
java.lang.String |
toString()
Produces a
String that identifies the row. |
public RowComponentInfo(int row)
row - The row that the component is in.public java.lang.Object clone()
RowComponentInfo.clone in class ComponentInfoRowComponentInfo.public void setRow(int row)
RowComponentInfo.row - The row for which you want to use this
RowComponentInfo.public int getRow()
public boolean equals(java.lang.Object o)
RowComponentInfo.
RowComponentInfo objects are equivalent if they refer
to the same row.equals in class java.lang.Objecto - The object to compare with this
RowComponentInfo.true if both objects refer to the same row,
false if not or if o is not a
RowComponentInfo.public QDR getQDR(DataAccess dataAccess, int flags)
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.
getQDR in class ComponentInfodataAccess - 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.QDR that identifies the column of data that
this RowComponentInfo describes.DataAccess.QDR_WITH_PAGE,
DataAccess.QDR_WITHOUT_PAGEpublic int hashCode()
hashCode in class ComponentInfopublic java.lang.String toString()
String that identifies the row.toString in class java.lang.ObjectString.