public class ColumnComponentInfo extends ComponentInfo
DataView component.
Used for components that have data associated with them.| Constructor and Description |
|---|
ColumnComponentInfo(int column)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this
ColumnComponentInfo. |
boolean |
equals(java.lang.Object o)
Indicates whether the specified object
is equivalent to this
ColumnComponentInfo. |
int |
getColumn()
Retrieves the column number.
|
QDR |
getQDR(DataAccess dataAccess,
int flags)
Retrieves a
QDR for this ColumnComponentInfo. |
int |
hashCode() |
void |
setColumn(int col)
Sets the column.
|
java.lang.String |
toString()
Produces a
String that identifies the column. |
public ColumnComponentInfo(int column)
column - The column that the component is in.public java.lang.Object clone()
ColumnComponentInfo.clone in class ComponentInfoColumnComponentInfo.public void setColumn(int col)
ColumnComponentInfo.col - The column for which you want to use this
ColumnComponentInfo.public int getColumn()
public boolean equals(java.lang.Object o)
ColumnComponentInfo.
ColumnComponentInfo objects are equivalent if they refer
to the same column.equals in class java.lang.Objecto - The object to compare with this
ColumnComponentInfo.true if both objects refer to the same column,
false if not or if o is not a
ColumnComponentInfo.public QDR getQDR(DataAccess dataAccess, int flags)
QDR for this ColumnComponentInfo.
The QDR identifies the dimension members for the
data column for which this ColumnComponentInfo provides
information.
For example, say you have the following column header in a crosstab.
| Boston | Paris | ||
| January 2000 | February 2000 | January 2000 | February 2000 |
In a ColumnComponentInfo for the first column in the
databody that corresponds to this column 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 column that this ColumnComponentInfo
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 ColumnComponentInfo describes.DataAccess.QDR_WITH_PAGE,
DataAccess.QDR_WITHOUT_PAGEpublic int hashCode()
hashCode in class ComponentInfopublic java.lang.String toString()
String that identifies the column.toString in class java.lang.ObjectString.