Board: 5789.com Development

Subject

Re: SOUNDEX

Author

William Chesters

Status

Date

17/03/2000 21:55

Message

tim@hoop.co.uk writes:
> cool, i assume that this will be integrated as 'trigger' in melati?
You would override the auto-generated setSurname method to update the
Metaphone pronunciation of the contact's name every time it was
changed:
public class Contact extends ContactBase {
// Programmer's app-specific code here
public void setSurname(String name) {
super.setSurname(name);
setSurname_mp(Metaphone.pronunciation(name));
}
}
I think that's the most elegant and transparent and nearly the most
concise way of doing it.

5789.com Development Board

 

Post Follow-up

Search This Board

 

Message Context:

SOUNDEX Tim Joyce 15/03/2000 16:31

    SOUNDEX William Chesters 17/03/2000 18:44

        Re: SOUNDEX Tim Joyce 17/03/2000 20:28

            Re: SOUNDEX William Chesters 17/03/2000 21:55

                Re: SOUNDEX Tim Joyce 18/03/2000 07:04

                    Re: SOUNDEX William Chesters 18/03/2000 10:40

                        Re: SOUNDEX Tim Joyce 19/03/2000 08:24

                Re: SOUNDEX Tim Joyce 07/08/2000 12:36

                    Re: SOUNDEX Tim Joyce 07/08/2000 13:27

        Re: Metaphone source code? William Chesters 17/03/2000 21:46



Home -  News -  Reference Sites -  Members -  Partners -  Guidelines -  Philosophy -  Your Details -  Logout