001: /*
002: * Copyright 2005-2006 The Kuali Foundation.
003: *
004: *
005: * Licensed under the Educational Community License, Version 1.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.opensource.org/licenses/ecl1.php
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: package edu.iu.uis.eden.feedback.web;
018:
019: import org.apache.struts.action.ActionForm;
020:
021: /**
022: * Struts ActionForm for {@link FeedbackAction}.
023: *
024: * @see FeedbackAction
025: *
026: * @author temay
027: * @author ewestfal
028: */
029: /* Action Form for Feedback and Support Web form */
030: public class FeedbackForm extends ActionForm {
031:
032: private static final long serialVersionUID = -6881094307991817497L;
033: /* Form elements */
034: private String userName;
035: private String userEmail;
036: private String networkId;
037: private String documentType;
038: private String pageUrl;
039: private String exception;
040: private String timeDate;
041: private String comments;
042: private String routeHeaderId;
043: private String firstName;
044: private String lastName;
045: private String phone;
046: private String edenCategory;
047: private String methodToCall = "";
048:
049: /**
050: * @return Returns the edenCategory.
051: */
052: public String getEdenCategory() {
053: return edenCategory;
054: }
055:
056: /**
057: * @param edenCategory
058: * The edenCategory to set.
059: */
060: public void setEdenCategory(String edenCategory) {
061: this .edenCategory = edenCategory;
062: }
063:
064: /* getters and setters */
065: public String getUserName() {
066: return userName;
067: }
068:
069: public void setUserName(String userName) {
070: this .userName = userName;
071: }
072:
073: public void setUserEmail(String userEmail) {
074: this .userEmail = userEmail;
075: }
076:
077: public String getUserEmail() {
078: return userEmail;
079: }
080:
081: public void setNetworkId(String networkId) {
082: this .networkId = networkId;
083: }
084:
085: public String getNetworkId() {
086: return networkId;
087: }
088:
089: public void setDocumentType(String documentType) {
090: this .documentType = documentType;
091: }
092:
093: public String getDocumentType() {
094: return documentType;
095: }
096:
097: public void setPageUrl(String pageUrl) {
098: this .pageUrl = pageUrl;
099: }
100:
101: public String getPageUrl() {
102: return pageUrl;
103: }
104:
105: public void setException(String exception) {
106: this .exception = exception;
107: }
108:
109: public String getException() {
110: return exception;
111: }
112:
113: public void setTimeDate(String timeDate) {
114: this .timeDate = timeDate;
115: }
116:
117: public String getTimeDate() {
118: return timeDate;
119: }
120:
121: public void setComments(String comments) {
122: this .comments = comments;
123: }
124:
125: public String getComments() {
126: return comments;
127: }
128:
129: public void setRouteHeaderId(String routeHeaderId) {
130: this .routeHeaderId = routeHeaderId;
131: }
132:
133: public String getRouteHeaderId() {
134: return routeHeaderId;
135: }
136:
137: public void setFirstName(String firstName) {
138: this .firstName = firstName;
139: }
140:
141: public String getFirstName() {
142: return firstName;
143: }
144:
145: public void setLastName(String lastName) {
146: this .lastName = lastName;
147: }
148:
149: public String getLastName() {
150: return lastName;
151: }
152:
153: /**
154: * @return Returns the methodToCall.
155: */
156: public String getMethodToCall() {
157: return methodToCall;
158: }
159:
160: /**
161: * @param methodToCall
162: * The methodToCall to set.
163: */
164: public void setMethodToCall(String methodToCall) {
165: this .methodToCall = methodToCall;
166: }
167:
168: public String getPhone() {
169: return phone;
170: }
171:
172: public void setPhone(String phone) {
173: this.phone = phone;
174: }
175:
176: }
|