net.sourceforge.fluxion.runcible.graph
Class WalkEdge

java.lang.Object
  extended by net.sourceforge.fluxion.graph.AbstractEdge
      extended by net.sourceforge.fluxion.runcible.graph.WalkEdge
All Implemented Interfaces:
Edge, OWLEdge

public class WalkEdge
extends AbstractEdge
implements OWLEdge

An edge representing a walk operation down a property. A WalkEdge conveys implied information onto the child node. So, for example, if we have some node, "?f" representing the individuals from some class, "Foo" and define a WalkEdge "has_bar", the child node implicitly has a supertype that is the source of the property "has_bar".

Version:
0.1
Author:
Tony Burdett
See Also:
Graph, Node

Constructor Summary
WalkEdge()
           
 
Method Summary
 org.semanticweb.owl.model.OWLProperty getOWLProperty()
          Return the owl property represented by this edge.
 void setOWLProperty(org.semanticweb.owl.model.OWLProperty owlProperty)
          Set the OWLProperty that this edge represents.
 
Methods inherited from class net.sourceforge.fluxion.graph.AbstractEdge
accept, getHeadNode, getLabel, getTailNode, setHeadNode, setLabel, setTailNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.fluxion.graph.Edge
accept, getHeadNode, getLabel, getTailNode, setHeadNode, setLabel, setTailNode
 

Constructor Detail

WalkEdge

public WalkEdge()
Method Detail

setOWLProperty

public void setOWLProperty(org.semanticweb.owl.model.OWLProperty owlProperty)
Description copied from interface: OWLEdge
Set the OWLProperty that this edge represents. This would normally be a named owl datatype or object property, depending on the values being selected when navigating along this edge. For some implementations, you would not expect to call this: for example, if the edge represents nesting alone (and therefore doesn't correspond to a property at all).

Specified by:
setOWLProperty in interface OWLEdge
Parameters:
owlProperty - the owlProperty to represent this edge

getOWLProperty

public org.semanticweb.owl.model.OWLProperty getOWLProperty()
Description copied from interface: OWLEdge
Return the owl property represented by this edge. Some edges do not expect to have a property they correspond to (in the case of edges representing nesting of nodes within the scope of other nodes). For this reason, it is legal for Edge implementations to return null when this method is called.

Specified by:
getOWLProperty in interface OWLEdge
Returns:
the owl property


Copyright © 2010. All Rights Reserved.