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 + "]"; + } + + }