Coverage Report - org.mule.example.geomail.dao.Sender
 
Classes in this File Line Coverage Branch Coverage Complexity
Sender
0%
0/20
N/A
0
 
 1  
 /*
 2  
  * $Id: Sender.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.example.geomail.dao;
 12  
 
 13  
 import javax.persistence.Entity;
 14  
 import javax.persistence.Id;
 15  
 
 16  
 @Entity
 17  0
 public class Sender
 18  
 {
 19  
     @Id
 20  
     private String ip;
 21  
 
 22  
     private String email;
 23  
 
 24  
     public String getEmail()
 25  
     {
 26  0
         return email;
 27  
     }
 28  
 
 29  
     public void setEmail(String email)
 30  
     {
 31  0
         this.email = email;
 32  0
     }
 33  
 
 34  
     private String locationName;
 35  
     private String countryName;
 36  
 
 37  
     private String latitude;
 38  
     private String longitude;
 39  
 
 40  
     public String getLatitude()
 41  
     {
 42  0
         return latitude;
 43  
     }
 44  
 
 45  
     public void setLatitude(String latitude)
 46  
     {
 47  0
         this.latitude = latitude;
 48  0
     }
 49  
 
 50  
     public String getLongitude()
 51  
     {
 52  0
         return longitude;
 53  
     }
 54  
 
 55  
     public void setLongitude(String longitude)
 56  
     {
 57  0
         this.longitude = longitude;
 58  0
     }
 59  
 
 60  
     public String getLocationName()
 61  
     {
 62  0
         return locationName;
 63  
     }
 64  
 
 65  
     public void setLocationName(String locationName)
 66  
     {
 67  0
         this.locationName = locationName;
 68  0
     }
 69  
 
 70  
     public String getCountryName()
 71  
     {
 72  0
         return countryName;
 73  
     }
 74  
 
 75  
     public void setCountryName(String countryName)
 76  
     {
 77  0
         this.countryName = countryName;
 78  0
     }
 79  
 
 80  
     @Override
 81  
     public String toString()
 82  
     {
 83  0
         return "Sender( ip=" + getIp() + ", email=" + getEmail() + ", latitude=" + getLatitude()
 84  
                + ", longitude=" + getLongitude() + ", location=" + getLocationName() + ", country="
 85  
                + getCountryName() + ")";
 86  
     }
 87  
 
 88  
     public String getIp()
 89  
     {
 90  0
         return ip;
 91  
     }
 92  
 
 93  
     public void setIp(String ip)
 94  
     {
 95  0
         this.ip = ip;
 96  0
     }
 97  
 }