|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.indexing.hierarchy.DirectIndex
public class DirectIndex
| Nested Class Summary | |
|---|---|
static class |
DirectIndex.ContextRootInitializationRule
Adds root to the context |
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
LOGGER_
|
| Constructor Summary | |
|---|---|
DirectIndex()
|
|
DirectIndex(IndexedObjectCache objectCache)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger LOGGER_
| Constructor Detail |
|---|
public DirectIndex(IndexedObjectCache objectCache)
public DirectIndex()
| Method Detail |
|---|
public LinkRule<Context> getContextInitRuleHead()
getContextInitRuleHead in interface OntologyIndexOntologyIndex, or null if there no such rules;
all other rules can be obtained by traversing over
Link.next()public Collection<IndexedClassExpression> getIndexedClassExpressions()
getIndexedClassExpressions in interface OntologyIndexIndexedClassExpressions for all
ElkClassExpressions occurring in the ontology (including
owl:Thing and owl:Nothing) or added/removed from
the ontology since the last commit of the differential indexpublic Collection<IndexedClass> getIndexedClasses()
getIndexedClasses in interface OntologyIndexIndexedClasses for all ElkClasses occurring
in the ontology (including owl:Thing and
owl:Nothing)public Collection<IndexedIndividual> getIndexedIndividuals()
getIndexedIndividuals in interface OntologyIndexIndexedIndividuals for all ElkIndividuals
occurring in the ontology.public Collection<IndexedPropertyChain> getIndexedPropertyChains()
getIndexedPropertyChains in interface OntologyIndexIndexedPropertyChains for all
ElkSubObjectPropertyExpressions occurring in the
ontology.public Collection<IndexedObjectProperty> getIndexedObjectProperties()
getIndexedObjectProperties in interface OntologyIndexIndexedObjectPropertys for all
ElkObjectPropertys occurring in the ontology.public Collection<IndexedObjectProperty> getReflexiveObjectProperties()
getReflexiveObjectProperties in interface OntologyIndexIndexedObjectPropertys for all
ElkObjectPropertys occurring in the reflexivity axioms of
the ontology.public IndexedClass getIndexedOwlThing()
OntologyIndexowl:Thing
getIndexedOwlThing in interface OntologyIndexIndexedClass corresponding to owl:Thing. It
is assumed that owl:Thing occurs (i.e., is declared) in
every ontology.public IndexedClass getIndexedOwlNothing()
OntologyIndexowl:Nothing
getIndexedOwlNothing in interface OntologyIndexIndexedClass corresponding to owl:Nothing. It
is assumed that owl:Nothing contains (i.e., is declared)
in every ontology.public IndexedObjectCache getIndexedObjectCache()
getIndexedObjectCache in interface ModifiableOntologyIndexIndexedObjectCache associated with this index; this
is where all IndexedObjects of this OntologyIndex
are storedpublic void addClass(ElkClass newClass)
ModifiableOntologyIndexElkClass to the signature of this
OntologyIndex
addClass in interface ModifiableOntologyIndexnewClass - the ElkClass to be addedpublic void removeClass(ElkClass oldClass)
ModifiableOntologyIndexElkClass from the signature of this
OntologyIndex
removeClass in interface ModifiableOntologyIndexoldClass - the ElkClass to be removedpublic void addNamedIndividual(ElkNamedIndividual newIndividual)
ModifiableOntologyIndexElkNamedIndividual to the signature of this
OntologyIndex
addNamedIndividual in interface ModifiableOntologyIndexnewIndividual - the ElkNamedIndividual to be addedpublic void removeNamedIndividual(ElkNamedIndividual oldIndividual)
ModifiableOntologyIndexElkNamedIndividual from the signature of this
OntologyIndex
removeNamedIndividual in interface ModifiableOntologyIndexoldIndividual - the ElkNamedIndividual to be removedpublic void addContextInitRule(ChainableRule<Context> newRule)
ModifiableOntologyIndexOntologyIndex.
addContextInitRule in interface ModifiableOntologyIndexnewRule - the context initialization rule to be addedOntologyIndex.getContextInitRuleHead()public void removeContextInitRule(ChainableRule<Context> oldRule)
ModifiableOntologyIndexOntologyIndex
removeContextInitRule in interface ModifiableOntologyIndexoldRule - the context initialization rule to be removedOntologyIndex.getContextInitRuleHead()
public void add(IndexedClassExpression target,
ChainableRule<Context> rule)
ModifiableOntologyIndexIndexedClassExpression
add in interface ModifiableOntologyIndextarget - the IndexedClassExpression for which to add the rulerule - the context rule to be added
public void remove(IndexedClassExpression target,
ChainableRule<Context> rule)
ModifiableOntologyIndexIndexedClassExpression
remove in interface ModifiableOntologyIndextarget - the IndexedClassExpression for which to remove the
rulerule - the context rule to be removedpublic void add(IndexedObject newObject)
ModifiableOntologyIndexIndexedObject to this OntologyIndex
add in interface ModifiableOntologyIndexnewObject - the object to be addedpublic void remove(IndexedObject oldObject)
ModifiableOntologyIndexIndexedObject from this OntologyIndex
remove in interface ModifiableOntologyIndexoldObject - the object to be removedpublic void addReflexiveProperty(IndexedObjectProperty property)
ModifiableOntologyIndexIndexedObjectProperty
addReflexiveProperty in interface ModifiableOntologyIndexproperty - the IndexedObjectProperty which should be asserted
reflexivepublic void removeReflexiveProperty(IndexedObjectProperty property)
ModifiableOntologyIndexIndexedObjectProperty
removeReflexiveProperty in interface ModifiableOntologyIndexproperty - the IndexedObjectProperty which should not be
reflexive anymorepublic Chain<ChainableRule<Context>> getContextInitRuleChain()
Chain view of context initialization rules assigned to
this OntologyIndex; it can be used for inserting new
rules or deleting existing ones
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||