Oracle Reports
Java API Reference
10g (9.0.4)
B12019-01

oracle.reports.plugin.definition
Class DataSource

java.lang.Object
  |
  +--oracle.reports.plugin.definition.BaseObject
        |
        +--oracle.reports.plugin.definition.DataSource

public class DataSource
extends BaseObject

The Reports data source object.


Field Summary
protected  oracle.reports.definition.RWDataSource mRWObj
           

 

Fields inherited from class oracle.reports.plugin.definition.BaseObject
mReport

 

Constructor Summary
DataSource(oracle.reports.definition.RWDataSource rwobj, Report report)
          Constructor.

 

Method Summary
 Group[] getGroups()
          Returns the groups of this data source.
 Parameter[] getSignOnParametersOfSamePluginType()
          Returns the list of all Sign-on Parameters assigned to the same type of Plugin Data Sources.
 void setSignOnParameter(java.lang.String paramName)
          Sets the Sign-on Parameter of this Plugin Data Source.

 

Methods inherited from class oracle.reports.plugin.definition.BaseObject
getComment, getName, getReport

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

mRWObj

protected oracle.reports.definition.RWDataSource mRWObj
Constructor Detail

DataSource

public DataSource(oracle.reports.definition.RWDataSource rwobj,
Report report)
           throws PluginException
Constructor. NOTE: A plugin must never try to create any Reports objects by itself.
Method Detail

getSignOnParametersOfSamePluginType

public Parameter[] getSignOnParametersOfSamePluginType()
                                                throws PluginException
Returns the list of all Sign-on Parameters assigned to the same type of Plugin Data Sources.

setSignOnParameter

public void setSignOnParameter(java.lang.String paramName)
                        throws PluginException
Sets the Sign-on Parameter of this Plugin Data Source. If the given parameter does not exist yet, Reports will create a new parameter of this name. If the given parameter name cannot be set as a Sign-on Parameter of this Plugin Data Source (for example, if it is a Sign-on Parameter of another plugin type) this function generates PluginException of error code: SET_SIGNON_PARAMETER_FAIL.

getGroups

public Group[] getGroups()
                  throws PluginException
Returns the groups of this data source.

Oracle Reports
Java API Reference

Copyright © 2003 Oracle Corporation. All Rights Reserved.