view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObject.java @ 750:b24be063f8d2

Tagged RELEASE 2.4 of flys-artifacts. flys-artifacts/tags/2.4@2262 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 28 Jun 2011 09:56:52 +0000
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