package org.gcube.portlets.user.dataminermanagertester.shared.config; import java.io.Serializable; /** * * @author Giancarlo Panichi * * */ public class DMConfig implements Serializable { private static final long serialVersionUID = 4251753074961060428L; private String dm; private String token; private String protocol; private String testType; public DMConfig() { super(); ***REMOVED*** public DMConfig(String dm, String token, String protocol, String testType) { super(); this.dm = dm; this.token = token; this.protocol = protocol; this.testType = testType; ***REMOVED*** public String getDm() { return dm; ***REMOVED*** public void setDm(String dm) { this.dm = dm; ***REMOVED*** public String getDmUrl() { String url = null; if (protocol != null && dm != null) { url = new String(protocol + "://" + dm + "/wps/"); ***REMOVED*** return url; ***REMOVED*** public String getToken() { return token; ***REMOVED*** public void setToken(String token) { this.token = token; ***REMOVED*** public String getProtocol() { return protocol; ***REMOVED*** public void setProtocol(String protocol) { this.protocol = protocol; ***REMOVED*** public String getTestType() { return testType; ***REMOVED*** public void setTestType(String testType) { this.testType = testType; ***REMOVED*** @Override public String toString() { return "DMConfig [dm=" + dm + ", token=" + token + ", protocol=" + protocol + ", testType=" + testType + "]"; ***REMOVED*** ***REMOVED***