fr.inrialpes.exmo.aroma.ontology.entities
Class AbstractAEntityFactory
java.lang.Object
fr.inrialpes.exmo.aroma.ontology.entities.AbstractAEntityFactory
- Direct Known Subclasses:
- GenericAEntityFactory, JENAAEntityFactory
public abstract class AbstractAEntityFactory
- extends Object
Method Summary |
protected Map<URI,AEntityImpl> |
buildClasses(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected AEntityImpl |
buildEntity(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto,
Object aClass)
|
protected void |
buildHierarchy(Map<URI,AEntityImpl> entities,
fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected Map<URI,AEntityImpl> |
buildProperties(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected abstract AEntityImpl |
createARoot(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto)
|
void |
free()
|
protected Set<String> |
getAnnotationsTerms(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto,
Object anEntity)
|
AEntity |
getClassHierarchy(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected abstract Set<fr.inrialpes.exmo.ontowrap.Annotation> |
getClassSpecificTerms(Object aClass,
fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected abstract Set<fr.inrialpes.exmo.ontowrap.Annotation> |
getDataPSpecificTerms(Object aClass,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto)
|
protected abstract Set<fr.inrialpes.exmo.ontowrap.Annotation> |
getObjectPSpecificTerms(Object aClass,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto)
|
AEntity |
getPropertyHierarchy(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected abstract Set<URI> |
getSuperEntities(URI entity,
fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
|
protected boolean |
isForbidden(URI uri)
|
void |
setForbiddenURIs(Set<URI> forbiddenURIs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forbiddenURIs
protected Set<URI> forbiddenURIs
te
protected final TermExtractor te
classHierarchies
protected Map<URI,AEntity> classHierarchies
propertyHierarchies
protected Map<URI,AEntity> propertyHierarchies
AbstractAEntityFactory
public AbstractAEntityFactory(boolean useCache)
AbstractAEntityFactory
public AbstractAEntityFactory(boolean useCache,
Set<URI> forbiddenURIs)
setForbiddenURIs
public void setForbiddenURIs(Set<URI> forbiddenURIs)
getClassHierarchy
public AEntity getClassHierarchy(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
getPropertyHierarchy
public AEntity getPropertyHierarchy(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
buildHierarchy
protected void buildHierarchy(Map<URI,AEntityImpl> entities,
fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
isForbidden
protected boolean isForbidden(URI uri)
buildClasses
protected Map<URI,AEntityImpl> buildClasses(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
throws fr.inrialpes.exmo.ontowrap.OntowrapException
- Throws:
fr.inrialpes.exmo.ontowrap.OntowrapException
buildProperties
protected Map<URI,AEntityImpl> buildProperties(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
throws fr.inrialpes.exmo.ontowrap.OntowrapException
- Throws:
fr.inrialpes.exmo.ontowrap.OntowrapException
buildEntity
protected AEntityImpl buildEntity(fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto,
Object aClass)
throws fr.inrialpes.exmo.ontowrap.OntowrapException
- Throws:
fr.inrialpes.exmo.ontowrap.OntowrapException
getAnnotationsTerms
protected Set<String> getAnnotationsTerms(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto,
Object anEntity)
getClassSpecificTerms
protected abstract Set<fr.inrialpes.exmo.ontowrap.Annotation> getClassSpecificTerms(Object aClass,
fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
getObjectPSpecificTerms
protected abstract Set<fr.inrialpes.exmo.ontowrap.Annotation> getObjectPSpecificTerms(Object aClass,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto)
getDataPSpecificTerms
protected abstract Set<fr.inrialpes.exmo.ontowrap.Annotation> getDataPSpecificTerms(Object aClass,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto)
createARoot
protected abstract AEntityImpl createARoot(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> onto)
getSuperEntities
protected abstract Set<URI> getSuperEntities(URI entity,
fr.inrialpes.exmo.ontowrap.HeavyLoadedOntology<?> onto)
free
public void free()
(C) Universite Pierre-Mendes-France, INRIA & Universite de Nantes 2006-2009