Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObject.java @ 447:5606ba4139e0
WSTs will now have a header that contains the names of the Ws or Qs that had been defined for the computation.
flys-artifacts/trunk@1939 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 18 May 2011 08:04:54 +0000 |
parents | |
children | cbaa3ca86f2f |
comparison
equal
deleted
inserted
replaced
446:c0bec245f608 | 447:5606ba4139e0 |
---|---|
1 package de.intevation.flys.artifacts.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * This class represents an object that has a name. The default case would be to | |
8 * inherit from this class. | |
9 * | |
10 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
11 */ | |
12 public class NamedObject implements Serializable { | |
13 | |
14 /** The name of this object.*/ | |
15 protected String name; | |
16 | |
17 | |
18 public NamedObject(String name) { | |
19 this.name = name; | |
20 } | |
21 | |
22 | |
23 public void setName(String name) { | |
24 this.name = name; | |
25 } | |
26 | |
27 | |
28 public String getName() { | |
29 return name; | |
30 } | |
31 } | |
32 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |