net.sourceforge.fluxion.runcible.graph
Class OWLMappingNode

java.lang.Object
  extended by net.sourceforge.fluxion.graph.AbstractNode
      extended by net.sourceforge.fluxion.runcible.graph.OWLMappingNode
All Implemented Interfaces:
Node, MappingNode, OWLNode
Direct Known Subclasses:
DataConstantNode, DataValueNode, IndividualNode, MemberOfNode, ObjectValueNode, RestrictedNode, WalkedToDataNode, WalkedToObjectNode

public abstract class OWLMappingNode
extends AbstractNode
implements OWLNode, MappingNode

Javadocs go here.

Version:
1.0
Author:
Tony Burdett

Field Summary
protected  org.semanticweb.owl.model.OWLObject owlObject
           
 
Constructor Summary
OWLMappingNode()
           
 
Method Summary
 void addMapping(MappingNode node)
          Add the identifier of a node that this node maps to
 java.util.Set<MappingNode> getMappings()
          Returns the set of identifiers of all nodes that this node maps to.
 org.semanticweb.owl.model.OWLObject getOWLObject()
          Return the RDFResource object that describes this node.
 void removeMapping(MappingNode node)
          Remove a mapping, using the identifier or the node this node maps to
 
Methods inherited from class net.sourceforge.fluxion.graph.AbstractNode
accept, getLabel, setLabel
 
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.runcible.graph.OWLNode
setOWLObject
 
Methods inherited from interface net.sourceforge.fluxion.graph.Node
accept, getLabel, setLabel
 

Field Detail

owlObject

protected org.semanticweb.owl.model.OWLObject owlObject
Constructor Detail

OWLMappingNode

public OWLMappingNode()
Method Detail

getOWLObject

public org.semanticweb.owl.model.OWLObject getOWLObject()
Description copied from interface: OWLNode
Return the RDFResource object that describes this node.

Specified by:
getOWLObject in interface OWLNode
Returns:
the RDFResource this node represents

addMapping

public void addMapping(MappingNode node)
Description copied from interface: MappingNode
Add the identifier of a node that this node maps to

Specified by:
addMapping in interface MappingNode
Parameters:
node - the MappingNode to add a mapping to

removeMapping

public void removeMapping(MappingNode node)
Description copied from interface: MappingNode
Remove a mapping, using the identifier or the node this node maps to

Specified by:
removeMapping in interface MappingNode
Parameters:
node - the MappingNode to remove a mapping from

getMappings

public java.util.Set<MappingNode> getMappings()
Description copied from interface: MappingNode
Returns the set of identifiers of all nodes that this node maps to. As this node has no knowledge of other graphs, these nodes should then be looked up in the graph mapped to.

Specified by:
getMappings in interface MappingNode
Returns:
the set of identifiers


Copyright © 2010. All Rights Reserved.