scone.robot
Class RobotLink

java.lang.Object
  extended by scone.robot.RobotLink

public class RobotLink
extends java.lang.Object

A robotLink is a normal link object with a set of attributes. There can be many robotLinks for one link object

Author:
Frank Wollenweber

Constructor Summary
RobotLink(Link link)
          Constructor
 
Method Summary
 java.lang.String getAttribute(java.lang.String key)
          Get the value of the specified attribute
 Link getLink()
          Get the link
 void setAttribute(java.lang.String key, java.lang.String value)
          Set the value of the specified attribute
 void setLink(Link link)
          set the link
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RobotLink

public RobotLink(Link link)
Constructor

Parameters:
link - the link this robotLink belongs to
Method Detail

getLink

public Link getLink()
Get the link

Returns:
the link

setLink

public void setLink(Link link)
set the link

Parameters:
link - the link

getAttribute

public java.lang.String getAttribute(java.lang.String key)
Get the value of the specified attribute

Parameters:
key - This key identifies one attribute
Returns:
The value of the attribute

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.String value)
Set the value of the specified attribute

Parameters:
key - The name of the attribute
value - The value of the attribute