34 lines
598 B
Java
34 lines
598 B
Java
package eu.dnetlib.dhp.schema.solr;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class Pid implements Serializable {
|
|
|
|
private String type;
|
|
|
|
private String value;
|
|
|
|
public static Pid newInstance(String type, String value) {
|
|
Pid p = new Pid();
|
|
p.setType(type);
|
|
p.setValue(value);
|
|
return p;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getValue() {
|
|
return value;
|
|
}
|
|
|
|
public void setValue(String value) {
|
|
this.value = value;
|
|
}
|
|
}
|