@Override protected PatientEditor getNewEditor() { return new PatientEditor(); }
return ed.getValue(); } else if (Patient.class.isAssignableFrom(clazz)) { PatientEditor ed = new PatientEditor(); ed.setAsText(val); return ed.getValue(); } else if (Person.class.isAssignableFrom(clazz)) { PersonEditor ed = new PersonEditor();
wdb.registerCustomEditor(LocationAttributeType.class, new LocationAttributeTypeEditor()); wdb.registerCustomEditor(Order.class, new OrderEditor()); wdb.registerCustomEditor(Patient.class, new PatientEditor()); wdb.registerCustomEditor(PatientIdentifierType.class, new PatientIdentifierTypeEditor()); wdb.registerCustomEditor(PersonAttribute.class, new PersonAttributeEditor());