[927] | 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 | |
---|
[922] | 15 | package de.ugoe.cs.autoquest.test; |
---|
[703] | 16 | |
---|
[922] | 17 | import de.ugoe.cs.autoquest.eventcore.gui.IInteraction; |
---|
[703] | 18 | |
---|
| 19 | /** |
---|
| 20 | * TODO comment |
---|
| 21 | * |
---|
| 22 | * @version $Revision: $ $Date: 02.04.2012$ |
---|
| 23 | * @author 2012, last modified by $Author: patrick$ |
---|
| 24 | */ |
---|
| 25 | public 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 | * @return the interactionType |
---|
| 67 | */ |
---|
| 68 | public String getInteractionType() { |
---|
| 69 | return interactionType; |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | /** |
---|
| 73 | * @return the interactionNumber |
---|
| 74 | */ |
---|
| 75 | public int getInteractionNumber() { |
---|
| 76 | return interactionNumber; |
---|
| 77 | } |
---|
| 78 | |
---|
| 79 | } |
---|