view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedObjectImpl.java @ 4569:276d9bd3c77d

Workaround for NPE in FloodMapState.
author Christian Lins <christian.lins@intevation.de>
date Tue, 20 Nov 2012 12:53:14 +0100
parents 0cb1a70b8b92
children
line wrap: on
line source
package de.intevation.flys.artifacts.model;

public class NamedObjectImpl
implements   NamedObject
{
    /** The name of this object.*/
    protected String name;

    public NamedObjectImpl() {
    }

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


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


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

http://dive4elements.wald.intevation.org