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