Advertisement
Theneva

Untitled

Mar 3rd, 2015
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.58 KB | None | 0 0
  1. package no.westerdals.the.nav.domain;
  2.  
  3. import com.google.gson.annotations.SerializedName;
  4.  
  5. import java.util.List;
  6.  
  7. public class LocationDetails
  8. {
  9.     @SerializedName("Name")
  10.     private String name;
  11.  
  12.     @SerializedName("County")
  13.     private String county;
  14.  
  15.     @SerializedName("Municipality")
  16.     private String municipality;
  17.  
  18.     @SerializedName("Region")
  19.     private String region;
  20.  
  21.     @SerializedName("Latitude")
  22.     private double latitude;
  23.  
  24.     @SerializedName("Longitude")
  25.     private double longitude;
  26.  
  27.     @SerializedName("EpsgCode")
  28.     private short epsgCode;
  29.  
  30.     @SerializedName("Parameters")
  31.     private List<LocationParameter> parameters;
  32.  
  33.     public String getName()
  34.     {
  35.         return name;
  36.     }
  37.  
  38.     public void setName(final String name)
  39.     {
  40.         this.name = name;
  41.     }
  42.  
  43.     public String getCounty()
  44.     {
  45.         return county;
  46.     }
  47.  
  48.     public void setCounty(final String county)
  49.     {
  50.         this.county = county;
  51.     }
  52.  
  53.     public String getMunicipality()
  54.     {
  55.         return municipality;
  56.     }
  57.  
  58.     public void setMunicipality(final String municipality)
  59.     {
  60.         this.municipality = municipality;
  61.     }
  62.  
  63.     public String getRegion()
  64.     {
  65.         return region;
  66.     }
  67.  
  68.     public void setRegion(final String region)
  69.     {
  70.         this.region = region;
  71.     }
  72.  
  73.     public double getLatitude()
  74.     {
  75.         return latitude;
  76.     }
  77.  
  78.     public void setLatitude(final double latitude)
  79.     {
  80.         this.latitude = latitude;
  81.     }
  82.  
  83.     public double getLongitude()
  84.     {
  85.         return longitude;
  86.     }
  87.  
  88.     public void setLongitude(final double longitude)
  89.     {
  90.         this.longitude = longitude;
  91.     }
  92.  
  93.     public short getEpsgCode()
  94.     {
  95.         return epsgCode;
  96.     }
  97.  
  98.     public void setEpsgCode(final short epsgCode)
  99.     {
  100.         this.epsgCode = epsgCode;
  101.     }
  102.  
  103.     public List<LocationParameter> getParameters()
  104.     {
  105.         return parameters;
  106.     }
  107.  
  108.     public void setParameters(final List<LocationParameter> parameters)
  109.     {
  110.         this.parameters = parameters;
  111.     }
  112.  
  113.     @Override
  114.     public String toString()
  115.     {
  116.         return "LocationDetails{" +
  117.                 "name='" + name + '\'' +
  118.                 ", county='" + county + '\'' +
  119.                 ", municipality='" + municipality + '\'' +
  120.                 ", region='" + region + '\'' +
  121.                 ", latitude=" + latitude +
  122.                 ", longitude=" + longitude +
  123.                 ", epsgCode=" + epsgCode +
  124.                 ", parameters=" + parameters +
  125.                 '}';
  126.     }
  127. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement