Oracle Reports
Java API Reference
10g Release 2 (10.1.2)
B14049-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

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.

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 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.

getGroups

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

Oracle Reports
Java API Reference

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