org.semanticweb.elk.reasoner.indexing.hierarchy
Class IndexedSubClassOfAxiom.ThisCompositionRule
java.lang.Object
org.semanticweb.elk.util.collections.chains.ModifiableLinkImpl<ChainableRule<Context>>
org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedSubClassOfAxiom.ThisCompositionRule
- All Implemented Interfaces:
- ChainableRule<Context>, LinkRule<Context>, Rule<Context>, Chainable<ChainableRule<Context>>, Link<LinkRule<Context>>, ModifiableLink<ChainableRule<Context>>
- Enclosing class:
- IndexedSubClassOfAxiom
public static class IndexedSubClassOfAxiom.ThisCompositionRule
- extends ModifiableLinkImpl<ChainableRule<Context>>
- implements ChainableRule<Context>
| Methods inherited from interface org.semanticweb.elk.util.collections.chains.Link |
next |
getToldSuperclasses
public Collection<IndexedClassExpression> getToldSuperclasses()
getName
public String getName()
- Specified by:
getName in interface Rule<Context>
- Returns:
- the name of this rule
apply
public void apply(BasicSaturationStateWriter writer,
Context context)
- Description copied from interface:
Rule
- Applying the rule to an element within a
BasicSaturationStateWriter
- Specified by:
apply in interface Rule<Context>
- Parameters:
writer - a BasicSaturationStateWriter which could be changed as a
result of this rule's applicationcontext - the element to which the rule is applied
addTo
public boolean addTo(Chain<ChainableRule<Context>> ruleChain)
- Specified by:
addTo in interface Chainable<ChainableRule<Context>>
removeFrom
public boolean removeFrom(Chain<ChainableRule<Context>> ruleChain)
- Specified by:
removeFrom in interface Chainable<ChainableRule<Context>>
accept
public void accept(RuleApplicationVisitor visitor,
BasicSaturationStateWriter writer,
Context context)
- Specified by:
accept in interface LinkRule<Context>
addToldSuperClassExpression
protected boolean addToldSuperClassExpression(IndexedClassExpression superClassExpression)
removeToldSuperClassExpression
protected boolean removeToldSuperClassExpression(IndexedClassExpression superClassExpression)
- Parameters:
superClassExpression -
- Returns:
- true if successfully removed
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.