[Bioperl-l] proposed additions to SeqFeatureI, RangeI and FeatureHolderI

Hilmar Lapp hlapp at gmx.net
Wed Dec 17 01:31:58 EST 2003


On Wednesday, December 3, 2003, at 11:46  AM, Chris Mungall wrote:

> there seems to be 3 different kinds of attributes:
>
> foo()                   foo($foo)
> get_foo()               set_foo($foo)
> get_tag_values('foo')   set_tag_values('foo', [$foo])
>
> I'm not sure what the rules are for deciding which attributes have 
> which
> kinds of accessor
>

Sort of late reply, but generally speaking scalar properties get a 
simple-named dual getter/setter accessor (foo(), foo($newfoo)), whereas 
array properties have the get_XXXX() naming.

Theoretically at least ...

	-hilmar
-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------




More information about the Bioperl-l mailing list