public class Link
extends java.lang.Object
Red (johnr) |
Red (eal) |
Constructor and Description |
---|
Link() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getHead()
Return the head of this link.
|
ComponentRelation |
getRelation()
Return the relation that this link represents.
|
java.lang.Object |
getTail()
Return the tail of this link.
|
void |
setHead(java.lang.Object head)
Set the head of this link.
|
void |
setRelation(ComponentRelation relation)
Set the relation for this link.
|
void |
setTail(java.lang.Object tail)
Set the tail of this link.
|
java.lang.String |
toString()
Return a string representation of this link.
|
public java.lang.Object getHead()
setHead(Object)
public ComponentRelation getRelation()
setRelation(ComponentRelation)
public java.lang.Object getTail()
setTail(Object)
public void setHead(java.lang.Object head)
head
- The head.getHead()
public void setRelation(ComponentRelation relation)
relation
- The relation.getRelation()
public void setTail(java.lang.Object tail)
tail
- The tail.getTail()
public java.lang.String toString()
toString
in class java.lang.Object