source: trunk/autoquest-test-utils/src/main/java/de/ugoe/cs/autoquest/test/DummyInteraction.java @ 927

Last change on this file since 927 was 927, checked in by sherbold, 12 years ago
  • added copyright under the Apache License, Version 2.0
File size: 2.3 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.test;
16
17import de.ugoe.cs.autoquest.eventcore.gui.IInteraction;
18
19/**
20 * TODO comment
21 *
22 * @version $Revision: $ $Date: 02.04.2012$
23 * @author 2012, last modified by $Author: patrick$
24 */
25public class DummyInteraction implements IInteraction {
26   
27    /**  */
28    private static final long serialVersionUID = 1L;
29
30    /** */
31    private int interactionNumber;
32
33    /** */
34    private String interactionType;
35
36    /**
37     * @param interactionNumber
38     * @param interactionType
39     */
40    public DummyInteraction(String interactionType, int interactionNumber) {
41        super();
42        this.interactionNumber = interactionNumber;
43        this.interactionType = interactionType;
44    }
45
46    /*
47     * (non-Javadoc)
48     *
49     * @see de.harms.attef.userinteraction.Interaction#getName()
50     */
51    public String getName() {
52        return interactionType;
53    }
54
55    /*
56     * (non-Javadoc)
57     *
58     * @see java.lang.Object#toString()
59     */
60    @Override
61    public String toString() {
62        return interactionType;
63    }
64
65    /*
66     * (non-Javadoc)
67     *
68     * @see de.harms.attef.userinteraction.Interaction#startsLogicalSequence()
69     */
70    public boolean startsLogicalSequence() {
71        return false;
72    }
73
74    /*
75     * (non-Javadoc)
76     *
77     * @see de.harms.attef.userinteraction.Interaction#finishesLogicalSequence()
78     */
79    public boolean finishesLogicalSequence() {
80        return false;
81    }
82
83    /**
84     * @return the interactionType
85     */
86    public String getInteractionType() {
87        return interactionType;
88    }
89
90    /**
91     * @return the interactionNumber
92     */
93    public int getInteractionNumber() {
94        return interactionNumber;
95    }
96
97}
Note: See TracBrowser for help on using the repository browser.