public abstract class OntologyLR extends AbstractOntologyImplSesame implements gate.gui.ActionsPublisher, gate.event.CreoleListener
| Modifier and Type | Field and Description |
|---|---|
protected List<AbstractAction> |
actionsList
Actions for the remote ontology LR.
|
protected static boolean |
DEBUG
If true, the debug information is printed.
|
TRIPLE_CONTEXT_DATA, TRIPLE_CONTEXT_METAanonymousNodeCounter, defaultNameSpace, doSetAutoLabel, isModified, knownImportURIs, loadedOntologyURIs, modificationListeners, ontologyService, ontologyURL, OURI_OWL_ALLVALUESFROM, OURI_OWL_ANNOTATIONPROPERTY, OURI_OWL_CLASS, OURI_OWL_DATATYPEPROPERTY, OURI_OWL_DIFFERENTFROM, OURI_OWL_EQUIVALENTCLASS, OURI_OWL_EQUIVALENTPROPERTY, OURI_OWL_FUNCTIONALPROPERTY, OURI_OWL_HASVALUE, OURI_OWL_INVERSEFUNCTIONALPROPERTY, OURI_OWL_MAXCARDINALITY, OURI_OWL_MINCARDINALITY, OURI_OWL_OBJECTPROPERTY, OURI_OWL_ONPROPERTY, OURI_OWL_ONTOLOGY, OURI_OWL_RESTRICTION, OURI_OWL_SAMEAS, OURI_OWL_SOMEVALUESFROM, OURI_OWL_SYMMETRICPROPERTY, OURI_OWL_TRANSITIVEPROPERTY, OURI_OWL_VERSIONINFO, OURI_RDF_PROPERTY, OURI_RDF_TYPE, OURI_RDFS_CLASS, OURI_RDFS_COMMENT, OURI_RDFS_DOMAIN, OURI_RDFS_LABEL, OURI_RDFS_RANGE, OURI_RDFS_SUBCLASSOF, pluginDir, randomGenerator, restrictionPrefix| Constructor and Description |
|---|
OntologyLR()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
This method deletes the repository from memory and releases all
resources occupied by the ontology.
|
void |
datastoreClosed(gate.event.CreoleEvent ce) |
void |
datastoreCreated(gate.event.CreoleEvent ce) |
void |
datastoreOpened(gate.event.CreoleEvent ce) |
List |
getActions() |
OntologyServiceImplSesame |
getService() |
org.openrdf.repository.RepositoryConnection |
getSesameRepositoryConnection() |
void |
resourceLoaded(gate.event.CreoleEvent ce) |
void |
resourceRenamed(gate.Resource resource,
String oldname,
String newname) |
void |
resourceUnloaded(gate.event.CreoleEvent ce)
This method removes the repository, provided that user has decided
not to persist this, when this resource is unloaded
|
cleanOntology, createBooleanQuery, createTupleQuery, executeQuery, getOntologyTripleStore, loadSystemImports, peekBaseURIFromRDF, readOntologyData, readOntologyData, readOntologyData, readOntologyData, setDefaultNameSpaceByPeeking, setDefaultNameSpaceByPeeking, setDefaultNameSpaceFromRepository, setTripleContextURI, writeOntologyData, writeOntologyData, writeOntologyDataaddAllValuesFromRestriction, addAllValuesFromRestriction, addAnnotationProperty, addAnonymousClass, addCardinalityRestriction, addDatatypeProperty, addHasValueRestriction, addMaxCardinalityRestriction, addMinCardinalityRestriction, addObjectProperty, addOClass, addOClass, addOInstance, addOntologyModificationListener, addOntologyURIs, addOResourceToMap, addRDFProperty, addSomeValuesFromRestriction, addSymmetricProperty, addTransitiveProperty, commitTransaction, containsOClass, containsOClass, containsOInstance, containsOInstance, createOBNodeID, createOURI, createOURIForName, createOURIForName, encodeResourceName, fireOntologyReset, fireOntologyResourceAdded, fireOntologyResourcesRemoved, fireResourcePropertyValueChanged, fireResourceRelationChanged, generateOURI, generateOURI, getAllResources, getAnnotationProperties, getAnnotationProperty, getAutoGeneratedRestrictionName, getDatatypeProperties, getDatatypeProperty, getDefaultNameSpace, getDistance, getImportURIs, getObjectProperties, getObjectProperty, getOClass, getOClasses, getOClassesByName, getOClassesIterator, getOInstance, getOInstances, getOInstances, getOInstances, getOInstancesByName, getOInstancesIterator, getOInstancesIterator, getOntologyAnnotationValues, getOntologyData, getOntologyURI, getOntologyURIs, getOResourceByName, getOResourceFromMap, getOResourcesByName, getOResourcesWith, getOResourcesWith, getPluginDir, getPropertiesByName, getProperty, getPropertyDefinitions, getRDFProperties, getSesameRepository, getSesameRepositoryID, getSourceURL, getSymmetricProperties, getTransitiveProperties, getURL, getVersion, isAnnotationProperty, isDatatypeProperty, isModified, isObjectProperty, isRDFProperty, isSymmetricProperty, isTransitiveProperty, loadImportMappingsFile, removeOClass, removeOInstance, removeOntologyModificationListener, removeOResourceFromMap, removeProperty, resolveImports, setDataStore, setDefaultNameSpace, setModified, setOntologyAnnotation, setOntologyURI, setURL, setVersion, startTransaction, store, transationStarted, writeOntologyData, writeOntologyDatagetDataStore, getLRPersistenceId, getParent, setLRPersistenceId, setParent, synccheckParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, init, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataStore, getLRPersistenceId, getParent, setLRPersistenceId, setParent, syncprotected static final boolean DEBUG
protected List<AbstractAction> actionsList
public List getActions()
getActions in interface gate.gui.ActionsPublisherpublic void resourceLoaded(gate.event.CreoleEvent ce)
resourceLoaded in interface gate.event.CreoleListenerpublic void datastoreClosed(gate.event.CreoleEvent ce)
datastoreClosed in interface gate.event.CreoleListenerpublic void resourceRenamed(gate.Resource resource,
String oldname,
String newname)
resourceRenamed in interface gate.event.CreoleListenerpublic void datastoreOpened(gate.event.CreoleEvent ce)
datastoreOpened in interface gate.event.CreoleListenerpublic void datastoreCreated(gate.event.CreoleEvent ce)
datastoreCreated in interface gate.event.CreoleListenerpublic void resourceUnloaded(gate.event.CreoleEvent ce)
resourceUnloaded in interface gate.event.CreoleListenerpublic void cleanup()
cleanup in interface gate.Resourcecleanup in class AbstractOntologyImplpublic OntologyServiceImplSesame getService()
public org.openrdf.repository.RepositoryConnection getSesameRepositoryConnection()