2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf.graph;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2020-07-24 17:21:48 +02:00
|
|
|
import eu.dnetlib.dhp.schema.dump.oaf.Provenance;
|
|
|
|
|
2020-07-20 17:46:27 +02:00
|
|
|
public class Relation implements Serializable {
|
2020-07-24 17:21:48 +02:00
|
|
|
private Node source;
|
|
|
|
private Node target;
|
|
|
|
private RelType reltype;
|
|
|
|
private Provenance provenance;
|
|
|
|
|
|
|
|
public Node getSource() {
|
|
|
|
return source;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSource(Node source) {
|
|
|
|
this.source = source;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Node getTarget() {
|
|
|
|
return target;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTarget(Node target) {
|
|
|
|
this.target = target;
|
|
|
|
}
|
|
|
|
|
|
|
|
public RelType getReltype() {
|
|
|
|
return reltype;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setReltype(RelType reltype) {
|
|
|
|
this.reltype = reltype;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Provenance getProvenance() {
|
|
|
|
return provenance;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setProvenance(Provenance provenance) {
|
|
|
|
this.provenance = provenance;
|
|
|
|
}
|
2020-07-20 17:46:27 +02:00
|
|
|
}
|