Hi. I'm currently thinking about associations to interfaces. For some reason I don't want
to map the interface to a <class>-Tag, so the common way to map the association is to
use the <any> tag.
This works fine to map the association, but it sucks when it comes to queries (for
example "find all objects associating no interface" or "find all objects with a specific
interface).
Wouldn't it be better to have two properties, one for the id and another one for the class
name of the associated object?
While you still cannot use this pointer in a query for testing properties of the interface
(a property is just a get/set pair), you can at least test what object you are associating.
Am I totally wrong, or have I misunderstood the concept of <any>?
Cheers,
Erik
|