source: trunk/quest-core-tasktrees-test/src/test/java/de/ugoe/cs/quest/tasktrees/testutils/DummyInteraction.java @ 445

Last change on this file since 445 was 445, checked in by pharms, 12 years ago

Initial import.

File size: 3.4 KB
Line 
1//-------------------------------------------------------------------------------------------------
2// Module    : $RCSfile: DummyInteraction.java,v $
3// Version   : $Revision: 0.0 $  $Author: patrick $  $Date: 02.04.2012 $
4// Project   : TaskTreeTestUtils
5// Creation  : 2012 by patrick
6// Copyright : Patrick Harms, 2012
7//-------------------------------------------------------------------------------------------------
8package de.ugoe.cs.quest.tasktrees.testutils;
9
10import de.ugoe.cs.tasktree.userinteraction.Interaction;
11
12//-------------------------------------------------------------------------------------------------
13/**
14 * TODO comment
15 *
16 * @version $Revision: $ $Date: 02.04.2012$
17 * @author 2012, last modified by $Author: patrick$
18 */
19//-------------------------------------------------------------------------------------------------
20public class DummyInteraction implements Interaction
21{
22  /** */
23  private int mInteractionNumber;
24 
25  /** */
26  private String mInteractionType;
27 
28  //-----------------------------------------------------------------------------------------------
29  /**
30   * @param interactionNumber
31   * @param interactionType
32   */
33  //-----------------------------------------------------------------------------------------------
34  public DummyInteraction(String interactionType, int interactionNumber)
35  {
36    super();
37    mInteractionNumber = interactionNumber;
38    mInteractionType = interactionType;
39  }
40
41  //-----------------------------------------------------------------------------------------------
42  /* (non-Javadoc)
43   * @see de.harms.attef.userinteraction.Interaction#getName()
44   */
45  //-----------------------------------------------------------------------------------------------
46  public String getName()
47  {
48    return mInteractionType;
49  }
50
51  //-----------------------------------------------------------------------------------------------
52  /* (non-Javadoc)
53   * @see java.lang.Object#toString()
54   */
55  //-----------------------------------------------------------------------------------------------
56  @Override
57  public String toString()
58  {
59    return mInteractionType;
60  }
61
62  //-----------------------------------------------------------------------------------------------
63  /* (non-Javadoc)
64   * @see de.harms.attef.userinteraction.Interaction#startsLogicalSequence()
65   */
66  //-----------------------------------------------------------------------------------------------
67  public boolean startsLogicalSequence()
68  {
69    return false;
70  }
71
72  //-----------------------------------------------------------------------------------------------
73  /* (non-Javadoc)
74   * @see de.harms.attef.userinteraction.Interaction#finishesLogicalSequence()
75   */
76  //-----------------------------------------------------------------------------------------------
77  public boolean finishesLogicalSequence()
78  {
79    return false;
80  }
81
82  //-----------------------------------------------------------------------------------------------
83  /**
84   * @return the interactionType
85   */
86  //-----------------------------------------------------------------------------------------------
87  public String getInteractionType()
88  {
89    return mInteractionType;
90  }
91
92  //-----------------------------------------------------------------------------------------------
93  /**
94   * @return the interactionNumber
95   */
96  //-----------------------------------------------------------------------------------------------
97  public int getInteractionNumber()
98  {
99    return mInteractionNumber;
100  }
101
102}
Note: See TracBrowser for help on using the repository browser.