View Javadoc

1   package org.indi.objects;
2   
3   /**
4    * An indi vector hosting indi lights
5    * 
6    * @author Dirk Hünniger
7    * 
8    */
9   public class LightVector extends Vector {
10      /**
11       * class constructor
12       * 
13       * @param device
14       *                the name of the device this LightVector is associated with
15       * @param name
16       *                the name of this LightVector
17       * @param timestamp
18       *                the timestamp to be transferred along with this
19       *                LightVector.
20       */
21      public LightVector(String device, String name, String timestamp) {
22  	super(device, name, timestamp);
23  	// TODO Auto-generated constructor stub
24      }
25  
26      /**
27       * class constructor
28       * 
29       * @param device
30       *                the name of the device this LightVector is associated with
31       * @param name
32       *                the name of this LightVector
33       * @param label
34       *                the label to be used for this LightVector by a GUI
35       * @param group
36       *                the group this vector belongs to
37       * @param state
38       *                the State this vector is in
39       * @param permission
40       *                the permissions the user has to change the properties of
41       *                this vector
42       * @param timeout
43       *                the worst case time it takes for a property of this vector
44       *                to change
45       * @param timestamp
46       *                the timestamp to be sent along with this vector
47       * @param message
48       *                a message to be sent along with this vector
49       */
50      public LightVector(String device, String name, String label, String group,
51  	    State state, Permission permission, double timeout,
52  	    String timestamp, String message) {
53  	super(device, name, label, group, state, permission, timeout,
54  		timestamp, message);
55  	// TODO Auto-generated constructor stub
56      }
57  
58      /**
59       * class constructor
60       * 
61       * @param device
62       *                the name of the device this LightVector is associated with
63       * @param name
64       *                the name of this LightVector
65       * @param state
66       *                the State this vector is in
67       * @param timeout
68       *                the worst case time it takes for a property of this vector
69       *                to change
70       * @param timestamp
71       *                the timestamp to be sent along with this vector
72       * @param message
73       *                a message to be sent along with this vector
74       * 
75       */
76      public LightVector(String device, String name, State state, double timeout,
77  	    String timestamp, String message) {
78  	super(device, name, state, timeout, timestamp, message);
79  	// TODO Auto-generated constructor stub
80      }
81  
82      @Override
83      protected String getType() {
84  	// TODO Auto-generated method stub
85  	return null;
86      }
87  
88  }