view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObject.java @ 454:2c0c22e0935d

Added names for discharge curves (at gauges). flys-artifacts/trunk@1950 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 19 May 2011 09:45:29 +0000
parents 5606ba4139e0
children cbaa3ca86f2f
line wrap: on
line source
package de.intevation.flys.artifacts.model;

import java.io.Serializable;


/**
 * This class represents an object that has a name. The default case would be to
 * inherit from this class.
 *
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class NamedObject implements Serializable {

    /** The name of this object.*/
    protected String name;


    public NamedObject(String name) {
        this.name = name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org