ingo@447: package de.intevation.flys.artifacts.model; ingo@447: ingo@447: import java.io.Serializable; ingo@447: ingo@447: ingo@447: /** ingo@447: * This class represents an object that has a name. The default case would be to ingo@447: * inherit from this class. ingo@447: * ingo@447: * @author Ingo Weinzierl ingo@447: */ ingo@447: public class NamedObject implements Serializable { ingo@447: ingo@447: /** The name of this object.*/ ingo@447: protected String name; ingo@447: sascha@726: public NamedObject() { sascha@726: } ingo@447: ingo@447: public NamedObject(String name) { ingo@447: this.name = name; ingo@447: } ingo@447: ingo@447: ingo@447: public void setName(String name) { ingo@447: this.name = name; ingo@447: } ingo@447: ingo@447: ingo@447: public String getName() { ingo@447: return name; ingo@447: } ingo@447: } ingo@447: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :