view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObject.java @ 774:461b8bd696a7 2.4

merged flys-backend/2.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:15 +0200
parents cbaa3ca86f2f
children 0cb1a70b8b92
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() {
    }

    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