view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObject.java @ 674:d5f9ba1d055f

Added calculation base class to collect the problems during the calculations. Adjusted calculation 4 to use the mechanism. flys-artifacts/trunk@2098 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 10 Jun 2011 09:19:27 +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