001    /** =====================================================================       
002    *
003    *  File Name : $Id: Comment.java,v 1.3 2008/01/15 11:08:16 cb Exp $
004    *
005    *  Description
006    *  -----------
007    *
008    *  See javadoc comment 
009    * 
010    *  =====================================================================
011    *
012    *   @Author : Craige Bevil 
013    *             Control Software Group
014    *             Isaac Newton Group of Telescopes
015    *
016    *  =====================================================================
017    *
018    *     Modification Log
019    *
020    *     Vers         Date        Author       Reason
021    *     ----         ----        ------       ------
022    *      1           10 May 2007 C.Bevil      First Release
023    *
024    *     Commissioning Notes
025    *     -------------------
026    *
027    *     None
028    *     
029    *  =====================================================================
030    *
031    *     @Version   : $Id: Comment.java,v 1.3 2008/01/15 11:08:16 cb Exp $
032    *
033    *     @Author    : $Author: cb $
034    *
035    *     Header     : $Header: /opt/INGsrc/src/CVS/softproj/FaultDatabase/src/FaultDatabase/FaultDatabase/src/GWTApplication/client/Comment.java,v 1.3 2008/01/15 11:08:16 cb Exp $
036    *
037    *     Log        : $Log: Comment.java,v $
038    *     Log        : Revision 1.3  2008/01/15 11:08:16  cb
039    *     Log        : Ran through PMD and sorted out the javadoc so that we could export the
040    *     Log        : javadoc to the javadoc repository.
041    *     Log        :
042    *     Log        : Revision 1.2  2007/08/17 14:22:55  cb
043    *     Log        : Comment change
044    *     Log        :
045    *     Log        : Revision 1.1.1.1  2007/06/01 08:33:26  cb
046    *     Log        : Imported using TkCVS
047    *     Log        :
048    *
049    * =====================================================================*/
050    
051    package GWTApplication.client;
052    
053    import com.google.gwt.user.client.rpc.*;
054    import java.util.*;
055    
056    /**
057     * This is a entity class which contains no methods and is used for
058     * transferring the details of fault comments around the system.
059     */
060    
061    public class Comment implements IsSerializable {
062    
063        /**
064         * This is the christian name of the person that entered the
065         * comment
066         */
067    
068        public String enteredByName;
069    
070        /**
071         * This is the surname of the person that entered the
072         * comment
073         */
074    
075        public String enteredBySurname;
076             
077        /**
078         * This is the amount of time which was spent on the comment
079         */
080    
081        public String timeSpent;
082    
083        /**
084         * This is the email address of the person that entered the
085         * details of the comment
086         */
087    
088        public String enteredByEmail;
089        
090        /**
091         * This is the fault number which this comment is associated with
092         */
093    
094        public int id; 
095    
096        /**
097         * This is the description of the comment which was entered 
098         */
099        
100        public String description;
101    
102       /**
103         * This is the time at which the comment was entered into the
104         * database in HH:MM
105         */
106    
107        public String timeEntered;
108    
109        /**
110         * This is the date that the entry was made in DD/MM/YYYY
111         */
112        
113        public String dateEntered;
114        
115        /**
116         * This is the time when the entry was made into the database
117         */
118        
119        public Date timeOfInitialEntry;
120        
121    }