forked from D-Net/dnet-hadoop
30 lines
519 B
Java
30 lines
519 B
Java
package eu.dnetlib.dhp.graph;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class Tuple implements Serializable {
|
|
|
|
private TypedRow relation;
|
|
|
|
private TypedRow target;
|
|
|
|
|
|
public TypedRow getRelation() {
|
|
return relation;
|
|
}
|
|
|
|
public Tuple setRelation(TypedRow relation) {
|
|
this.relation = relation;
|
|
return this;
|
|
}
|
|
|
|
public TypedRow getTarget() {
|
|
return target;
|
|
}
|
|
|
|
public Tuple setTarget(TypedRow target) {
|
|
this.target = target;
|
|
return this;
|
|
}
|
|
}
|