23 lines
536 B
Java
23 lines
536 B
Java
package eu.dnetlib.ariadneplus.elasticsearch.model;
|
|
|
|
import com.google.gson.Gson;
|
|
|
|
public class ItemMetadataStructure {
|
|
private String characterSet = new String("");
|
|
|
|
public String getCharacterSet() {
|
|
return characterSet;
|
|
}
|
|
|
|
public void setCharacterSet(String characterSet) {
|
|
this.characterSet = characterSet;
|
|
}
|
|
|
|
public ItemMetadataStructure() {
|
|
}
|
|
|
|
private static ItemMetadataStructure fromJson(String json){
|
|
return new Gson().fromJson(json, ItemMetadataStructure.class);
|
|
}
|
|
}
|