Diagram 1: UML (Unified Modeling Language) diagram detailing the object model of assessments
At the top of the diagram is the Factory class.
The Factory class is shown as being related to the AssessmentResults class
via two methods in the Factory class: openAssessment() and getPublishedAssessments().
The relationship between these two classes is one Factory class
to one or more AssessmentResults classes.
Under the Factory class, the diagram depicts the AssessmentResults class.
The AssessmentResults class is shown as being related
to the Assessment class via three methods: getAssessments(), getAssessmentForApplication(),
and getAssessmentForProject(). The relationship between
these two classes is one AssessmentResults class
to zero or more Assessment classes.
Under the AssessmentResults class, the diagram
depicts the Assessment class. One Assessment class
is shown as being related to zero or more AssessedFile classes
via the getAssessedFiles() method. The Assessment class
also depicts a relationship with itself via the getAssessments() method.
This relationship is shown as one Assessment class
to zero or more child Assessment classes.
Under the Assessment class, the diagram depicts
the AssessedFile class. One Assessment class
is related to zero or more AssessedFile classes via
the getAssessedFiles() method.