@@ -0,0 +1,2001 @@
+/**%0A * Copyright 2017 University of Victoria%0A * %0A * Permission is hereby granted, free of charge, to any person obtaining a copy%0A * of this software and associated documentation files (the %22Software%22), to%0A * deal in the Software without restriction, including without limitation the%0A * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or%0A * sell copies of the Software, and to permit persons to whom the Software is%0A * furnished to do so, subject to the following conditions:%0A * %0A * The above copyright notice and this permission notice shall be included in%0A * all copies or substantial portions of the Software.%0A * %0A * THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR%0A * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,%0A * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE%0A * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER%0A * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING%0A * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS%0A * IN THE SOFTWARE.%0A */%0Apackage com.rigiresearch.examgen;%0A%0Aimport java.util.List;%0Aimport java.util.Map;%0Aimport lombok.AllArgsConstructor;%0Aimport lombok.Getter;%0Aimport lombok.experimental.Accessors;%0A%0A/**%0A * A written examination.%0A * @author Miguel Jimenez (miguel@uvic.ca)%0A * @date 2017-08-20%0A * @version $Id$%0A * @since 0.0.1%0A */%0A@Accessors(fluent = true)%0A@AllArgsConstructor%0A@Getter%0Apublic final class Examination %7B%0A%0A    /**%0A     * The document header.%0A     */%0A    private final TextSegment header;%0A%0A    /**%0A     * This examination's title.%0A     */%0A    private final TextSegment title;%0A%0A    /**%0A     * Fields printed below the document header. The value is optional.%0A     * %3Cp%3E%0A     * E.g., Name, Student Number, Grade, Lab Section: 08%0A     */%0A    private final Map%3CString, String%3E fields;%0A%0A    /**%0A     * This examination's set of questions.%0A     */%0A    private final List%3CQuestion%3E questions;%0A%0A%7D%0A

Add class