Advertisement
rachmadi

LocationData.java

Jul 15th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.47 KB | None | 0 0
  1. public class LocationData {
  2.  
  3.     String locationName;
  4.     String provinceName;
  5.     String cityName;
  6.     String image;
  7.     String location_id;
  8.     String latitude;
  9.     String longitude;
  10.     String category;
  11.  
  12.     public String getLocationName() {
  13.         return locationName;
  14.     }
  15.  
  16.     public String getProvinceName() {
  17.         return provinceName;
  18.     }
  19.  
  20.     public String getCityName() {
  21.         return cityName;
  22.     }
  23.  
  24.     public String getImage() {
  25.         return image;
  26.     }
  27.  
  28.     public String getLocation_id() {
  29.         return location_id;
  30.     }
  31.  
  32.     public String getLatitude() {
  33.         return  latitude;
  34.     }
  35.  
  36.     public String getLongitude() {
  37.         return longitude;
  38.     }
  39.  
  40.     public String getCategory() {
  41.         return category;
  42.     }
  43.  
  44.  
  45.     public LocationData(String locationName,
  46.                         String provinceName,
  47.                         String cityName,
  48.                         String image,
  49.                         String latitude,
  50.                         String logitude,
  51.                         String location_id,
  52.                         String category){
  53.         this.locationName=locationName;
  54.         this.cityName=cityName;
  55.         this.provinceName=provinceName;
  56.         this.image=image;
  57.         this.location_id = location_id;
  58.         this.latitude = latitude;
  59.         this.longitude = logitude;
  60.         this.category = category;
  61.         System.out.println("Location: " + locationName);
  62.     }
  63.  
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement