2020-05-20 10:27:27 +02:00
|
|
|
|
2020-05-15 18:18:01 +02:00
|
|
|
package eu.dnetlib.dhp.schema.oaf;
|
|
|
|
|
2020-05-27 17:23:34 +02:00
|
|
|
import java.io.Serializable;
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
public class Programme implements Serializable {
|
2020-05-20 10:27:27 +02:00
|
|
|
private String code;
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
return code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCode(String code) {
|
|
|
|
this.code = code;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
return description;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDescription(String description) {
|
|
|
|
this.description = description;
|
|
|
|
}
|
2020-05-27 17:23:34 +02:00
|
|
|
|
|
|
|
@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);
|
|
|
|
}
|
|
|
|
|
2020-05-15 18:18:01 +02:00
|
|
|
}
|