net.sourceforge.fluxion.runcible.graph
Class RestrictedNode
java.lang.Object
net.sourceforge.fluxion.graph.AbstractNode
net.sourceforge.fluxion.runcible.graph.OWLMappingNode
net.sourceforge.fluxion.runcible.graph.RestrictedNode
- All Implemented Interfaces:
- Node, MappingNode, OWLNode
public class RestrictedNode
- extends OWLMappingNode
A node which is described as the set of individuals which are members of an
anonymous owl class, made up of some given restrictions, which may be
specified by the user. This class enables the user to formulate new classes
of individuals from a known owl named class and the variables in the scope of
the current node. So for example, if we declare a parent node, FOR ALL [?f]
IN [Foo]; and then a child node, FOR ALL [?b] in [bar]; we could add a
restriction to ?b, say ?b has_foo ?f, as long as ?b is related to ?f by a
nested relationship (so, a NestedEdge
).
The OWLObject
type for a RestrictedNode
must be an
OWLDescription
.
- Version:
- 0.1
- Author:
- Tony Burdett
- See Also:
Graph
,
Edge
Method Summary |
void |
setOWLObject(org.semanticweb.owl.model.OWLObject owlObject)
For a RestrictedNode, this method should set the parent class that
restrictions can be added to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestrictedNode
public RestrictedNode()
setOWLObject
public void setOWLObject(org.semanticweb.owl.model.OWLObject owlObject)
throws UnsupportedTypeException
- For a RestrictedNode, this method should set the parent class that
restrictions can be added to. addRestriction() should then be called to
improve the class.
- Parameters:
owlObject
- the OWLDescription that constitutes the new anonymous
class description
- Throws:
UnsupportedTypeException
Copyright © 2010. All Rights Reserved.