/** * Represents the information we'll be gleaning from a file to represent * UML objects. This is the bare-bones "model" info. In particular, we care * about two things here: a name, and an x-y coordinate to stick the thing. * * @author Eric Liebowitz * @version 14jul11 */ package simple_uml.model; import java.awt.Point; public class ShapeModel { protected String name; protected Point origin; public ShapeModel (String name, int x, int y) { this.name = name; this.origin = new Point(x, y); } public Point getOrigin () { return this.origin; } }