comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiver.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/DefaultRiver.java@44c63e7fd0d0
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.client.shared.model;
2
3
4 /**
5 * The simpliest default implementation of a River that just stores a name.
6 *
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
8 */
9 public class DefaultRiver implements River {
10
11 /** The name of the river.*/
12 protected String name;
13
14 /**
15 * The default constructor that creates empty river objects.
16 */
17 public DefaultRiver() {
18 }
19
20
21 /**
22 * This constructor should be used to create new rivers.
23 *
24 * @param name The name of the river.
25 */
26 public DefaultRiver(String name) {
27 this.name = name;
28 }
29
30
31 /**
32 * Sets the name of the river.
33 *
34 * @param name The name of the river.
35 */
36 public void setName(String name) {
37 this.name = name;
38 }
39
40
41 /**
42 * Returns the name of the river.
43 *
44 * @return the name of the river.
45 */
46 public String getName() {
47 return name;
48 }
49 }
50 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org