argos/dmp-backend/web/src/main/java/eu/eudat/proxy/config/entities/OrganisationUrls.java

35 lines
755 B
Java
Raw Normal View History

2017-12-15 00:01:26 +01:00
package eu.eudat.proxy.config.entities;
2017-11-20 18:01:19 +01:00
2018-02-16 11:34:02 +01:00
import eu.eudat.proxy.config.FetchStrategy;
import eu.eudat.proxy.config.UrlConfig;
2017-11-20 18:01:19 +01:00
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
2018-02-16 11:34:02 +01:00
import java.util.List;
2017-11-20 18:01:19 +01:00
public class OrganisationUrls {
2018-02-16 11:34:02 +01:00
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;
}
2017-11-20 18:01:19 +01:00
}