Point.java :  » App » tourtracker » dk » itu » spvc » tourtracker » model » Android Open Source

Android Open Source » App » tourtracker 
tourtracker » dk » itu » spvc » tourtracker » model » Point.java
package dk.itu.spvc.tourtracker.model;

public class Point {
  
  private long pointId;
  private int tripId;
  private double latitude;
  private double longitude;
  private PointType pointType;
  
  public Point(double longitude, double latitude, PointType pointType) {
    super();        
    this.longitude = longitude;
    this.latitude = latitude;    
    this.pointType = pointType;
  }
  
  public Point(long pointId, int tripId, double longitude, double latitude, PointType pointType) {
    super();
    this.pointId = pointId;
    this.tripId = tripId;
    this.longitude = longitude;
    this.latitude = latitude;    
    this.pointType = pointType;
  }

  public long getPointId() {
    return pointId;
  }

  public void setPointId(int pointId) {
    this.pointId = pointId;
  }

  public int getTripId() {
    return tripId;
  }

  public void setTripId(int tourId) {
    this.tripId = tourId;
  }
  
  public void setLatitude(double latitude) {
    this.latitude = latitude;
  }
  
  public double getLatitude() {
    return latitude;
  }
  
  public void setLongitude(double longitude) {
    this.longitude = longitude;
  }
  
  public double getLongitude() {
    return longitude;
  }
  
  public void setPointType(PointType pointType) {
    this.pointType = pointType;
  }
  
  public PointType getPointType() {
    return pointType;
  }
  
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.