|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.indexing.hierarchy.IndexedObject
org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedClassExpression
org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedClassEntity
org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedClass
public class IndexedClass
Represents all occurrences of an ElkClass in an ontology.
| Nested Class Summary | |
|---|---|
static class |
IndexedClass.OwlThingContextInitializationRule
Adds owl:Thing to the context. |
| Field Summary | |
|---|---|
protected ElkClass |
elkClass
The indexed ElkClass |
protected static org.apache.log4j.Logger |
LOGGER_
|
protected int |
occurrenceNo
This counts how many times this object occurred in the ontology. |
| Constructor Summary | |
|---|---|
protected |
IndexedClass(ElkClass elkClass)
Creates an object representing the given ElkClass. |
| Method Summary | ||
|---|---|---|
void |
accept(DecompositionRuleApplicationVisitor visitor,
Context context)
|
|
|
accept(IndexedClassEntityVisitor<O> visitor)
|
|
|
accept(IndexedClassVisitor<O> visitor)
|
|
void |
checkOccurrenceNumbers()
verifies that occurrence numbers are not negative |
|
ElkClass |
getElkClass()
|
|
boolean |
occurs()
This method should always return true apart from intermediate steps during the indexing. |
|
String |
printOccurrenceNumbers()
|
|
String |
toStringStructural()
|
|
protected void |
updateOccurrenceNumbers(ModifiableOntologyIndex index,
int increment,
int positiveIncrement,
int negativeIncrement)
Non-recursively. |
|
| Methods inherited from class org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedClassEntity |
|---|
accept |
| Methods inherited from class org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedClassExpression |
|---|
accept, compareTo, getCompositionRuleHead, getContext, hashCode, occursNegatively, occursPositively, resetContext, setContext |
| Methods inherited from class org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger LOGGER_
protected final ElkClass elkClass
protected int occurrenceNo
| Constructor Detail |
|---|
protected IndexedClass(ElkClass elkClass)
| Method Detail |
|---|
public ElkClass getElkClass()
public <O> O accept(IndexedClassVisitor<O> visitor)
public <O> O accept(IndexedClassEntityVisitor<O> visitor)
accept in class IndexedClassEntity
protected void updateOccurrenceNumbers(ModifiableOntologyIndex index,
int increment,
int positiveIncrement,
int negativeIncrement)
IndexedClassExpression
public String printOccurrenceNumbers()
printOccurrenceNumbers in class IndexedClassExpressionIndexedClassExpressionpublic void checkOccurrenceNumbers()
IndexedClassExpression
checkOccurrenceNumbers in class IndexedClassExpressionpublic boolean occurs()
IndexedClassExpression
occurs in class IndexedClassExpression
public void accept(DecompositionRuleApplicationVisitor visitor,
Context context)
accept in class IndexedClassExpressionpublic String toStringStructural()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||