Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultModule.java @ 3514:1f293ada93d0
Added class representation of a module artifact
flys-client/trunk@5288 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 29 Aug 2012 10:39:16 +0000 |
parents | |
children | b5825159250e |
comparison
equal
deleted
inserted
replaced
3513:c657c0bbcf8f | 3514:1f293ada93d0 |
---|---|
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 | |
8 public DefaultModule() { | |
9 } | |
10 | |
11 public DefaultModule(String name, String localname) { | |
12 this.name = name; | |
13 this.localname = localname; | |
14 } | |
15 | |
16 /** | |
17 * Returns the name of the module | |
18 */ | |
19 public String getName() { | |
20 return this.name; | |
21 } | |
22 | |
23 /** | |
24 * Returns the localized name of the module | |
25 */ | |
26 public String getLocalizedName() { | |
27 return this.localname; | |
28 } | |
29 } | |
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 tw=80 : |