fr.curie.BiNoM.pathways.utils
Class BioPAXMerge

java.lang.Object
  extended by fr.curie.BiNoM.pathways.utils.BioPAXMerge

public class BioPAXMerge
extends java.lang.Object

Utilities for merging BioPAX objects

Author:
Andrei Zinovyev

Field Summary
 com.hp.hpl.jena.rdf.model.Model mainfile
          The base BioPAX com.hp.hpl.jena.rdf.model.Model object
 java.util.Vector referenceFiles
          List of com.hp.hpl.jena.rdf.model.Model objects to merge with the base Model
 
Constructor Summary
BioPAXMerge()
           
 
Method Summary
 void mergeMainWithReferences()
          Merging of the base file with reference files.
 void printStatements()
          Prints all statements of the base Model
 void updateMainfileWithReferences()
          Updating base file with references.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mainfile

public com.hp.hpl.jena.rdf.model.Model mainfile
The base BioPAX com.hp.hpl.jena.rdf.model.Model object


referenceFiles

public java.util.Vector referenceFiles
List of com.hp.hpl.jena.rdf.model.Model objects to merge with the base Model

Constructor Detail

BioPAXMerge

public BioPAXMerge()
Method Detail

mergeMainWithReferences

public void mergeMainWithReferences()
                             throws java.lang.Exception
Merging of the base file with reference files.

Throws:
java.lang.Exception

updateMainfileWithReferences

public void updateMainfileWithReferences()
                                  throws java.lang.Exception
Updating base file with references. Updating means that if an 'empty' thing is found in base then it is filled with information from the references

Throws:
java.lang.Exception

printStatements

public void printStatements()
                     throws java.lang.Exception
Prints all statements of the base Model

Throws:
java.lang.Exception