Alignment API and Server 4.5 (1846M)

fr.inrialpes.exmo.align.gen
Class TestGenerator

java.lang.Object
  extended by fr.inrialpes.exmo.align.gen.TestGenerator

public class TestGenerator
extends Object


Field Summary
private  String alignname
           
private  boolean debug
           
private  String dirprefix
           
private  String initOntoURI
           
private  com.hp.hpl.jena.ontology.OntModel modifiedOntology
           
private  Alterator modifier
           
private  String ontoname
           
private  Alignment resultAlignment
           
private  String urlprefix
           
 
Constructor Summary
TestGenerator()
           
 
Method Summary
static String directoryName(String dir, String suffix)
           
 Alterator generate(com.hp.hpl.jena.ontology.OntModel onto, Properties params, Properties initalign)
           
 com.hp.hpl.jena.ontology.OntModel getModifiedOntology()
           
 String getURI(String dirName)
           
 Properties incrementModifyOntology(String prevTestDir, Properties al, String testDir, Properties params)
          Generate a test by altering an existing test
 Properties incrementModifyOntology(String pKey, String pVal, String suffix, String prevTest, Properties al, String testNb)
          Generate a test by altering an existing test
 com.hp.hpl.jena.ontology.OntModel loadOntology(String file)
           
 Properties modifyOntology(String file, Properties al, String dirName, Properties params)
          Generate a test from an ontology
private  void outputTestDirectory(com.hp.hpl.jena.ontology.OntModel onto, Alignment align, String dirName)
           
 void setAlignFilename(String a)
           
 void setDebug(boolean d)
           
 void setDirPrefix(String d)
           
 void setInitOntoURI(String uri)
           
 void setOntoFilename(String o)
           
 void setURLPrefix(String u)
           
static void writeOntology(com.hp.hpl.jena.ontology.OntModel model, String destFile, String ns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urlprefix

private String urlprefix

dirprefix

private String dirprefix

ontoname

private String ontoname

alignname

private String alignname

initOntoURI

private String initOntoURI

modifiedOntology

private com.hp.hpl.jena.ontology.OntModel modifiedOntology

resultAlignment

private Alignment resultAlignment

modifier

private Alterator modifier

debug

private boolean debug
Constructor Detail

TestGenerator

public TestGenerator()
Method Detail

setURLPrefix

public void setURLPrefix(String u)

setDirPrefix

public void setDirPrefix(String d)

setOntoFilename

public void setOntoFilename(String o)

setAlignFilename

public void setAlignFilename(String a)

setDebug

public void setDebug(boolean d)

getModifiedOntology

public com.hp.hpl.jena.ontology.OntModel getModifiedOntology()

setInitOntoURI

public void setInitOntoURI(String uri)

getURI

public String getURI(String dirName)

directoryName

public static String directoryName(String dir,
                                   String suffix)

loadOntology

public com.hp.hpl.jena.ontology.OntModel loadOntology(String file)

writeOntology

public static void writeOntology(com.hp.hpl.jena.ontology.OntModel model,
                                 String destFile,
                                 String ns)

outputTestDirectory

private void outputTestDirectory(com.hp.hpl.jena.ontology.OntModel onto,
                                 Alignment align,
                                 String dirName)

incrementModifyOntology

public Properties incrementModifyOntology(String pKey,
                                          String pVal,
                                          String suffix,
                                          String prevTest,
                                          Properties al,
                                          String testNb)
Generate a test by altering an existing test


incrementModifyOntology

public Properties incrementModifyOntology(String prevTestDir,
                                          Properties al,
                                          String testDir,
                                          Properties params)
Generate a test by altering an existing test


modifyOntology

public Properties modifyOntology(String file,
                                 Properties al,
                                 String dirName,
                                 Properties params)
Generate a test from an ontology


generate

public Alterator generate(com.hp.hpl.jena.ontology.OntModel onto,
                          Properties params,
                          Properties initalign)

Alignment API and Server 4.5 (1846M)

(C) INRIA & friends, 2003-2013