We could go one of two directions: 1) keep build methods for filter-related things, or 2) allow people to directly instantiate Basic* objects.
>>> Valery Kokhan <vkokhan@xxxxxxxxxxxxxx> 4/16/07 5:34 PM >>> Jim,
May be I'm wrong but it seems to me there is a case when we may need to keep build* methods. It may seem strange to you but it is... IFilter. How would we build IFilters if we remove build* methods?
-- Thanks,
Valery
Tuesday, April 17, 2007, 1:07:56 AM, you wrote:
> > >>>> Valery Kokhan <vkokhan@xxxxxxxxxxxxxx> 4/16/07 3:14 PM >>> > <snip> >>>>I'm thinking about option 3x where we rather refactor then remove >>>>build methods. >>> >>> That what I intended with 3.a "... we remove the build* methods..." >>> >>In this case each particular substance in the context >>(i.e. IDigitalSubject, IAttribute, IProperty, IMetadata, etc.) must >>know exact type of values it could/should create but it seems >>impossible in the situation when an IAttribute, for example, has >>neither a type nor any values. > > Right, we should design it so the type always exists before a value can be added. > > > > Jim
>
|