2020-06-09 15:37:46 +02:00
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
package eu.dnetlib.dhp.schema.dump.oaf;
|
2020-06-08 15:11:37 +02:00
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
public class AccessRight extends Qualifier {
|
2020-06-08 15:11:37 +02:00
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
private String scheme;
|
2020-06-08 15:11:37 +02:00
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
public String getScheme() {
|
|
|
|
return scheme;
|
|
|
|
}
|
2020-06-09 15:37:46 +02:00
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
public void setScheme(String scheme) {
|
|
|
|
this.scheme = scheme;
|
|
|
|
}
|
2020-06-09 15:37:46 +02:00
|
|
|
|
2020-06-15 11:06:56 +02:00
|
|
|
public static AccessRight newInstance(String code, String label, String scheme) {
|
|
|
|
AccessRight ar = new AccessRight();
|
|
|
|
ar.setCode(code);
|
|
|
|
ar.setLabel(label);
|
|
|
|
ar.setScheme(scheme);
|
|
|
|
return ar;
|
|
|
|
}
|
2020-06-08 15:11:37 +02:00
|
|
|
}
|