2017-12-15 00:01:26 +01:00
|
|
|
package eu.eudat.proxy.config;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
|
|
|
2017-11-21 17:29:16 +01:00
|
|
|
//private static String DATAPATH = "$['data'][*]['attributes']['pid','name','uri','description']";
|
|
|
|
//private static String PAGINATIONPATH = "$['meta']['pagination']['page','pages','count']";
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
public class UrlConfig {
|
|
|
|
|
|
|
|
private Integer ordinal;
|
2017-11-21 17:29:16 +01:00
|
|
|
private String url;
|
|
|
|
private String dataPath;
|
|
|
|
private String paginationPath;
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
|
2017-11-21 17:29:16 +01:00
|
|
|
public String getUrl() {
|
2017-11-20 18:01:19 +01:00
|
|
|
return url;
|
|
|
|
}
|
|
|
|
|
|
|
|
@XmlElement(name = "url")
|
2017-11-21 17:29:16 +01:00
|
|
|
public void setUrl(String url) {
|
2017-11-20 18:01:19 +01:00
|
|
|
this.url = url;
|
|
|
|
}
|
|
|
|
public Integer getOrdinal() {
|
|
|
|
return ordinal;
|
|
|
|
}
|
|
|
|
@XmlElement(name = "ordinal")
|
|
|
|
public void setOrdinal(Integer ordinal) {
|
|
|
|
this.ordinal = ordinal;
|
|
|
|
}
|
2017-11-21 17:29:16 +01:00
|
|
|
|
|
|
|
public String getDataPath() {
|
|
|
|
return dataPath;
|
|
|
|
}
|
|
|
|
@XmlElement(name = "datapath")
|
|
|
|
public void setDataPath(String dataPath) {
|
|
|
|
this.dataPath = dataPath;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getPaginationPath() {
|
|
|
|
return paginationPath;
|
|
|
|
}
|
|
|
|
@XmlElement(name = "paginationpath")
|
|
|
|
public void setPaginationPath(String paginationPath) {
|
|
|
|
this.paginationPath = paginationPath;
|
|
|
|
}
|
2017-11-20 18:01:19 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|