Updated to new PortalContext

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@141685 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-01-20 18:15:20 +00:00
parent ce7f0b50d8
commit ed6649d618
1 changed files with 33 additions and 4 deletions

View File

@ -31,9 +31,9 @@ public class SDMXClient {
public static enum TYPE { INTERNAL, ANOTHER }
protected SDMXRegistryClient client;
protected TYPE type;
protected String url;
private SDMXRegistryClient client;
private TYPE type;
private String url;
public SDMXClient(){
type=TYPE.INTERNAL;
@ -77,6 +77,35 @@ public class SDMXClient {
for (AgencyBean agency:beans.getAgencies()) agenciesList.add(new Agencies(agency.getId(), agency.getName(), agency.getDescription()));
return agenciesList;
}
public SDMXRegistryClient getClient() {
return client;
}
public void setClient(SDMXRegistryClient client) {
this.client = client;
}
public TYPE getType() {
return type;
}
public void setType(TYPE type) {
this.type = type;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
@Override
public String toString() {
return "SDMXClient [type=" + type + ", url=" + url + "]";
}
}