Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java @ 3468:f37e7e8907cb
merged flys-artifacts/2.8.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:39 +0200 |
parents | 0cb1a70b8b92 |
children |
comparison
equal
deleted
inserted
replaced
3387:5ffad8bde8ad | 3468:f37e7e8907cb |
---|---|
1 package de.intevation.flys.artifacts.model; | |
2 | |
3 public class NamedObjectImpl | |
4 implements NamedObject | |
5 { | |
6 /** The name of this object.*/ | |
7 protected String name; | |
8 | |
9 public NamedObjectImpl() { | |
10 } | |
11 | |
12 public NamedObjectImpl(String name) { | |
13 this.name = name; | |
14 } | |
15 | |
16 | |
17 @Override | |
18 public void setName(String name) { | |
19 this.name = name; | |
20 } | |
21 | |
22 | |
23 @Override | |
24 public String getName() { | |
25 return name; | |
26 } | |
27 } | |
28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |