1 /*** 2 * Copyright (c) 2007 Regents of the University of California (Regents). Created 3 * by TELS, Graduate School of Education, University of California at Berkeley. 4 * 5 * This software is distributed under the GNU Lesser General Public License, v2. 6 * 7 * Permission is hereby granted, without written agreement and without license 8 * or royalty fees, to use, copy, modify, and distribute this software and its 9 * documentation for any purpose, provided that the above copyright notice and 10 * the following two paragraphs appear in all copies of this software. 11 * 12 * REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 13 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 14 * PURPOSE. THE SOFTWAREAND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED 15 * HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE 16 * MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 17 * 18 * IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, 19 * SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, 20 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF 21 * REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 */ 23 package org.telscenter.pas.steps.domain; 24 25 /*** 26 * Contains teacher's feedback to the student 27 * 28 * Type is a mime type indicating the type of the value, like plain/text, html, etc 29 * Value is a the actual comment represented in plain-text, html, etc 30 * 31 * @author Hiroki Terashima 32 * @version $Id: $ 33 */ 34 public interface TeacherComments { 35 36 /*** 37 * Gets the type of the comment 38 * 39 * @return the type 40 */ 41 public String getType(); 42 43 /*** 44 * Sets the type of the comment 45 * 46 * @param type 47 */ 48 public void setType(String type); 49 50 /*** 51 * Gets the actual comment 52 * 53 * @return the value 54 */ 55 public String getValue(); 56 57 /*** 58 * Sets the actual comment 59 * 60 * @param value 61 */ 62 public void setValue(String value); 63 }