View Javadoc

1   /***
2    * 
3    */
4   package org.telscenter.pas.steps.domain;
5   
6   /***
7    * @author hiroki
8    * @author jerry
9    */
10  public class FeedbackModal {
11  	
12  	private String outcomeIdentifier;
13  	
14  	private boolean showHide;
15  	
16  	private String identifier;
17  	
18  	private String title;   // optional 
19  	
20  	private Object content;
21  	
22  	
23  	public FeedbackModal() {
24  		
25  	}
26  	
27  	public FeedbackModal(String identifier) {
28  		this.outcomeIdentifier = "FEEDBACK";
29  		this.showHide = true;
30  		this.identifier = identifier;
31  		this.title = "";
32  		this.content = "";
33  	}
34  
35  	public FeedbackModal(String outcomeIdentifier, boolean showHide, String identifier, String title, Object content) {
36  		this.outcomeIdentifier = outcomeIdentifier;
37  		this.showHide = showHide;
38  		this.identifier = identifier;
39  		this.title = title;
40  		this.content = content;
41  	}
42  
43  	/***
44  	 * @return the content
45  	 */
46  	public Object getContent() {
47  		return content;
48  	}
49  
50  	/***
51  	 * @param content the content to set
52  	 */
53  	public void setContent(Object content) {
54  		this.content = content;
55  	}
56  
57  	/***
58  	 * @return the identifier
59  	 */
60  	public String getIdentifier() {
61  		return identifier;
62  	}
63  
64  	/***
65  	 * @param identifier the identifier to set
66  	 */
67  	public void setIdentifier(String identifier) {
68  		this.identifier = identifier;
69  	}
70  
71  	/***
72  	 * @return the outcomeIdentifier
73  	 */
74  	public String getOutcomeIdentifier() {
75  		return outcomeIdentifier;
76  	}
77  
78  	/***
79  	 * @param outcomeIdentifier the outcomeIdentifier to set
80  	 */
81  	public void setOutcomeIdentifier(String outcomeIdentifier) {
82  		this.outcomeIdentifier = outcomeIdentifier;
83  	}
84  
85  	/***
86  	 * @return the showHide
87  	 */
88  	public boolean isShowHide() {
89  		return showHide;
90  	}
91  
92  	/***
93  	 * @param showHide the showHide to set
94  	 */
95  	public void setShowHide(boolean showHide) {
96  		this.showHide = showHide;
97  	}
98  
99  	/***
100 	 * @return the title
101 	 */
102 	public String getTitle() {
103 		return title;
104 	}
105 
106 	/***
107 	 * @param title the title to set
108 	 */
109 	public void setTitle(String title) {
110 		this.title = title;
111 	}
112 }