I overload the entity in my own components, i wrote some time ago.
thanks for the heads up will have to stop being lazy and create entities
for my purposes.
Scott Gray sent the following on 8/3/2010 4:04 AM:
How did you reuse it for multiple purposes without having a type entity? For
example I don't want address specific key/values operating on groupName
strings, that's why I'm proposing to add the type pattern to the entity.
And I think you'll find it is actively used for its intended purpose, for
example both google checkout and the first ebay component make use of the
methods in PartyWorker that in turn use AddressMatchMap and those components
are fairly recent additions. I do plan on adding javadocs to the worker
methods though, I'm guessing a lot of people simply aren't aware of them and
what they do.
Regards
Scott
On 3/08/2010, at 10:40 PM, BJ Freeman wrote:
I used it to match incoming Categories from supplier to ofbiz categories.
also added regex to it for doing address look up
seems to be a good catchall no one is expanding in the trunk.
Scott Gray sent the following on 8/3/2010 2:54 AM:
Hi All,
I need to do some company name matching where something like AddressMatchMap would come in handy so that I can replace
things like "Co." with "Company", "Inc." with "Incorporated" etc. while
performing the matching.
Does anyone mind if I add the Type pattern to AddressMatchMap so I can reuse
the same entity for a different purpose? Ideally I would also rename the
entity to something more generic, but probably won't have enough time in the
first pass.
Please let me know if there are any objections or questions.
Many thanks
Scott