TechnionYP5779 / team6

7 stars 0 forks source link

added parking db skeleton #231

Closed OrYasso closed 5 years ago

HadadIdan commented 5 years ago

Just to clarify: 1) OurSystem needs to include an instance of ParkingDataBase, 2) All of the methods in OurSystem need to convert from JSONObject to the appropriate class (parkingspot, user, etc) and then call those defined methods from the instance of ParkingDataBase, 3) ParkingDataBase will be implemented to communicate with the SQL server. Am I correct?

Nitzan810 commented 5 years ago

@HadadIdan

  1. All methods in ParkingDataBase are static, no need to include an instance, just import the package.
  2. That's right, and also any method ment to retrieve query results should also convert it to json.
  3. That is also correct.