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

Last change on this file since 922 was 922, checked in by sherbold, 12 years ago
  • renaming of packages from de.ugoe.cs.quest to de.ugoe.cs.autoquest
File size: 1.7 KB
Line 
1package de.ugoe.cs.autoquest.test;
2
3import de.ugoe.cs.autoquest.eventcore.gui.IInteraction;
4
5/**
6 * TODO comment
7 *
8 * @version $Revision: $ $Date: 02.04.2012$
9 * @author 2012, last modified by $Author: patrick$
10 */
11public class DummyInteraction implements IInteraction {
12   
13    /**  */
14    private static final long serialVersionUID = 1L;
15
16    /** */
17    private int interactionNumber;
18
19    /** */
20    private String interactionType;
21
22    /**
23     * @param interactionNumber
24     * @param interactionType
25     */
26    public DummyInteraction(String interactionType, int interactionNumber) {
27        super();
28        this.interactionNumber = interactionNumber;
29        this.interactionType = interactionType;
30    }
31
32    /*
33     * (non-Javadoc)
34     *
35     * @see de.harms.attef.userinteraction.Interaction#getName()
36     */
37    public String getName() {
38        return interactionType;
39    }
40
41    /*
42     * (non-Javadoc)
43     *
44     * @see java.lang.Object#toString()
45     */
46    @Override
47    public String toString() {
48        return interactionType;
49    }
50
51    /*
52     * (non-Javadoc)
53     *
54     * @see de.harms.attef.userinteraction.Interaction#startsLogicalSequence()
55     */
56    public boolean startsLogicalSequence() {
57        return false;
58    }
59
60    /*
61     * (non-Javadoc)
62     *
63     * @see de.harms.attef.userinteraction.Interaction#finishesLogicalSequence()
64     */
65    public boolean finishesLogicalSequence() {
66        return false;
67    }
68
69    /**
70     * @return the interactionType
71     */
72    public String getInteractionType() {
73        return interactionType;
74    }
75
76    /**
77     * @return the interactionNumber
78     */
79    public int getInteractionNumber() {
80        return interactionNumber;
81    }
82
83}
Note: See TracBrowser for help on using the repository browser.