ReportMill 10 API

com.reportmill.datasource
Class RMJDBCResource

java.lang.Object
  extended by com.reportmill.datasource.RMResource
      extended by com.reportmill.datasource.RMJDBCResource

public class RMJDBCResource
extends RMResource

An RMResource implementation for RMJDBCDataSource.


Constructor Summary
RMJDBCResource(RMDataSource aDataSource, java.lang.String aName, java.lang.Object theBytes, java.lang.String aQueryName)
          Creates a new resource.
 
Method Summary
 RMJDBCDataSourceBasic getDataSourceJDBC()
          Returns the resource datasource as an RMJDBCResource.
 RMJDBCDataSource getDataSourceRel()
          Returns the resource datasource as an RMJDBCResource.
 java.lang.String remove()
          Removes this resource from the datasource.
 java.lang.String save()
          Saves this resource to the datasource.
 
Methods inherited from class com.reportmill.datasource.RMResource
getBytes, getDataSource, getName, getQueryName, isDirty, setBytes, setDirty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMJDBCResource

public RMJDBCResource(RMDataSource aDataSource,
                      java.lang.String aName,
                      java.lang.Object theBytes,
                      java.lang.String aQueryName)
Creates a new resource.

Method Detail

getDataSourceJDBC

public RMJDBCDataSourceBasic getDataSourceJDBC()
Returns the resource datasource as an RMJDBCResource.


getDataSourceRel

public RMJDBCDataSource getDataSourceRel()
Returns the resource datasource as an RMJDBCResource.


save

public java.lang.String save()
Saves this resource to the datasource.

Overrides:
save in class RMResource

remove

public java.lang.String remove()
Description copied from class: RMResource
Removes this resource from the datasource.

Overrides:
remove in class RMResource

ReportMill 10 API