Coverage Report - org.apache.commons.workflow.web.DemoBean
 
Classes in this File Line Coverage Branch Coverage Complexity
DemoBean
0%
0/32
N/A
1
 
 1  
 /*
 2  
  * Copyright 1999-2001,2004 The Apache Software Foundation.
 3  
  * 
 4  
  * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
 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  
 
 17  
 package org.apache.commons.workflow.web;
 18  
 
 19  
 
 20  
 
 21  
 
 22  
 /**
 23  
  * <p>JavaBean used in the demonstration web application.</p>
 24  
  *
 25  
  * @version $Revision: 155475 $ $Date: 2005-02-26 13:31:11 +0000 (Sat, 26 Feb 2005) $
 26  
  * @author Craig R. McClanahan
 27  
  */
 28  
 
 29  0
 public class DemoBean {
 30  
 
 31  
 
 32  
     // ------------------------------------------------------------- Properties
 33  
 
 34  
 
 35  0
     private String firstName = "";
 36  
 
 37  
     public String getFirstName() {
 38  0
         return (this.firstName);
 39  
     }
 40  
 
 41  
     public void setFirstName(String firstName) {
 42  0
         this.firstName = firstName;
 43  0
     }
 44  
 
 45  
 
 46  0
     private String lastName = "";
 47  
 
 48  
     public String getLastName() {
 49  0
         return (this.lastName);
 50  
     }
 51  
 
 52  
     public void setLastName(String lastName) {
 53  0
         this.lastName = lastName;
 54  0
     }
 55  
 
 56  
 
 57  0
     private String favoriteCar = "";
 58  
 
 59  
     public String getFavoriteCar() {
 60  0
         return (this.favoriteCar);
 61  
     }
 62  
 
 63  
     public void setFavoriteCar(String favoriteCar) {
 64  0
         this.favoriteCar = favoriteCar;
 65  0
     }
 66  
 
 67  
 
 68  0
     private String favoriteCity = "";
 69  
 
 70  
     public String getFavoriteCity() {
 71  0
         return (this.favoriteCity);
 72  
     }
 73  
 
 74  
     public void setFavoriteCity(String favoriteCity) {
 75  0
         this.favoriteCity = favoriteCity;
 76  0
     }
 77  
 
 78  
 
 79  0
     private String favoriteSport = "";
 80  
 
 81  
     public String getFavoriteSport() {
 82  0
         return (this.favoriteSport);
 83  
     }
 84  
 
 85  
     public void setFavoriteSport(String favoriteSport) {
 86  0
         this.favoriteSport = favoriteSport;
 87  0
     }
 88  
 
 89  
 
 90  0
     private String favoriteTeam = "";
 91  
 
 92  
     public String getFavoriteTeam() {
 93  0
         return (this.favoriteTeam);
 94  
     }
 95  
 
 96  
     public void setFavoriteTeam(String favoriteTeam) {
 97  0
         this.favoriteTeam = favoriteTeam;
 98  0
     }
 99  
 
 100  
 
 101  
     public void reset() {
 102  0
         this.firstName = "";
 103  0
         this.lastName = "";
 104  0
         this.favoriteCar = "";
 105  0
         this.favoriteCity = "";
 106  0
         this.favoriteSport = "";
 107  0
         this.favoriteTeam = "";
 108  0
     }
 109  
 
 110  
 
 111  
 }