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

org.protege.owl.codegeneration.Worker 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 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