2020-01-21 16:35:44 +01:00
|
|
|
package eu.dnetlib.dhp.graph;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2020-01-29 15:40:33 +01:00
|
|
|
public class TupleWrapper implements Serializable {
|
2020-01-21 16:35:44 +01:00
|
|
|
|
|
|
|
private TypedRow relation;
|
|
|
|
|
|
|
|
private TypedRow target;
|
|
|
|
|
2020-01-24 08:17:53 +01:00
|
|
|
|
2020-01-21 16:35:44 +01:00
|
|
|
public TypedRow getRelation() {
|
|
|
|
return relation;
|
|
|
|
}
|
|
|
|
|
2020-01-29 15:40:33 +01:00
|
|
|
public TupleWrapper setRelation(TypedRow relation) {
|
2020-01-21 16:35:44 +01:00
|
|
|
this.relation = relation;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
|
|
|
public TypedRow getTarget() {
|
|
|
|
return target;
|
|
|
|
}
|
|
|
|
|
2020-01-29 15:40:33 +01:00
|
|
|
public TupleWrapper setTarget(TypedRow target) {
|
2020-01-21 16:35:44 +01:00
|
|
|
this.target = target;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|