eu.larkc.core.data.workflow
Class GraphNode

java.lang.Object
  extended by eu.larkc.core.data.workflow.GraphNode

public class GraphNode
extends java.lang.Object

This class represents a node in a workflow graph.

Author:
norlan

Constructor Summary
GraphNode(org.openrdf.model.URI uri, java.lang.String pluginID)
          Custom constructor which takes an URI and the plugin id as parameters.
 
Method Summary
 java.lang.String getPluginID()
          Getter.
 org.openrdf.model.URI getUri()
          Getter.
 void setPluginID(java.lang.String pluginID)
          Setter.
 void setUri(org.openrdf.model.URI uri)
          Setter.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphNode

public GraphNode(org.openrdf.model.URI uri,
                 java.lang.String pluginID)
Custom constructor which takes an URI and the plugin id as parameters.

Parameters:
uri - uri of the node
pluginID - id of the plugin which refers to this node
Method Detail

getPluginID

public java.lang.String getPluginID()
Getter. Retrieves the pluginID.

Returns:
the pluginID

setPluginID

public void setPluginID(java.lang.String pluginID)
Setter. Sets or updates the pluginID to the passed value.

Parameters:
pluginID - the pluginID to set

getUri

public org.openrdf.model.URI getUri()
Getter. Retrieves the uri.

Returns:
the uri

setUri

public void setUri(org.openrdf.model.URI uri)
Setter. Sets or updates the uri to the passed value.

Parameters:
uri - the uri to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object