owltools.gaf.godb
Class Dumper
java.lang.Object
owltools.gaf.godb.Dumper
- Direct Known Subclasses:
- DatabaseDumper
public abstract class Dumper
- extends Object
Generates a dump of a combined set of ontologies, annotations and related data
Currently there is one implementing subclass, for dumping a relational database.
In principle this could be extended to other dumps
- Author:
- cjm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
protected OWLGraphWrapper graph
targetDirectory
protected String targetDirectory
gafdocs
protected Set<GafDocument> gafdocs
problems
protected List<String> problems
Dumper
public Dumper()
getTargetDirectory
public String getTargetDirectory()
- Returns:
- dirname
setTargetDirectory
public void setTargetDirectory(String targetDirectory)
- Parameters:
targetDirectory
-
addGafDocument
public void addGafDocument(GafDocument gd)
- Parameters:
gd
-
getGafdocs
public Set<GafDocument> getGafdocs()
- Returns:
- set of Gafs loaded
setGafdocs
public void setGafdocs(Set<GafDocument> gafdocs)
- Parameters:
gafdocs
-
dump
public abstract void dump()
throws IOException,
ReferentialIntegrityException
- dumps all data
- Throws:
IOException
ReferentialIntegrityException
addProblem
protected void addProblem(String m)
reportProblems
public void reportProblems()
Copyright © 2010-2014. All Rights Reserved.