package algorithmen.umleditor; import java.io.*; /** * Base class for all objects that can be included in an UML diagram. */ public class UmlElement implements Serializable { protected String name; public UmlElement(String s) { name = s; } /** * Gets the name of the UmlElement. */ public String getName() { return name; } /** * Sets the name of the UmlElement. */ public void setName(String newName) { name = newName; } }