comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultModule.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultModule.java@b5825159250e
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.client.shared.model;
2
3 public class DefaultModule implements Module {
4
5 private String name;
6 private String localname;
7 private boolean selected = false;
8
9 public DefaultModule() {
10 }
11
12 public DefaultModule(String name, String localname, boolean selected) {
13 this.name = name;
14 this.localname = localname;
15 this.selected = selected;
16 }
17
18 /**
19 * Returns the name of the module
20 */
21 public String getName() {
22 return this.name;
23 }
24
25 /**
26 * Returns the localized name of the module
27 */
28 public String getLocalizedName() {
29 return this.localname;
30 }
31
32 /**
33 * Returns true if the module should be selected
34 */
35 public boolean isSelected() {
36 return this.selected;
37 }
38 }
39 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 :

http://dive4elements.wald.intevation.org