Oracle Reports
Java API Reference
11g Release 1 (11.1.1)
E10775-01

oracle.reports.plugin.definition
Class DataSource

java.lang.Object
  extended by oracle.reports.plugin.definition.BaseObject
      extended by oracle.reports.plugin.definition.DataSource

public class DataSource
extends BaseObject

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 NOTE: Plugin must never try to create any Reports objects itself.
 
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 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: Plugin must never try to create any Reports objects itself.

Throws:
PluginException
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.

Throws:
PluginException

setSignOnParameter

public void setSignOnParameter(java.lang.String paramName)
                        throws PluginException
Sets 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 sign-on parameter of this Plugin Data Source, for example, it is a sign-on parameter of other plugin type, PluginException of error code: SET_SIGNON_PARAMETER_FAIL, will be thrown by this function.

Throws:
PluginException

getGroups

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

Throws:
PluginException

Oracle Reports
Java API Reference

Copyright © 1994, 2009 Oracle Corporation. All Rights Reserved.