/****
 *
 * UMLDiagramElement is the parent class for the elements that can appear in a
 * diagram.  Its immediate subclasses are UMLPackage, UMLClass, and
 * UMLOperation.
 *									    <p>
 * The data fields of a diagram element are common to all elements in a diagram
 * page.  They are a string name and the geometic coordinates of the element on
 * the page.
 *									    <p>
 * Including geometric information in the representation of a diagram element
 * makes this more than a purely abstact model of UML elements.  As noted in
 * the comments for other classes in the umltool package, the representation of
 * diagrams includes both semantic information on the structure of the diagram,
 * as well as physical information about rendering the diagram on a display.
 *									    <p>
 * The coordinate system follows the Java convention of the origin in the upper
 * left corner of a diagram page.  Coordinate and size values are in units of
 * pixel.  In a typical on-screen rendering, each diagram page is displayed in
 * a separate frame.  The x/y coordinate values of each diagram element are
 * relative to the page in which the element is contained.
 *									    <p>
 * The comments for height and width refer to the "framing rectangle" of the
 * element's shape.  If the element is a class, the framming rectangle and
 * class box are identical.  If the element is a package or operation, the
 * framing rectangle is the smallest enclosing rectangle the fully surrounds
 * the element shape.
 */
public class UMLDiagramElement {

    /** The name of this element. */
    protected String name;

    /** X coordinate, with 0 at the left of the display frame. */

    protected int xCoord;

    /** Y coordinate, with 0 at the top of the display frame. */
    protected int yCoord;

    /** Width of the framing rectangle of this element. */
    protected int width;

    /** Height of the framing rectangle of this element. */
    protected int height;

}