public class SeriesComponentInfo extends ComponentInfo
Graph
.
Used for components that have data associated with them.Constructor and Description |
---|
SeriesComponentInfo(int series)
Constructor.
|
SeriesComponentInfo(int series,
int edge)
Constructor that specifies the series and the edge.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this
SeriesComponentInfo . |
boolean |
equals(java.lang.Object o)
Indicates whether the specified object
is equivalent to this
SeriesComponentInfo . |
int |
getEdge()
Retrieves the edge that the series is on.
|
QDR |
getQDR(DataAccess dataAccess,
int flags)
Retrieves a
QDR for this SeriesComponentInfo . |
int |
getSeries()
Retrieves the series number.
|
int |
hashCode() |
java.lang.String |
toString()
Produces a
String that identifies the series. |
public SeriesComponentInfo(int series)
series
- The series that the component is in.public SeriesComponentInfo(int series, int edge)
series
- the series the component is in.edge
- The edge that series
is on. Possible values are
listed in the See Also section. The value depends on the
return value of the Graph.isDataRowShownAsASeries
.DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
oracle.dss.graph
public java.lang.Object clone()
SeriesComponentInfo
.clone
in class ComponentInfo
SeriesComponentInfo
.public int getSeries()
public int getEdge()
Graph.isDataRowShownAsASeries
.DataDirector.COLUMN_EDGE
,
DataDirector.ROW_EDGE
,
Graph.isDataRowShownAsASeries()
public boolean equals(java.lang.Object o)
SeriesComponentInfo
.
SeriesComponentInfo
objects are equivalent if they refer
to the same series.equals
in class java.lang.Object
o
- The object to compare with this
SeriesComponentInfo
.true
if both objects refer to the same series,
false
if not or if o
is not a
SeriesComponentInfo
.public QDR getQDR(DataAccess dataAccess, int flags)
QDR
for this SeriesComponentInfo
.
The QDR
identifies the dimension members
for the data series for which this SeriesComponentInfo
provides information.getQDR
in class ComponentInfo
dataAccess
- The DataAccess
that provided the data
for the series that this SeriesComponentInfo
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 row of data that
this SeriesComponentInfo
describes.DataAccess.QDR_WITH_PAGE
,
DataAccess.QDR_WITHOUT_PAGE
public int hashCode()
hashCode
in class ComponentInfo
public java.lang.String toString()
String
that identifies the series.toString
in class java.lang.Object
String
.