27 lines
585 B
Java
27 lines
585 B
Java
package org.atriasoft.island.model;
|
|
|
|
public class Link {
|
|
private String source;
|
|
private String destination;
|
|
public Link(final String source, final String destination) {
|
|
this.source = source;
|
|
this.destination = destination;
|
|
}
|
|
public Link() {
|
|
this.source = "";
|
|
this.destination = "";
|
|
}
|
|
public String getSource() {
|
|
return this.source;
|
|
}
|
|
public void setSource(final String source) {
|
|
this.source = source;
|
|
}
|
|
public String getDestination() {
|
|
return this.destination;
|
|
}
|
|
public void setDestination(final String destination) {
|
|
this.destination = destination;
|
|
}
|
|
|
|
} |