org.semanticweb.elk.reasoner.taxonomy.model
Interface InstanceNode<T extends ElkObject,I extends ElkObject>

Type Parameters:
T - the type of objects in this node
I - the type of instances in this node
All Superinterfaces:
Node<I>
All Known Subinterfaces:
UpdateableInstanceNode<T,I>
All Known Implementing Classes:
FreshInstanceNode, IndividualNode, OrphanInstanceNode

public interface InstanceNode<T extends ElkObject,I extends ElkObject>
extends Node<I>

A node of instances in an InstanceTaxonomy.

Author:
Frantisek Simancik, "Yevgeny Kazakov"

Method Summary
 Set<? extends TypeNode<T,I>> getAllTypeNodes()
          Get an unmodifiable set of TypeNodes of which the members of this InstanceNode are (possibly indirect) instances.
 Set<? extends TypeNode<T,I>> getDirectTypeNodes()
          Get an unmodifiable set of nodes for ElkObjects that are direct types of this Node.
 
Methods inherited from interface org.semanticweb.elk.reasoner.taxonomy.model.Node
getCanonicalMember, getMembers
 

Method Detail

getDirectTypeNodes

Set<? extends TypeNode<T,I>> getDirectTypeNodes()
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.

Returns:
nodes for direct types of this node's members

getAllTypeNodes

Set<? extends TypeNode<T,I>> getAllTypeNodes()
Get an unmodifiable set of TypeNodes of which the members of this InstanceNode are (possibly indirect) instances.

Returns:
list of nodes for instances of this node's members


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.