net.sourceforge.fluxion.runcible.graph
Class ValueEdge

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

public class ValueEdge
extends AbstractEdge
implements OWLEdge

An edge representing some value property. This type of edge is used when a value is stated to exist in the target ontology, for some selected group of values from the source ontology. This edge can be used for either object property values or data property values.

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

Constructor Summary
ValueEdge()
           
 
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

ValueEdge

public ValueEdge()
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.