2020-07-24 17:23:57 +02:00
|
|
|
|
2020-07-20 17:46:27 +02:00
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
2020-08-13 17:05:06 +02:00
|
|
|
/**
|
|
|
|
* To represent keywords associated to the result. It has two parameters:
|
|
|
|
* - subject of type eu.dnetlib.dhp.schema.dump.oaf.ControlledField to describe the subject. It mapped as:
|
|
|
|
* - schema it corresponds to qualifier.classid of the dumped subject
|
|
|
|
* - value it corresponds to the subject value
|
|
|
|
* - provenance of type eu.dnetlib.dhp.schema.dump.oaf.Provenance to represent the provenance of the subject.
|
|
|
|
* It is dumped only if dataInfo is not null. In this case:
|
|
|
|
* - provenance corresponds to dataInfo.provenanceaction.classname
|
|
|
|
* - trust corresponds to dataInfo.trust
|
|
|
|
*/
|
2020-07-20 17:46:27 +02:00
|
|
|
public class Subject implements Serializable {
|
2020-07-24 17:23:57 +02:00
|
|
|
private ControlledField subject;
|
|
|
|
private Provenance provenance;
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:23:57 +02:00
|
|
|
public ControlledField getSubject() {
|
|
|
|
return subject;
|
|
|
|
}
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:23:57 +02:00
|
|
|
public void setSubject(ControlledField subject) {
|
|
|
|
this.subject = subject;
|
|
|
|
}
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:23:57 +02:00
|
|
|
public Provenance getProvenance() {
|
|
|
|
return provenance;
|
|
|
|
}
|
2020-07-20 17:46:27 +02:00
|
|
|
|
2020-07-24 17:23:57 +02:00
|
|
|
public void setProvenance(Provenance provenance) {
|
|
|
|
this.provenance = provenance;
|
|
|
|
}
|
2020-07-20 17:46:27 +02:00
|
|
|
|
|
|
|
}
|