public class DrillComponentInfo extends ComponentInfo
| Constructor and Description |
|---|
DrillComponentInfo(int edge, int layer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clones this
DrillComponentInfo. |
boolean |
equals(java.lang.Object o)
Indicates whether the specified object is equivalent to this
DrillComponentInfo. |
int |
getEdge()
Retrieves the edge that the component is on.
|
int |
getLayer()
Retrieves the layer of the component.
|
QDR |
getQDR(DataAccess dataAccess, int flags)
Retrieves a
QDR for this DrillComponentInfo. |
int |
hashCode() |
java.lang.String |
toString()
Generates as
String representation of this DrillComponentInfo. |
public DrillComponentInfo(int edge,
int layer)
edge - The edge that the component is on.layer - The layer within edge. The layer identifies the location of the dimension or dimension member; 0 is the outer-most dimension on the edge.public java.lang.Object clone()
DrillComponentInfo.clone in class ComponentInfoDrillComponentInfo.public int getEdge()
DataDirector.COLUMN_EDGE, DataDirector.PAGE_EDGE, DataDirector.ROW_EDGEpublic int getLayer()
public boolean equals(java.lang.Object o)
DrillComponentInfo. DrillComponentInfo objects are equivalent if they refer to the same edge and layer.equals in class java.lang.Objecto - The object to compare with this DrillComponentInfo.true if both objects refer to the same edge and layer. false if not or if o is not an DrillComponentInfo.public QDR getQDR(DataAccess dataAccess, int flags)
QDR for this DrillComponentInfo.getQDR in class ComponentInfodataAccess - The DataAccess that provided the data for the component that this DrillComponentInfo 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 header cell that this DrillComponentInfo describes.DataAccess.QDR_WITH_PAGE, DataAccess.QDR_WITHOUT_PAGEpublic int hashCode()
hashCode in class ComponentInfopublic java.lang.String toString()
String representation of this DrillComponentInfo. The String identifies the edge and layer of the component.toString in class java.lang.ObjectString.