Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package no.westerdals.the.nav.domain;
- import com.google.gson.annotations.SerializedName;
- import java.util.List;
- public class LocationDetails
- {
- @SerializedName("Name")
- private String name;
- @SerializedName("County")
- private String county;
- @SerializedName("Municipality")
- private String municipality;
- @SerializedName("Region")
- private String region;
- @SerializedName("Latitude")
- private double latitude;
- @SerializedName("Longitude")
- private double longitude;
- @SerializedName("EpsgCode")
- private short epsgCode;
- @SerializedName("Parameters")
- private List<LocationParameter> parameters;
- public String getName()
- {
- return name;
- }
- public void setName(final String name)
- {
- this.name = name;
- }
- public String getCounty()
- {
- return county;
- }
- public void setCounty(final String county)
- {
- this.county = county;
- }
- public String getMunicipality()
- {
- return municipality;
- }
- public void setMunicipality(final String municipality)
- {
- this.municipality = municipality;
- }
- public String getRegion()
- {
- return region;
- }
- public void setRegion(final String region)
- {
- this.region = region;
- }
- public double getLatitude()
- {
- return latitude;
- }
- public void setLatitude(final double latitude)
- {
- this.latitude = latitude;
- }
- public double getLongitude()
- {
- return longitude;
- }
- public void setLongitude(final double longitude)
- {
- this.longitude = longitude;
- }
- public short getEpsgCode()
- {
- return epsgCode;
- }
- public void setEpsgCode(final short epsgCode)
- {
- this.epsgCode = epsgCode;
- }
- public List<LocationParameter> getParameters()
- {
- return parameters;
- }
- public void setParameters(final List<LocationParameter> parameters)
- {
- this.parameters = parameters;
- }
- @Override
- public String toString()
- {
- return "LocationDetails{" +
- "name='" + name + '\'' +
- ", county='" + county + '\'' +
- ", municipality='" + municipality + '\'' +
- ", region='" + region + '\'' +
- ", latitude=" + latitude +
- ", longitude=" + longitude +
- ", epsgCode=" + epsgCode +
- ", parameters=" + parameters +
- '}';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement