View Javadoc

1   package org.wcb.autohome.interfaces;
2   
3   import java.io.Serializable;
4   import org.wcb.autohome.interfaces.IX10Module;
5   /***
6    * Copyright (C) 1999  Walter Bogaardt
7    *
8    * This library is free software; you can redistribute it and/or
9    * modify it under the terms of the GNU Lesser General Public
10   * License as published by the Free Software Foundation; either
11   * version 2 of the License, or (at your option) any later version.
12   *
13   * This library is distributed in the hope that it will be useful,
14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16   * Lesser General Public License for more details.
17   *
18   * You should have received a copy of the GNU Lesser General Public
19   * License along with this library; if not, write to the Free Software
20   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
21   *
22   *Filename:    $Id: IX10Events.java,v 1.4 2004/01/15 21:05:20 wbogaardt Exp $
23   * <pre>
24   *Abstract: This is the events to take place when we are running the EventsDaemon
25   *          It is also a type a wrapper or solution to the CM17A not being able 
26   *          to execute macros and in part run a set a programed timed events.
27   *          These events are only associated on the Events Panel and should not be
28   *          confused with the MacroEvent module which is for CM11A uploading of macro
29   *          information.
30   *</pre>
31   *
32   * $Log: IX10Events.java,v $
33   * Revision 1.4  2004/01/15 21:05:20  wbogaardt
34   * major revamp of Modules and interfaces changes overall structure of how information is stored
35   *
36   * Revision 1.3  2003/12/12 23:17:36  wbogaardt
37   * javadoc comments refactored methods so they are more descriptive
38   *
39   * Revision 1.2  2003/10/10 18:39:12  wbogaardt
40   * changed date time information from a string to a calendar object
41   *
42   *@author wbogaardt
43   *@version 1.1
44   */
45  public interface IX10Events extends Serializable {
46      
47      /* modifiers */
48      public void setDescription(java.lang.String n);
49      public void setAction(java.lang.String ac);
50      public void setTime(java.util.Calendar tm);
51      /*settings for activating event on a day of week*/
52      public void setSunday(boolean s);
53      public void setMonday(boolean m);
54      public void setTuesday(boolean t);
55      public void setWednesday(boolean w);
56      public void setThursday(boolean t);
57      public void setFriday(boolean f);
58      public void setSaturday(boolean s);
59      public void setDeviceModule(IX10Module module);
60  
61      /* accessors */
62      public IX10Module getModule();
63      public java.lang.String getDescription();
64      public java.lang.String getAction();
65      public java.util.Calendar getTime();
66      /*accessor for activating event on a given day of week*/
67      public boolean getSunday();
68      public boolean getMonday();
69      public boolean getTuesday();
70      public boolean getWednesday();
71      public boolean getThursday();
72      public boolean getFriday();
73      public boolean getSaturday();
74  }
75