comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/River.java @ 114:394b9580ceae

Added mockup classes for working with rivers. flys-artifacts/trunk@1303 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 08 Feb 2011 09:02:18 +0000
parents
children
comparison
equal deleted inserted replaced
113:f077df8ad54c 114:394b9580ceae
1 package de.intevation.flys.artifacts.model;
2
3 import java.io.Serializable;
4
5
6 /**
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
8 */
9 public class River implements Serializable {
10
11 /** The river's name. */
12 protected String name;
13
14
15 /**
16 * The default constructor that create a river with a name.
17 *
18 * @param name The name of the river.
19 */
20 public River(String name) {
21 this.name = name;
22 }
23
24
25 /**
26 * Returns the name of the river.
27 *
28 * @return the name of the river.
29 */
30 public String getName() {
31 return name;
32 }
33 }
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org