Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultRiver.java @ 524:ba238f917b94
The theme list information stored in the attribute of a collection is read and added in form of Themes and ThemeLists to the Collection.
flys-client/trunk@2003 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 25 May 2011 13:42:04 +0000 |
parents | 44c63e7fd0d0 |
children |
line wrap: on
line source
package de.intevation.flys.client.shared.model; /** * The simpliest default implementation of a River that just stores a name. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public class DefaultRiver implements River { /** The name of the river.*/ protected String name; /** * The default constructor that creates empty river objects. */ public DefaultRiver() { } /** * This constructor should be used to create new rivers. * * @param name The name of the river. */ public DefaultRiver(String name) { this.name = name; } /** * Sets the name of the river. * * @param name The name of the river. */ public void setName(String name) { this.name = name; } /** * Returns the name of the river. * * @return the name of the river. */ public String getName() { return name; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :