EECE 7268 Object-Oriented Data Engineering

 

 

An object model (class diagram) can provide a basis for organizing the data and functionality of piping system software.  Prepare an object model to describe the following information (this is a subset of the object model that would be needed for piping system software).

    A piping system consists of multiple piping components that are connected together. There are various kinds of piping components such as pipes, elbows, tees, and reducers.  A pipe is a straight cylinder of metal of uniform diameter diameter and thickness.  An elbow is the same as a pipe except that it is bent, often into a 90 degree angle.  A reducer is a straight piece of pipe that has different diameters at each end; thus a reducer can connect piping components of different diameters. A tee is a piping component with three ends; a tee is often used to combine two liquid input flows into a single outlet flow.

    Piping components can not only connect to each other buy they can also connect to equipment nozzles.  For example, a value is a piece of equipment and has a nozzle on each end.  A nozzle can connect to another nozzle, but ordinarily connects to a piping component.