admin
Class RetrieveAnnotations

java.lang.Object
  extended by admin.RetrieveAnnotations

public class RetrieveAnnotations
extends java.lang.Object

Extracts previous annotations of workflows from biowep database. Author: Chiara Rasi. chiara.rasi(at)istge.it 04-10-2007


Constructor Summary
RetrieveAnnotations()
           
 
Method Summary
 void close()
          Closes connection with database.
 java.lang.String extractAllVersAnnotation()
          Given a WHOLE workflow extracts all processors' data from biowep database.
 java.lang.String extractVersionAnnotations()
          Given a SINGLE workflow version extracts all processors' data from biowep database.
static void main(java.lang.String[] args)
          main class for test purposes.
 void setDBVersion(int vid, java.lang.String db)
          Sets up database parameters for connection and connects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetrieveAnnotations

public RetrieveAnnotations()
Method Detail

setDBVersion

public void setDBVersion(int vid,
                         java.lang.String db)
Sets up database parameters for connection and connects. wfid is the workflow version id.


extractVersionAnnotations

public java.lang.String extractVersionAnnotations()
Given a SINGLE workflow version extracts all processors' data from biowep database. Returns a String with all this data.


extractAllVersAnnotation

public java.lang.String extractAllVersAnnotation()
Given a WHOLE workflow extracts all processors' data from biowep database. Returns a String with all this data.


close

public void close()
Closes connection with database.


main

public static void main(java.lang.String[] args)
main class for test purposes. Not called from biowep interface.