ReportMill 11 API

com.reportmill.datasource
Class RMFetch

java.lang.Object
  extended by com.reportmill.datasource.RMFetch
All Implemented Interfaces:
java.lang.Cloneable

public class RMFetch
extends java.lang.Object
implements java.lang.Cloneable

This class encapsulates the info necessary to get a defined datset from a datasource.


Constructor Summary
RMFetch()
          Creates a new fetch.
RMFetch(java.lang.String aName, java.lang.String aQuery, int aFetchLimit)
          Creates a new fetch for given name, query and fetch limit.
 
Method Summary
 java.lang.Object clone()
          Standard clone implementation.
 java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
          XML unarchival.
 int getFetchLimit()
          Returns fetch limit.
 java.lang.String getName()
          Returns the name of this fetch.
 java.lang.String getQuery()
          Returns query string.
 void setFetchLimit(int aLimit)
          Sets fetch limit.
 void setName(java.lang.String aName)
          Sets the name of this fetch.
 void setQuery(java.lang.String aQuery)
          Sets query string.
 com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
          XML archival.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMFetch

public RMFetch()
Creates a new fetch.


RMFetch

public RMFetch(java.lang.String aName,
               java.lang.String aQuery,
               int aFetchLimit)
Creates a new fetch for given name, query and fetch limit.

Method Detail

getName

public java.lang.String getName()
Returns the name of this fetch.


setName

public void setName(java.lang.String aName)
Sets the name of this fetch.


getQuery

public java.lang.String getQuery()
Returns query string.


setQuery

public void setQuery(java.lang.String aQuery)
Sets query string.


getFetchLimit

public int getFetchLimit()
Returns fetch limit.


setFetchLimit

public void setFetchLimit(int aLimit)
Sets fetch limit.


clone

public java.lang.Object clone()
Standard clone implementation.

Overrides:
clone in class java.lang.Object

toXML

public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver,
                                               java.lang.Object anOwner)
XML archival.


fromXML

public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver,
                                com.reportmill.archiver.RXElement anElement,
                                java.lang.Object anOwner)
XML unarchival.


ReportMill 11 API