source: trunk/autoquest-plugin-html/src/main/java/de/ugoe/cs/autoquest/plugin/html/eventcore/HTMLEvent.java @ 950

Last change on this file since 950 was 950, checked in by pharms, 12 years ago
  • initial version of the HTML plugin, still some things open
File size: 2.0 KB
Line 
1//   Copyright 2012 Georg-August-Universität Göttingen, Germany
2//
3//   Licensed under the Apache License, Version 2.0 (the "License");
4//   you may not use this file except in compliance with the License.
5//   You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9//   Unless required by applicable law or agreed to in writing, software
10//   distributed under the License is distributed on an "AS IS" BASIS,
11//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12//   See the License for the specific language governing permissions and
13//   limitations under the License.
14
15package de.ugoe.cs.autoquest.plugin.html.eventcore;
16
17import de.ugoe.cs.autoquest.eventcore.Event;
18import de.ugoe.cs.autoquest.eventcore.gui.IInteraction;
19import de.ugoe.cs.autoquest.eventcore.guimodel.IGUIElement;
20
21/**
22 * <p>
23 * TODO comment
24 * </p>
25 *
26 * @author Patrick Harms
27 */
28public class HTMLEvent extends Event {
29
30    /**  */
31    private static final long serialVersionUID = 1L;
32
33    /**
34     *
35     */
36    private String clientId;
37
38    /**
39     *
40     */
41    private long timestamp;
42
43    /**
44     *
45     */
46    private String agent;
47
48    /**
49     * <p>
50     * TODO: comment
51     * </p>
52     *
53     * @param clientId
54     * @param interaction
55     * @param guiElement
56     * @param timestamp
57     * @param agent
58     */
59    public HTMLEvent(String       clientId,
60                     IInteraction interaction,
61                     IGUIElement  guiElement,
62                     long         timestamp,
63                     String       agent)
64    {
65        super(interaction, guiElement);
66       
67        this.clientId = clientId;
68        this.timestamp = timestamp;
69        this.agent = agent;
70    }
71
72    /**
73     * @return the clientId
74     */
75    public String getClientId() {
76        return clientId;
77    }
78
79    /**
80     * @return the timestamp
81     */
82    public long getTimestamp() {
83        return timestamp;
84    }
85
86    /**
87     * @return the agent
88     */
89    public String getAgent() {
90        return agent;
91    }
92
93}
Note: See TracBrowser for help on using the repository browser.