ask180
Hi,
Let's say I have a Person business object that has Name, Gender and Age as its attributes.
The business wants to investigate these persons, and add their own data which arises from their investigation. And the data could be anything - nationality, hair colour, age of first born daughter, favourite donut variety etc. This makes it impossible to define attributes up front - there are millions of possible attributes.
So, I thought that maybe I hang a business object off Person, called Person Attributes - multiple allowed. One row for each attribute, with an unlimited number of rows possible for each person.
Sounds good. Except, how does the user search for persons. For example, I want to find all persons with a Name of 'John', and a Hair Colour of 'Black'? How can I do that, when I don't have an attribute of Hair Colour on Person.
Worse still, how do I do a search for all persons with a Name of 'John', a Hair Colour of 'Black', and an age of their first born daughter of 9?
Any thoughts?