org.semanticweb.elk.reasoner.taxonomy.model
Class FreshNode<T extends ElkObject>
java.lang.Object
org.semanticweb.elk.reasoner.taxonomy.model.FreshNode<T>
- Type Parameters:
T - the type of objects in this node
- All Implemented Interfaces:
- Node<T>
- Direct Known Subclasses:
- FreshInstanceNode, FreshTaxonomyNode, FreshTypeNode
public class FreshNode<T extends ElkObject>
- extends Object
- implements Node<T>
A fresh Node 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"
|
Method Summary |
T |
getCanonicalMember()
Get one object to canonically represent the classes in this Node. |
Set<T> |
getMembers()
Get an unmodifiable set of objects that this Node represents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
member
protected final T extends ElkObject member
FreshNode
public FreshNode(T member)
getMembers
public Set<T> getMembers()
- Description copied from interface:
Node
- Get an unmodifiable set of objects that this Node represents. The
membership in this set is checked using the structural equality.
- Specified by:
getMembers in interface Node<T extends ElkObject>
- Returns:
- collection of logically equivalent objects
getCanonicalMember
public T getCanonicalMember()
- Description copied from interface:
Node
- Get one object to canonically represent the classes in this Node.
It is guaranteed that the least object is the least one according to the
ordering defined by PredefinedElkIri.compare().
TODO The above remark is a bit mysterious. Does the interface really make
such guarantees?
- Specified by:
getCanonicalMember in interface Node<T extends ElkObject>
- Returns:
- canonical object
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.