Comparing the newly introduced LocationAttribute and LocationAttributeType to the PersonAttribute and PersonAttributeType, I see some differences in their methods.
for e.g. We do not have the LocationAttributeType search by name which is convenient in the PersonAttributeType through the PersonService.getPersonAttributeTypeByName(String name) available, but is missing in LocationService to find LocationAttributeType. Also similar with getPersonAttributeTypes(String exactName, String format, Integer foreignKey, Boolean searchable) is missing from LocationService. There is also the missing convenience method Location.removeLocationAttribute(LocationAttribute) that is available in Person.removePersonAttribute(PersonAttribute). There might be other differences as well. Is there some way we can ensure that the API methods are similar across similar domain objects?? May be the BaseAttributeType is the way to do it, but PersonAttributeType is not part of it... --- Regards, Saptarshi PURKAYASTHA My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]