ingo@114: package de.intevation.flys.artifacts.model; ingo@114: ingo@114: import java.io.Serializable; ingo@114: ingo@114: ingo@114: /** ingo@114: * @author Ingo Weinzierl ingo@114: */ ingo@114: public class River implements Serializable { ingo@114: ingo@114: /** The river's name. */ ingo@114: protected String name; ingo@114: ingo@114: ingo@114: /** ingo@114: * The default constructor that create a river with a name. ingo@114: * ingo@114: * @param name The name of the river. ingo@114: */ ingo@114: public River(String name) { ingo@114: this.name = name; ingo@114: } ingo@114: ingo@114: ingo@114: /** ingo@114: * Returns the name of the river. ingo@114: * ingo@114: * @return the name of the river. ingo@114: */ ingo@114: public String getName() { ingo@114: return name; ingo@114: } ingo@114: } ingo@114: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :