dnet-hadoop/dhp-schemas/src/main/java/eu/dnetlib/dhp/schema/dli/Relation.java

53 lines
921 B
Java
Raw Normal View History

2019-11-14 10:34:09 +01:00
package eu.dnetlib.dhp.schema.dli;
import java.io.Serializable;
import java.util.List;
public class Relation implements Serializable {
/**
*
*/
private static final long serialVersionUID = -9103706796710618813L;
2019-11-14 10:34:09 +01:00
private String source;
2019-11-14 10:34:09 +01:00
private String target;
2019-11-14 10:34:09 +01:00
private List<Provenance> provenance;
2019-11-14 10:34:09 +01:00
private RelationSemantic semantic;
2019-11-14 10:34:09 +01:00
public String getSource() {
return source;
}
2019-11-14 10:34:09 +01:00
public void setSource(final String source) {
this.source = source;
}
2019-11-14 10:34:09 +01:00
public String getTarget() {
return target;
}
2019-11-14 10:34:09 +01:00
public void setTarget(final String target) {
this.target = target;
}
2019-11-14 10:34:09 +01:00
public List<Provenance> getProvenance() {
return provenance;
}
2019-11-14 10:34:09 +01:00
public void setProvenance(final List<Provenance> provenance) {
this.provenance = provenance;
}
2019-11-14 10:34:09 +01:00
public RelationSemantic getSemantic() {
return semantic;
}
public void setSemantic(final RelationSemantic semantic) {
this.semantic = semantic;
}
2019-11-14 10:34:09 +01:00
}