private Notification makeNotification(Properties p) { Notification notification = new Notification(); String id = p.getProperty("notificationID"); String description = p.getProperty("description"); notification.setId(Integer.parseInt(id)); notification.setMessage(description); notification.setRecipient(queryNotificationTo(Integer.parseInt(id))); Event event = queryNotificationEvent(Integer.parseInt(id)); notification.setEvent(event); return notification; }