01: /*
02: * CoadunationAdmin: The admin frontend for coadunation.
03: * Copyright (C) 2007 - 2008 Rift IT Contracting
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2.1 of the License, or (at your option) any later version.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, write to the Free Software
17: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18: *
19: * WebServiceDef.java
20: */
21:
22: // package defintion
23: package com.rift.coad.web.admin.client;
24:
25: // imports
26: import com.google.gwt.user.client.rpc.IsSerializable;
27:
28: /**
29: * The class that contains the web service definition information.
30: *
31: * @author brett chaldecott
32: */
33: public class WebServiceDef implements IsSerializable {
34:
35: // private member variables
36: private String url = null;
37: private String wsdl = null;
38:
39: /**
40: * Creates a new instance of WebServiceDef
41: */
42: public WebServiceDef() {
43: }
44:
45: /**
46: * This constructor is responsible for setting up the url and wsdl.
47: *
48: * @param url The url of the web service.
49: * @param wsdl The wsdl content.
50: */
51: public WebServiceDef(String url, String wsdl) {
52: this .url = url;
53: this .wsdl = wsdl;
54: }
55:
56: /**
57: * This method returns the url of the web service.
58: *
59: * @return The url of the web service.
60: */
61: public String getURL() {
62: return url;
63: }
64:
65: /**
66: * This method returns the url of the web service.
67: *
68: * @param url The url of the web service.
69: */
70: public void setURL(String url) {
71: this .url = url;
72: }
73:
74: /**
75: * This method returns the wsdl of the web service.
76: *
77: * @return The wsdl of the web service.
78: */
79: public String getWSDL() {
80: return wsdl;
81: }
82:
83: /**
84: * The setter for the wsdl value.
85: *
86: * @param wsdl The wsdl value.
87: */
88: public void setWSDL(String wsdl) {
89: this.wsdl = wsdl;
90: }
91: }
|