public class Link
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String |
alias |
|
private Server |
dest |
|
private int |
id |
|
private Server |
src |
Modifier | Constructor | Description |
---|---|---|
protected |
Link(int id,
java.lang.String alias,
Server source,
Server destination) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getAlias() |
|
Server |
getDest() |
|
int |
getId() |
|
Server |
getSource() |
|
int |
hashCode() |
|
void |
setAlias(java.lang.String alias) |
|
java.lang.String |
toExtendedString() |
|
java.lang.String |
toShortString() |
|
java.lang.String |
toString() |
private int id
private java.lang.String alias
private Server src
private Server dest
public Server getSource()
public Server getDest()
public int getId()
public java.lang.String getAlias()
public void setAlias(java.lang.String alias)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toShortString()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toExtendedString()