// Path: HandsOn/Group05/PlanesMadrid/app/src/main/java/com/linkeddata/vktrsm/planesmadrid/daos/TransportDAO.java
// public class TransportDAO {
// 
//   public int getPublicTransportTime(double[] origin, double[] destination){
//     //TODO: Implement
//     return (int) (Math.random()*59 + 1);
//   }
//   public int getPrivateTransportTime(double[] origin, double[] destination){
//     //TODO: Implement
//     return (int)(Math.random()*59 + 1);
//   }
// }


import com.linkeddata.vktrsm.planesmadrid.daos.TransportDAO;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
    this.transport = new ArrayList<>();
  }

  public String getName(){
    return this.name;
  }

  public void setName(String name){
    this.name = name;
  }

  public void setStart(int Hours, int Minutes){
    this.start[0] = Hours;
    this.start[1] = Minutes;
  }

  public int[] getStart(){
    return start;
  }

  public ArrayList<Appointment> getAppointments(){
      return this.appointments;
  }

  public ArrayList<Integer> getTransport(){
    return this.transport;
  }

  public void calculateTransport(){
    transport.clear();
// Path: HandsOn/Group05/PlanesMadrid/app/src/main/java/com/linkeddata/vktrsm/planesmadrid/daos/TransportDAO.java
// public class TransportDAO {
// 
//   public int getPublicTransportTime(double[] origin, double[] destination){
//     //TODO: Implement
//     return (int) (Math.random()*59 + 1);
//   }
//   public int getPrivateTransportTime(double[] origin, double[] destination){
//     //TODO: Implement
//     return (int)(Math.random()*59 + 1);
//   }
// }


// Path: HandsOn/Group05/PlanesMadrid/app/src/main/java/com/linkeddata/vktrsm/planesmadrid/Plan.java
import com.linkeddata.vktrsm.planesmadrid.daos.TransportDAO;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

    this.transport = new ArrayList<>();
  }

  public String getName(){
    return this.name;
  }

  public void setName(String name){
    this.name = name;
  }

  public void setStart(int Hours, int Minutes){
    this.start[0] = Hours;
    this.start[1] = Minutes;
  }

  public int[] getStart(){
    return start;
  }

  public ArrayList<Appointment> getAppointments(){
      return this.appointments;
  }

  public ArrayList<Integer> getTransport(){
    return this.transport;
  }

  public void calculateTransport(){
    transport.clear();
    TransportDAO transportDAO = new TransportDAO();