Message |
tim@hoop.co.uk writes: > This message has been sent to 3 subscribers to the 5789.com Development Messageboard (http://www.paneris.org/webmacro/MessageBoard?db=paneris&messageboard=230) > > William, > > > You would override the auto-generated setSurname method to update the > > Metaphone pronunciation of the contact's name every time it was > > changed: > > this is at the app level, I was wondering if melati should be more generally > SOUNDEX aware, so in your DSD you would put: > > String name (size = 60) > (displayname = "Full name") > (description = "The user's real name") > (displayorderpriority = 0) (primarydisplay) (indexed) (soundex); > > ? I don't like that, it means creating a whole new database field behind the programmer's back. And if you are going to have String name_mp (metaphone from name); it would be more transparent and nearly as concise to put the method in yourself.
|