|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.inference.Ontology
public class Ontology
Simple class to encapsulate an ontology to be generated.
| Constructor Summary | |
|---|---|
Ontology(java.lang.String pkg,
JastorContext ctx,
java.util.List<org.openrdf.model.Resource> classes)
Create new Ontology object |
|
| Method Summary | |
|---|---|
java.util.List<OntologyClass> |
getClasses()
Get all the classes in this ontology |
java.util.List<OntologyClass> |
getClassesSorted()
Return a topologically sorted list of the classes in this ontology based on the extension class-hierarchy. |
OntologyComment |
getComment()
Get the Ontology's comment |
JastorContext |
getContext()
Get the context for this ontology |
java.lang.String |
getFactoryClassname()
Get the class name of the factory for this ontology |
java.io.File |
getFactoryFile(java.io.File basedir)
Get the file for the factory |
java.lang.String |
getFactoryFullClassname()
Get the full class name of the factory for this ontology |
java.lang.String |
getLocalName()
Get the local name for this ontology's URI |
Ontology |
getOntology()
Get the Jastor Ontology bean for this ontology |
java.lang.String |
getPackage()
Get the package for this ontology |
org.openrdf.model.URI |
getURI()
Get the ontology's URI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ontology(java.lang.String pkg,
JastorContext ctx,
java.util.List<org.openrdf.model.Resource> classes)
pkg - Package name for ontologyctx - parent Jastor contextclasses - a list of String uri's of the classes in this ontology| Method Detail |
|---|
public java.util.List<OntologyClass> getClasses()
public java.util.List<OntologyClass> getClassesSorted()
public java.lang.String getPackage()
public JastorContext getContext()
public Ontology getOntology()
public java.lang.String getLocalName()
public org.openrdf.model.URI getURI()
public OntologyComment getComment()
public java.lang.String getFactoryClassname()
public java.lang.String getFactoryFullClassname()
public java.io.File getFactoryFile(java.io.File basedir)
basedir - directory where file is located
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||