Coverage report

  %line %branch
be.dvw.administration.model.Person
0% 
0% 

 1  
 /*
 2  
  * Created on Jun 20, 2005
 3  
  */
 4  
 
 5  
 package be.dvw.administration.model;
 6  
 
 7  
 import java.util.Calendar;
 8  
 
 9  
 /**
 10  
  * @author Gregory Van Seghbroeck
 11  
  *
 12  
  */
 13  0
 public class Person {
 14  
     private int id;
 15  
     private String firstName;
 16  
     private int familynameNr;
 17  
     private String GSM;
 18  
     private Calendar birthdate;
 19  
     private String email;
 20  
     private boolean correspondenceTroughEmail;
 21  
     
 22  
     private Family family;
 23  
 
 24  
     
 25  
     public String toString() {
 26  0
         return "[Person] <"+firstName+(familynameNr==1?family.getFamilyname1():family.getFamilyname2())+" "+family.getAddress()+">";
 27  
     }
 28  
     
 29  
 
 30  
     /**
 31  
      * @return Returns the id.
 32  
      */
 33  
     public int getId() {
 34  0
         return id;
 35  
     }
 36  
     /**
 37  
      * @param id The id to set.
 38  
      */
 39  
     public void setId(int id) {
 40  0
         this.id = id;
 41  0
     }
 42  
     /**
 43  
      * @return Returns the correspondenceTroughEmail.
 44  
      */
 45  
     public boolean isCorrespondenceTroughEmail() {
 46  0
         return correspondenceTroughEmail;
 47  
     }
 48  
     /**
 49  
      * @param correspondenceTroughEmail The correspondenceTroughEmail to set.
 50  
      */
 51  
     public void setCorrespondenceTroughEmail(boolean correspondenceTroughEmail) {
 52  0
         this.correspondenceTroughEmail = correspondenceTroughEmail;
 53  0
     }
 54  
     /**
 55  
      * @return Returns the email.
 56  
      */
 57  
     public String getEmail() {
 58  0
         return email;
 59  
     }
 60  
     /**
 61  
      * @param email The email to set.
 62  
      */
 63  
     public void setEmail(String email) {
 64  0
         this.email = email;
 65  0
     }
 66  
     /**
 67  
      * @return Returns the family.
 68  
      */
 69  
     public Family getFamily() {
 70  0
         return family;
 71  
     }
 72  
     /**
 73  
      * @param family The family to set.
 74  
      */
 75  
     public void setFamily(Family family) {
 76  0
         this.family = family;
 77  0
     }
 78  
     /**
 79  
      * @return Returns the familynameNr.
 80  
      */
 81  
     public int getFamilynameNr() {
 82  0
         return familynameNr;
 83  
     }
 84  
     /**
 85  
      * @param familynameNr The familynameNr to set.
 86  
      */
 87  
     public void setFamilynameNr(int familynameNr) {
 88  0
         this.familynameNr = familynameNr;
 89  0
     }
 90  
     /**
 91  
      * @return Returns the birthdate.
 92  
      */
 93  
     public Calendar getBirthdate() {
 94  0
         return birthdate;
 95  
     }
 96  
     /**
 97  
      * @param birthdate The birthdate to set.
 98  
      */
 99  
     public void setBirthdate(Calendar birthdate) {
 100  0
         this.birthdate = birthdate;
 101  0
     }
 102  
     /**
 103  
      * @return Returns the gSM.
 104  
      */
 105  
     public String getGSM() {
 106  0
         return GSM;
 107  
     }
 108  
     /**
 109  
      * @param gsm The gSM to set.
 110  
      */
 111  
     public void setGSM(String gsm) {
 112  0
         GSM = gsm;
 113  0
     }
 114  
     /**
 115  
      * @return Returns the firstName.
 116  
      */
 117  
     public String getFirstName() {
 118  0
         return firstName;
 119  
     }
 120  
     /**
 121  
      * @param firstName The firstName to set.
 122  
      */
 123  
     public void setFirstName(String firstName) {
 124  0
         this.firstName = firstName;
 125  0
     }
 126  
 }

This report is generated by jcoverage, Maven and Maven JCoverage Plugin.