package eu.dnetlib.dhp.schema.solr; import java.io.Serializable; public class Pid implements Serializable { private static final long serialVersionUID = -943684282582228545L; 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; } }