From ed6649d618910e367330306f3dde39d09d3b1f80 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Fri, 20 Jan 2017 18:15:20 +0000 Subject: [PATCH] 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 --- .../user/td/gwtservice/server/SDMXClient.java | 37 +++++++++++++++++-- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SDMXClient.java b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SDMXClient.java index 89ea28d..f170eb0 100644 --- a/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SDMXClient.java +++ b/src/main/java/org/gcube/portlets/user/td/gwtservice/server/SDMXClient.java @@ -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 + "]"; + } + + }