|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectscone.robot.RobotLink
public class RobotLink
A robotLink is a normal link object with a set of attributes. There can be many robotLinks for one link object
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 |
---|
public RobotLink(Link link)
link
- the link this robotLink belongs toMethod Detail |
---|
public Link getLink()
public void setLink(Link link)
link
- the linkpublic java.lang.String getAttribute(java.lang.String key)
key
- This key identifies one attribute
public void setAttribute(java.lang.String key, java.lang.String value)
key
- The name of the attributevalue
- The value of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |