33 lines
790 B
Java
33 lines
790 B
Java
package eu.eudat.proxy.config.entities;
|
|
|
|
import eu.eudat.proxy.config.FetchStrategy;
|
|
import eu.eudat.proxy.config.UrlConfig;
|
|
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlElementWrapper;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Created by ikalyvas on 1/17/2018.
|
|
*/
|
|
public class DatasetUrls {
|
|
List<UrlConfig> urls;
|
|
FetchStrategy fetchMode;
|
|
|
|
public List<UrlConfig> getUrls() {
|
|
return urls;
|
|
}
|
|
@XmlElementWrapper
|
|
@XmlElement(name = "urlConfig")
|
|
public void setUrls(List<UrlConfig> urls) {
|
|
this.urls = urls;
|
|
}
|
|
public FetchStrategy getFetchMode() {
|
|
return fetchMode;
|
|
}
|
|
@XmlElement(name = "fetchMode")
|
|
public void setFetchMode(FetchStrategy fetchMode) {
|
|
this.fetchMode = fetchMode;
|
|
}
|
|
}
|