001 /** ===================================================================== 002 * 003 * File Name : $Id: FaultUpdateSnapshot.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 C.Bevil First Release 023 * 024 * Commissioning Notes 025 * ------------------- 026 * 027 * None 028 * 029 * ===================================================================== 030 * 031 * @Version : $Id: FaultUpdateSnapshot.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/FaultUpdateSnapshot.java,v 1.3 2008/01/15 11:08:16 cb Exp $ 036 * 037 * Log : $Log: FaultUpdateSnapshot.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 08:16:32 cb 043 * Log : Updated the comments and added some new error reporting 044 * Log : 045 * Log : Revision 1.1 2007/08/14 14:22:22 cb 046 * Log : First version 047 * Log : 048 * Log : Revision 1.1 2007/08/01 13:01:31 cb 049 * Log : First version 050 * Log : 051 * 052 * =====================================================================*/ 053 054 package GWTApplication.client; 055 056 import com.google.gwt.user.client.rpc.*; 057 058 import java.util.*; 059 060 /** 061 * This class is a entity class which is used to transfer the 062 * details of all of the faults which have been updated in the 063 * database since the web client last checked. 064 * details of a fault back to the client 065 * @author Craige Bevil 066 * @version $Id: FaultUpdateSnapshot.java,v 1.3 2008/01/15 11:08:16 cb Exp $ 067 * @created 15-May-2007 14:32:45 068 */ 069 070 public class FaultUpdateSnapshot implements IsSerializable { 071 072 /** 073 * This is an array of all of the faults 074 * which have been updated since the last time that we have 075 * checked the database for updates. 076 * @gwt.typeArgs <GWTApplication.client.FaultEntryDetails> 077 */ 078 079 public ArrayList faultsUpdated = new ArrayList(); 080 081 /** 082 * This is the time <b>on the servlet container server host<b> of 083 * the last time that we checked the database. Note that we cannot 084 * use the time on the local host as it may be different so we 085 * cannot use the local time. 086 */ 087 088 public Date timeStampOfLastCheck = new Date(); 089 }