Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.08 KB | None | 0 0
  1. public class PointOfInterest {
  2.     private String displayName;
  3.     private String id;
  4.     private LatLong latLong;
  5.     private String description;
  6.     private String address;
  7.     private List<Feature> features;
  8.  
  9.     public PointOfInterest(String id, String displayName) {
  10.         this.id = id;
  11.         this.displayName = displayName;
  12.     }
  13.    
  14.     public void setFeatures(Feature[] features) {
  15.         this.setFeatures(Arrays.asList(features));
  16.     }
  17.  
  18.     public void setFeatures(List<Feature> featureList) {
  19.         features = featureList;
  20.     }
  21.  
  22.     public List<Feature> getFeatures() {
  23.         return features;
  24.     }
  25.  
  26.     public String getDisplayName() {
  27.         return displayName;
  28.     }
  29.  
  30.     public String getId() {
  31.         return id;
  32.     }
  33.    
  34.     public LatLong getLatLong() {
  35.         return latLong;
  36.     }
  37.    
  38.     public void setLatLong(LatLong latLong) {
  39.         this.latLong = latLong;
  40.     }
  41.    
  42.     public String getAddress() {
  43.         return address;
  44.     }
  45.  
  46.     public void setAddress(String address) {
  47.         this.address = address;
  48.     }
  49.    
  50.     public String getDescription() {
  51.         return description;
  52.     }
  53.    
  54.     public void setDescription(String description) {
  55.         this.description = description;
  56.     }
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement