com.crystaldecisions.sdk.occa.report.partsdefinition
Class ReportPartNode

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.partsdefinition.ReportPartNode

public class ReportPartNode
extends java.lang.Object

This class is used to identify a report object in the report. This class is added to a CrystalReportPartNodes collection.

See the Getting Started > Tutorials section of the Viewer Java SDK Guide for an example of how to use the ReportPartNode class.


Constructor Summary
ReportPartNode()
           
ReportPartNode(ReportPartNode part)
           
 
Method Summary
 ReportPartNodes getDrillDownPath()
          Returns the path to the drill-down information.
 java.lang.String getName()
          Returns the name of the ReportPartNode object.
 IReportPartID getReportPartID()
          For internal use only.
 void setDrillDownPath(ReportPartNodes nodes)
          Sets the path to the drill-down information.
 void setName(java.lang.String name)
          For Internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportPartNode

public ReportPartNode()

ReportPartNode

public ReportPartNode(ReportPartNode part)
Method Detail

getDrillDownPath

public ReportPartNodes getDrillDownPath()

Returns the path to the drill-down information.

Note: The drill-down path is represented by a ReportPartNodes collection containing one or more ReportPartNode objects.

Returns:
The path to the drill-down information as a ReportPartNodes collection.
See Also:
setDrillDownPath

getName

public java.lang.String getName()
Returns the name of the ReportPartNode object.

Returns:
The name of the ReportPartNode object as a String.
See Also:
setName

getReportPartID

public IReportPartID getReportPartID()
For internal use only.


setDrillDownPath

public void setDrillDownPath(ReportPartNodes nodes)

Sets the path to the drill-down information.

Note: The drill-down path is represented by a ReportPartNodes collection containing one or more ReportPartNode objects. A ReportPartNode object cannot belong to the same ReportPartNodes collection set in its setDrillDownPath method.

Note: The report objects in the drill-down path node list must be from the next group down in the report. For example, if this node is from group header 1, then the nodes in the drill-down path must be from the group header 2 section, if one exists, or from the details section if there is only one group in the report.

Parameters:
nodes - The ReportPartNodes collection that specifies the path to the drill-down information.
See Also:
getDrillDownPath

setName

public void setName(java.lang.String name)
For Internal use only.