org.problets.lib.conceptmap.model
Class NodeFeedback

java.lang.Object
  extended by org.problets.lib.conceptmap.model.NodeFeedback

public class NodeFeedback
extends java.lang.Object

Used to store the feedback the user receives when he/she connects two nodes to each other.

Author:
Adrian Maries

Constructor Summary
NodeFeedback(java.lang.String inSourceNode, java.lang.String inTargetNode, java.lang.String inFeedback)
          Creates a NodeFeedback object using the name of the source and target nodes and the feedback the user receives when he/she connects them.
 
Method Summary
 java.lang.String getFeedback()
          Returns the feedback.
 java.lang.String getSourceNode()
          Returns the name of the source node.
 java.lang.String getTargetNode()
          Returns the name of the target node.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFeedback

public NodeFeedback(java.lang.String inSourceNode,
                    java.lang.String inTargetNode,
                    java.lang.String inFeedback)
Creates a NodeFeedback object using the name of the source and target nodes and the feedback the user receives when he/she connects them.

Parameters:
inSourceNode - the source node
inTargetNode - the target node
inFeedback - the feedback
Method Detail

getSourceNode

public java.lang.String getSourceNode()
Returns the name of the source node.

Returns:
the name of the source node

getTargetNode

public java.lang.String getTargetNode()
Returns the name of the target node.

Returns:
the name of the target node

getFeedback

public java.lang.String getFeedback()
Returns the feedback.

Returns:
the feedback

main

public static void main(java.lang.String[] args)