root/tools/routingservice/branches/wrs-2.0/src/model/Service.java

Revision 348, 1.8 KB (checked in by anton, 14 months ago)

Parameters overriding fixed, now there is no need to restart WRS when profiles are changed

Line 
1/*  WRS 2.0
2 *  Copyright (C) 2009 Anton Patrushev
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18package model;
19
20import java.io.Serializable;
21import java.util.HashMap;
22
23import util.Parameter;
24
25public class Service implements Serializable
26{
27        private String name;
28        private String title;
29        private String description;
30
31        private HashMap<String, Parameter> in;
32        private HashMap<String, Parameter> out;
33       
34        private HashMap<String, Template> templates;
35
36        public Service(String name)
37        {
38                super();
39                this.name = name;
40                this.in = new HashMap<String, Parameter>();
41                this.out = new HashMap<String, Parameter>();
42                this.templates = new HashMap<String, Template>();
43        }
44
45        public String getName()
46        {
47                return name;
48        }
49
50        public void setName(String name)
51        {
52                this.name = name;
53        }
54
55        public String getTitle()
56        {
57                return title;
58        }
59
60        public void setTitle(String title)
61        {
62                this.title = title;
63        }
64
65        public String getDescription()
66        {
67                return description;
68        }
69
70        public void setDescription(String description)
71        {
72                this.description = description;
73        }
74
75        public HashMap<String, Parameter> getIn()
76        {
77                return in;
78        }
79
80        public HashMap<String, Parameter> getOut()
81        {
82                return out;
83        }
84
85        public HashMap<String, Template> getTemplates()
86        {
87                return templates;
88        }
89
90}
Note: See TracBrowser for help on using the browser.