org.semanticweb.elk.reasoner.taxonomy.model
Class FreshInstanceNode<T extends ElkObject,I extends ElkObject>
java.lang.Object
org.semanticweb.elk.reasoner.taxonomy.model.FreshNode<I>
org.semanticweb.elk.reasoner.taxonomy.model.FreshInstanceNode<T,I>
- Type Parameters:
T - the types of objects in this nodeI - the type of instances in this node
- All Implemented Interfaces:
- InstanceNode<T,I>, Node<I>
public class FreshInstanceNode<T extends ElkObject,I extends ElkObject>
- extends FreshNode<I>
- implements InstanceNode<T,I>
A fresh InstanceNode containing an object that does not occur in a taxonomy.
Such nodes are returned to queries when FreshEntityPolicy is set to ALLOW.
- Author:
- Frantisek Simancik, "Yevgeny Kazakov"
| Fields inherited from class org.semanticweb.elk.reasoner.taxonomy.model.FreshNode |
member |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taxonomy
protected InstanceTaxonomy<T extends ElkObject,I extends ElkObject> taxonomy
FreshInstanceNode
public FreshInstanceNode(I member,
InstanceTaxonomy<T,I> taxonomy)
getDirectTypeNodes
public Set<? extends TypeNode<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 TypeNode<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.