Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1.                     DrivingLesson lesson = new DrivingLesson();
  2.                     lesson.setAddress(place);
  3.                     lesson.getAddress().setUser(student);
  4.                     lesson.setStartDate(startDate);
  5.                     lesson.setEndDate(endDate);
  6.                     lesson.setUser((DrivingSchoolUser)
  7.                             AppointmentCreation.this.getService().getCurrentUser());
  8.                     lesson.setUserLicence(licence);
  9.                     lesson.setLessonType(type);
  10.                     lesson.setComment(commentEditor.getText().toString());
  11.                     UUID uuid =
  12.                         AppointmentCreation.this.getService().
  13.                             saveDrivingLesson(lesson,
  14.                             0, AppointmentCreation.this);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement