1 /***
2 * Created on Sep 28, 2005, Copyright UC Regents
3 */
4 package org.telscenter.pas.steps.domain;
5
6 import org.apache.commons.lang.builder.ToStringBuilder;
7
8 /***
9 * @author anthonyperritano, turadg
10 *
11 */
12 public class ExtendedTextInteraction extends BlockInteraction {
13
14 private int expectedLength;
15 private String placeholderText;
16 private int expectedLines;
17
18 public ExtendedTextInteraction() {
19 super();
20
21 }
22
23 /***
24 * @param identifier
25 */
26 public ExtendedTextInteraction(String identifier) {
27 responseIdentifier = identifier;
28 }
29
30 public int getExpectedLength() {
31 return expectedLength;
32 }
33
34 public String getPlaceholderText() {
35 return placeholderText;
36 }
37
38 public void setExpectedLength(int expectedLength) {
39 this.expectedLength = expectedLength;
40 }
41
42 public void setPlaceholderText(String placeholderText) {
43 this.placeholderText = placeholderText;
44 }
45
46 public String toString() {
47 return ToStringBuilder.reflectionToString(this);
48 }
49
50 public int getExpectedLines() {
51 return expectedLines;
52 }
53
54 public void setExpectedLines(int expectedLines) {
55 this.expectedLines = expectedLines;
56 }
57
58 }