org.semanticweb.elk.reasoner.taxonomy
Class OrphanInstanceNode<T extends ElkObject,I extends ElkObject>
java.lang.Object
org.semanticweb.elk.reasoner.taxonomy.OrphanNode<I>
org.semanticweb.elk.reasoner.taxonomy.OrphanInstanceNode<T,I>
- Type Parameters:
T - the type of objects in this nodeI - the type of instances of this node
- All Implemented Interfaces:
- InstanceNode<T,I>, Node<I>, TaxonomyNode<I>
public class OrphanInstanceNode<T extends ElkObject,I extends ElkObject>
- extends OrphanNode<I>
- implements InstanceNode<T,I>
An OrphanNode with one member type node
- Author:
- "Yevgeny Kazakov"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrphanInstanceNode
public OrphanInstanceNode(Set<I> instances,
I canonicalInstance,
OrphanTypeNode<T,I> typeNode)
getDirectTypeNodes
public Set<? extends OrphanTypeNode<T,I>> getDirectTypeNodes()
- Description copied from interface:
InstanceNode
- Get an unmodifiable set of nodes for ElkObjects that are direct types of
this Node.
Get an unmodifiable set of
TypeNodes of which the members of this
InstanceNode are direct instances. A member is a direct instance
of a TypeNode if it is an instance of the TypeNode and
not an instance of any sub-node of a TypeNode.
- Specified by:
getDirectTypeNodes in interface InstanceNode<T extends ElkObject,I extends ElkObject>
- Returns:
- nodes for direct types of this node's members
getAllTypeNodes
public Set<? extends OrphanTypeNode<T,I>> getAllTypeNodes()
- Description copied from interface:
InstanceNode
- Get an unmodifiable set of
TypeNodes of which the members of this
InstanceNode are (possibly indirect) instances.
- Specified by:
getAllTypeNodes in interface InstanceNode<T extends ElkObject,I extends ElkObject>
- Returns:
- list of nodes for instances of this node's members
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.