public Long getId(Registration registration) {
   return registration.getId();
 }
 public Object getVersion(Registration registration) {
   return registration.getVersion();
 }
 public Registration find(
     Class<? extends org.rooinaction.coursemanager.model.Registration> clazz, Long id) {
   return Registration.findRegistration(id);
 }