comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultModule.java @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultModule.java@821a02bbfb4e
children 172338b1407f
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 package org.dive4elements.river.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