|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.fluxion.runcible.graph.mapping.MappingManager
public class MappingManager
Javadocs go here.
| Constructor Summary | |
|---|---|
MappingManager()
|
|
| Method Summary | |
|---|---|
void |
createMapping()
Create a new, empty mapping ready to be developed. |
void |
createMapping(org.semanticweb.owl.model.OWLOntology sourceOntology,
org.semanticweb.owl.model.OWLOntology targetOntology)
|
void |
createMapping(org.semanticweb.owl.model.OWLOntology sourceOntology,
org.semanticweb.owl.model.OWLOntology targetOntology,
boolean upfrontGraphGeneration)
Create a new mapping, with an option to specify whether the source and target graphs get generated upfront. |
protected Graph |
createSourceGraph()
|
protected Graph |
createTargetGraph()
|
Mapping |
getMapping()
|
ColorScheme |
getSourceColours()
|
OWLGraph |
getSourceGraph()
Sets the URL that is the location for the ontology we're using in this mapping. |
org.semanticweb.owl.model.OWLOntology |
getSourceOntology()
|
ColorScheme |
getTargetColours()
|
OWLGraph |
getTargetGraph()
|
org.semanticweb.owl.model.OWLOntology |
getTargetOntology()
|
void |
loadMapping(java.net.URL mappingRules)
Load a mapping from a mapping document. |
void |
setSourceColours(ColorScheme sourceColours)
|
void |
setSourceOntology(org.semanticweb.owl.model.OWLOntology sourceOntology)
|
void |
setTargetColours(ColorScheme targetColours)
|
void |
setTargetOntology(org.semanticweb.owl.model.OWLOntology targetOntology)
|
void |
unload()
Remove an existing mapping. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MappingManager()
| Method Detail |
|---|
public Mapping getMapping()
public void createMapping()
public void createMapping(org.semanticweb.owl.model.OWLOntology sourceOntology,
org.semanticweb.owl.model.OWLOntology targetOntology)
public void createMapping(org.semanticweb.owl.model.OWLOntology sourceOntology,
org.semanticweb.owl.model.OWLOntology targetOntology,
boolean upfrontGraphGeneration)
throws org.semanticweb.owl.inference.OWLReasonerException
sourceOntology - the source ontologytargetOntology - the target ontologyupfrontGraphGeneration - whether to generate the graphs upfront. If
false, equivalent to createMapping(org.semanticweb.owl.model.OWLOntology,
org.semanticweb.owl.model.OWLOntology)
org.semanticweb.owl.inference.OWLReasonerException - if the source or target ontologies failed to classify
public void loadMapping(java.net.URL mappingRules)
throws java.io.IOException
mappingRules - the url to the mapping document
java.io.IOException - if the file can't be accessedpublic void unload()
public org.semanticweb.owl.model.OWLOntology getSourceOntology()
public void setSourceOntology(org.semanticweb.owl.model.OWLOntology sourceOntology)
public OWLGraph getSourceGraph()
public ColorScheme getSourceColours()
public void setSourceColours(ColorScheme sourceColours)
public org.semanticweb.owl.model.OWLOntology getTargetOntology()
public void setTargetOntology(org.semanticweb.owl.model.OWLOntology targetOntology)
public OWLGraph getTargetGraph()
public ColorScheme getTargetColours()
public void setTargetColours(ColorScheme targetColours)
protected Graph createSourceGraph()
protected Graph createTargetGraph()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||