org.protege.owl.codegeneration.Worker 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 java.io.File;
import java.util.Collection;
import java.util.Map;
import org.protege.owl.codegeneration.inference.CodeGenerationInference;
import org.semanticweb.owlapi.model.OWLClass;
import org.semanticweb.owlapi.model.OWLDataProperty;
import org.semanticweb.owlapi.model.OWLEntity;
import org.semanticweb.owlapi.model.OWLObjectProperty;
import org.semanticweb.owlapi.model.OWLOntology;
public interface Worker {
OWLOntology getOwlOntology();
void initialize();
CodeGenerationInference getInference();
Collection getOwlClasses();
Collection getOwlObjectProperties();
Collection getOwlDataProperties();
Collection getObjectPropertiesForClass(OWLClass owlClass);
Collection getDataPropertiesForClass(OWLClass owlClass);
File getInterfaceFile(OWLClass c);
File getImplementationFile(OWLClass c);
File getVocabularyFile();
File getFactoryFile();
void configureSubstitutions(CodeGenerationPhase phase,
Map substitutions,
OWLClass owlClass,
OWLEntity owlProperty);
String getTemplate(CodeGenerationPhase phase, OWLClass owlClass, Object owlProperty);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy