2020-01-28 16:53:59 +01:00
|
|
|
package eu.dnetlib.ariadneplus.elasticsearch.model;
|
|
|
|
|
|
|
|
import com.google.gson.Gson;
|
|
|
|
|
|
|
|
public class Dex {
|
2020-07-08 10:50:14 +02:00
|
|
|
private String characterSet = new String("");
|
|
|
|
private String description = new String("");
|
2020-01-28 16:53:59 +01:00
|
|
|
|
|
|
|
public String getCharacterSet() {
|
|
|
|
return characterSet;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setCharacterSet(String characterSet) {
|
|
|
|
this.characterSet = characterSet;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
return description;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDescription(String description) {
|
|
|
|
this.description = description;
|
|
|
|
}
|
|
|
|
|
|
|
|
public Dex() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static Dex fromJson(String json){
|
|
|
|
return new Gson().fromJson(json,Dex.class);
|
|
|
|
}
|
|
|
|
}
|