Fwd: [Biococoa-dev] Sequence Structure
Philipp Seibel
philipp.seibel at byteworxx.de
Mon Jul 11 02:54:49 EDT 2005
Anfang der weitergeleiteten E-Mail:
>
> Am 11.07.2005 um 01:54 schrieb Charles Parnot:
>
>
>>>
>>>
>>>
>>>> I don't understand the BCSymbolAnnotation part of the picture.
>>>> Is this additional or replacing some of the current classes?
>>>>
>>>>
>>>>
>>>
>>> This is to replace BCSymbol and BCSymbolSet classes, following
>>> the Flyweight-Pattern. It's hard to explain, perhaps you look at
>>> the links i sent.
>>>
>>>
>>
>> It seems that BCSymbolSet are more flexible that
>> BCSymbolAnnotation, as there is only one BCSymbolAnnotation per
>> sequence type, based on the factory method you show in your graph.
>> Is that right?
>>
>
> :-) i don't think so, because the BCSymbolAnnotation provides as
> much functionality as the current BCSymbol and BCSymbolSet classes
> and allows the user to add more info in the property dictionary for
> symbols. Espacially this isn't possible with the BCSymbol class,
> where currently all properties get accessor methods.
> The flyweight pattern is just a suggestion, because it's build
> exactly for our problem.
>
> cheers,
>
> Phil
>
>
More information about the Biococoa-dev
mailing list