All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.protege.owl.codegeneration.CodeGenerationFactory Maven / Gradle / Ivy

Go to download

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 javaInterface);

     X as(WrappedIndividual resource, Class javaInterface);

    Class getJavaInterfaceFromOwlClass(OWLClass cls);

    OWLClass getOwlClassFromJavaInterface(Class javaInterface);

    CodeGenerationInference getInference();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy