SigPath

org.sigpath.database
Class AllExportableInstanceSource

java.lang.Object
  extended by org.sigpath.database.AllExportableInstanceSource
All Implemented Interfaces:
DataSource

public class AllExportableInstanceSource
extends Object
implements DataSource


Constructor Summary
AllExportableInstanceSource(String instanceClassName)
           
 
Method Summary
 void close()
          Frees resources allocated by this source.
 Iterator iterator(SPDBManager dbm)
          Return an iterator over this SigPathEntity data source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllExportableInstanceSource

public AllExportableInstanceSource(String instanceClassName)
Method Detail

iterator

public Iterator iterator(SPDBManager dbm)
                  throws SigPathDatabaseException
Description copied from interface: DataSource
Return an iterator over this SigPathEntity data source.

Specified by:
iterator in interface DataSource
Parameters:
dbm - that can be used to obtain data.
Returns:
an iterator over SigPathEntities.
Throws:
SigPathDatabaseException - if a database error occurs.

close

public void close()
Description copied from interface: DataSource
Frees resources allocated by this source. You must call this method when you are done using the iterator obtained from this source.

Specified by:
close in interface DataSource

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.