Revision 348, 1.2 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 | |
---|
18 | package model; |
---|
19 | |
---|
20 | import java.io.Serializable; |
---|
21 | |
---|
22 | public class Template implements Serializable |
---|
23 | { |
---|
24 | private String body; |
---|
25 | private String name; |
---|
26 | private String format; |
---|
27 | |
---|
28 | |
---|
29 | public Template(String name, String format) |
---|
30 | { |
---|
31 | super(); |
---|
32 | this.name = name; |
---|
33 | this.format = format; |
---|
34 | } |
---|
35 | |
---|
36 | public String getBody() |
---|
37 | { |
---|
38 | return body; |
---|
39 | } |
---|
40 | |
---|
41 | public void setBody(String body) |
---|
42 | { |
---|
43 | this.body = body; |
---|
44 | } |
---|
45 | |
---|
46 | public String getName() |
---|
47 | { |
---|
48 | return name; |
---|
49 | } |
---|
50 | |
---|
51 | public String getFormat() |
---|
52 | { |
---|
53 | return format; |
---|
54 | } |
---|
55 | |
---|
56 | } |
---|