org.protege.owl.codegeneration.CodeGenerationFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of code-generation Show documentation
Show all versions of code-generation Show documentation
Generate Java code from an OWL ontology in the Protege Desktop editing environment.
The newest version!
package org.protege.owl.codegeneration;
import org.protege.owl.codegeneration.inference.CodeGenerationInference;
import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLOntology;
import org.semanticweb.owlapi.model.OWLOntologyStorageException;
public interface CodeGenerationFactory {
OWLOntology getOwlOntology();
void saveOwlOntology() throws OWLOntologyStorageException;
void flushOwlReasoner();
boolean canAs(WrappedIndividual resource, Class extends WrappedIndividual> javaInterface);
X as(WrappedIndividual resource, Class extends X> javaInterface);
Class> getJavaInterfaceFromOwlClass(OWLClass cls);
OWLClass getOwlClassFromJavaInterface(Class> javaInterface);
CodeGenerationInference getInference();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy