eu.larkc.core.data.workflow
Class WorkflowGraphNode

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

public class WorkflowGraphNode
extends java.lang.Object

This class represents a node of a workflow graph which contains the uri of the node as well as the next and previous nodes.

Author:
norlan

Constructor Summary
WorkflowGraphNode()
          Default constructor.
 
Method Summary
 void addNext(WorkflowGraphNode next)
          Adds the passed value to the next.
 java.util.List<WorkflowGraphNode> getNext()
          Getter.
 org.openrdf.model.URI getUri()
          Getter.
 void setNext(java.util.List<WorkflowGraphNode> next)
          Setter.
 void setUri(org.openrdf.model.URI uri)
          Setter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowGraphNode

public WorkflowGraphNode()
Default constructor.

Method Detail

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

getNext

public java.util.List<WorkflowGraphNode> getNext()
Getter. Retrieves the next nodes.

Returns:
the next

setNext

public void setNext(java.util.List<WorkflowGraphNode> next)
Setter. Sets or updates the next to the passed value.

Parameters:
next - the next to set

addNext

public void addNext(WorkflowGraphNode next)
Adds the passed value to the next.

Parameters:
next - the next to add