Coverage Report - org.kuali.rice.kew.feedback.web.FeedbackForm
 
Classes in this File Line Coverage Branch Coverage Complexity
FeedbackForm
0%
0/44
N/A
1
 
 1  
 /*
 2  
  * Copyright 2005-2008 The Kuali Foundation
 3  
  *
 4  
  *
 5  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 6  
  * you may not use this file except in compliance with the License.
 7  
  * You may obtain a copy of the License at
 8  
  *
 9  
  * http://www.opensource.org/licenses/ecl2.php
 10  
  *
 11  
  * Unless required by applicable law or agreed to in writing, software
 12  
  * distributed under the License is distributed on an "AS IS" BASIS,
 13  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 14  
  * See the License for the specific language governing permissions and
 15  
  * limitations under the License.
 16  
  */
 17  
 package org.kuali.rice.kew.feedback.web;
 18  
 
 19  
 import org.kuali.rice.kns.web.struts.form.KualiForm;
 20  
 
 21  
 /**
 22  
  * Struts ActionForm for {@link FeedbackAction}.
 23  
  *
 24  
  * @see FeedbackAction
 25  
  *
 26  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 27  
  */
 28  
 /* Action Form for Feedback and Support Web form */
 29  0
 public class FeedbackForm extends KualiForm {
 30  
 
 31  
         private static final long serialVersionUID = -6881094307991817497L;
 32  
         /* Form elements */
 33  
     private String userName;
 34  
     private String userEmail;
 35  
     private String networkId;
 36  
     private String documentType;
 37  
     private String pageUrl;
 38  
     private String exception;
 39  
     private String timeDate;
 40  
     private String comments;
 41  
     private String routeHeaderId;
 42  
     private String firstName;
 43  
     private String lastName;
 44  
     private String phone;
 45  
     private String category;
 46  0
     private String methodToCall = "";
 47  
 
 48  
     /**
 49  
      * @return Returns the category.
 50  
      */
 51  
     public String getCategory() {
 52  0
         return category;
 53  
     }
 54  
 
 55  
     /**
 56  
      * @param category
 57  
      *            The category to set.
 58  
      */
 59  
     public void setCategory(String category) {
 60  0
         this.category = category;
 61  0
     }
 62  
 
 63  
     /* getters and setters */
 64  
     public String getUserName() {
 65  0
         return userName;
 66  
     }
 67  
 
 68  
     public void setUserName(String userName) {
 69  0
         this.userName = userName;
 70  0
     }
 71  
 
 72  
     public void setUserEmail(String userEmail) {
 73  0
         this.userEmail = userEmail;
 74  0
     }
 75  
 
 76  
     public String getUserEmail() {
 77  0
         return userEmail;
 78  
     }
 79  
 
 80  
     public void setNetworkId(String networkId) {
 81  0
         this.networkId = networkId;
 82  0
     }
 83  
 
 84  
     public String getNetworkId() {
 85  0
         return networkId;
 86  
     }
 87  
 
 88  
     public void setDocumentType(String documentType) {
 89  0
         this.documentType = documentType;
 90  0
     }
 91  
 
 92  
     public String getDocumentType() {
 93  0
         return documentType;
 94  
     }
 95  
 
 96  
     public void setPageUrl(String pageUrl) {
 97  0
         this.pageUrl = pageUrl;
 98  0
     }
 99  
 
 100  
     public String getPageUrl() {
 101  0
         return pageUrl;
 102  
     }
 103  
 
 104  
     public void setException(String exception) {
 105  0
         this.exception = exception;
 106  0
     }
 107  
 
 108  
     public String getException() {
 109  0
         return exception;
 110  
     }
 111  
 
 112  
     public void setTimeDate(String timeDate) {
 113  0
         this.timeDate = timeDate;
 114  0
     }
 115  
 
 116  
     public String getTimeDate() {
 117  0
         return timeDate;
 118  
     }
 119  
 
 120  
     public void setComments(String comments) {
 121  0
         this.comments = comments;
 122  0
     }
 123  
 
 124  
     public String getComments() {
 125  0
         return comments;
 126  
     }
 127  
 
 128  
     public void setRouteHeaderId(String routeHeaderId) {
 129  0
         this.routeHeaderId = routeHeaderId;
 130  0
     }
 131  
 
 132  
     public String getRouteHeaderId() {
 133  0
         return routeHeaderId;
 134  
     }
 135  
 
 136  
     public void setFirstName(String firstName) {
 137  0
         this.firstName = firstName;
 138  0
     }
 139  
 
 140  
     public String getFirstName() {
 141  0
         return firstName;
 142  
     }
 143  
 
 144  
     public void setLastName(String lastName) {
 145  0
         this.lastName = lastName;
 146  0
     }
 147  
 
 148  
     public String getLastName() {
 149  0
         return lastName;
 150  
     }
 151  
 
 152  
     /**
 153  
      * @return Returns the methodToCall.
 154  
      */
 155  
     public String getMethodToCall() {
 156  0
         return methodToCall;
 157  
     }
 158  
 
 159  
     /**
 160  
      * @param methodToCall
 161  
      *            The methodToCall to set.
 162  
      */
 163  
     public void setMethodToCall(String methodToCall) {
 164  0
         this.methodToCall = methodToCall;
 165  0
     }
 166  
 
 167  
         public String getPhone() {
 168  0
                 return phone;
 169  
         }
 170  
 
 171  
         public void setPhone(String phone) {
 172  0
                 this.phone = phone;
 173  0
         }
 174  
 
 175  
 
 176  
 
 177  
 }