enrichment steps #38

Merged
claudio.atzori merged 334 commits from miriam.baglioni/dnet-hadoop:master into enrichment_wfs 2020-08-11 16:40:26 +02:00
1 changed files with 17 additions and 1 deletions
Showing only changes of commit f3dcca0dd0 - Show all commits

View File

@ -1,7 +1,10 @@
package eu.dnetlib.dhp.schema.oaf;
public class Programme {
import java.io.Serializable;
import java.util.Objects;
public class Programme implements Serializable {
private String code;
private String description;
@ -20,4 +23,17 @@ public class Programme {
public void setDescription(String description) {
this.description = description;
}
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Programme programme = (Programme) o;
return Objects.equals(code, programme.code);
}
}