fi.paatti.research.paattiapplication.views.eventview.tools
Class NodeFactory.MultiPathNode.NodePath

java.lang.Object
  extended by fi.paatti.research.paattiapplication.views.eventview.tools.NodeFactory.MultiPathNode.NodePath
All Implemented Interfaces:
Serializable
Enclosing class:
NodeFactory.MultiPathNode

public class NodeFactory.MultiPathNode.NodePath
extends Object
implements Serializable

NodePath is used by MultiPathNode (actually RadioNode only) to define different exit paths for the node. A NodePath could be say to act as an instance of the database's table CHOICE, containing settings for a single choice used in tasks that have multiple alternative paths leading to the next tasks.

See Also:
Serialized Form
 

Method Summary
 String getDescription()
          Returns the description.
 NodeFactory.TreeNode getDestinationNode()
          Returns the destination node.
 com.vaadin.data.Property getProperty(String p)
          Returns property s using the BeanItem set in the constructor.
 int getValue()
          Returns the value (points) given.
 void setDescription(String s)
          Sets the description.
 void setDestinationNode(NodeFactory.TreeNode node)
          Sets the destination node.
 void setValue(int v)
          Sets the value (points) given.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setDestinationNode

public void setDestinationNode(NodeFactory.TreeNode node)
Sets the destination node. Used by BeanItem only.

Parameters:
node - new destination node

getDestinationNode

public NodeFactory.TreeNode getDestinationNode()
Returns the destination node. Used by BeanItem only.

Returns:
destination node

setValue

public void setValue(int v)
Sets the value (points) given. Used by BeanItem only.

Parameters:
v - new value

getValue

public int getValue()
Returns the value (points) given. Used by BeanItem only.

Returns:
value

setDescription

public void setDescription(String s)
Sets the description. Used by BeanItem only.

Parameters:
s - new description

getDescription

public String getDescription()
Returns the description. Used by BeanItem only.

Returns:
description

getProperty

public com.vaadin.data.Property getProperty(String p)
Returns property s using the BeanItem set in the constructor.

Parameters:
p - property to look for
Returns:
property found; otherwise null


Copyright © 2012. All Rights Reserved.