Example for Vapor: University staff and student management
==========================================================

This directory contains a very simplistic system demonstrating
data object management using VAPOR. The files included are

university.rb:  library containing three classes Person, Student
                and University and the constants used for authenticating
                with the Repository
university.xml: metadata about the attributes to be stored in the Repository
createuni:      create a new University in the Repository
createperson:   create a new Person in the Repository
enroll:         create a new Student at an University
employment:     employ or fire an Person (including Students) from an University

The UML class diagram for the classes would look like

 +---------------+                  +------------------+
 |     Person    |                  |   University     |
 +---------------+ *   employees  1 +------------------+
 | name:String   |<-----------------| name:String      |
 | gender:String |                  +------------------+
 +---------------+                  | employ( Person ) |
 +---------------+                  | fire( Person )   |
      / \                           +------------------+
      ~~~                                  / \
       |                                  1 |
       |                                    |
 +--------------------+                     |
 |      Student       |                     |
 +--------------------+ *   attends         |
 | student_id:Integer |---------------------+
 +--------------------+
 +--------------------+

The code should be self-explaining and doesn't intend to be complete or
good at what is does, it's main purpose is to illustrate VAPOR usage.


