|
||||||||||
| 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
public abstract class IndexedClassExpression
Represents all occurrences of an ElkClassExpression in an ontology.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
LOGGER_
|
| Constructor Summary | |
|---|---|
IndexedClassExpression()
|
|
| Method Summary | ||
|---|---|---|
abstract void |
accept(DecompositionRuleApplicationVisitor visitor,
Context context)
|
|
abstract
|
accept(IndexedClassExpressionVisitor<O> visitor)
|
|
|
accept(IndexedObjectVisitor<O> visitor)
|
|
void |
checkOccurrenceNumbers()
verifies that occurrence numbers are not negative |
|
int |
compareTo(IndexedClassExpression o)
|
|
LinkRule<Context> |
getCompositionRuleHead()
|
|
Context |
getContext()
|
|
int |
hashCode()
Get an integer hash code to be used for this object. |
|
boolean |
occurs()
This method should always return true apart from intermediate steps during the indexing. |
|
boolean |
occursNegatively()
|
|
boolean |
occursPositively()
|
|
String |
printOccurrenceNumbers()
|
|
void |
resetContext()
Resets the corresponding context to null. |
|
boolean |
setContext(Context context)
Sets the corresponding context if none was yet assigned. |
|
| 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_
| Constructor Detail |
|---|
public IndexedClassExpression()
| Method Detail |
|---|
public boolean occurs()
occurs in class IndexedObjectpublic boolean occursNegatively()
true if the represented class expression occurs
negatively in the ontologypublic boolean occursPositively()
true if the represented class expression occurs
positively in the ontologypublic String printOccurrenceNumbers()
IndexedClassExpressionpublic void checkOccurrenceNumbers()
public Context getContext()
public boolean setContext(Context context)
context - the Context which will be assigned to this
IndexedClassExpression
true if the operation succeeded.public void resetContext()
public final int hashCode()
hashCode in class Objectpublic int compareTo(IndexedClassExpression o)
compareTo in interface Comparable<IndexedClassExpression>public LinkRule<Context> getCompositionRuleHead()
IndexedClassExpression, or null if there no such
rules; all other rules can be obtained by traversing over
Link.next(); this method should be used to access the
rules without modifying them.public <O> O accept(IndexedObjectVisitor<O> visitor)
accept in class IndexedObjectpublic abstract <O> O accept(IndexedClassExpressionVisitor<O> visitor)
public abstract void accept(DecompositionRuleApplicationVisitor visitor,
Context context)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||