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