3 # BioPerl module for Bio::Biblio::Provider
5 # Cared for by Martin Senger <senger@ebi.ac.uk>
6 # For copyright and disclaimer see below.
8 # POD documentation - main docs before the code
12 Bio::Biblio::Provider - Representation of a general provider
16 # usually this class is not instantiated but can be...
17 $obj = Bio::Biblio::Provider->new(-type => 'Department');
21 $obj = Bio::Biblio::Provider->new();
22 $obj->type ('Department');
26 A storage object for a general bibliographic resource provider
27 (a rpovider can be a person, a organisation, or even a program).
31 The following attributes are specific to this class,
32 and they are inherited by all provider types.
42 OpenBQS home page: http://www.ebi.ac.uk/~senger/openbqs/
46 Comments to the Perl client: http://www.ebi.ac.uk/~senger/openbqs/Client_perl.html
54 User feedback is an integral part of the evolution of this and other
55 Bioperl modules. Send your comments and suggestions preferably to
56 the Bioperl mailing list. Your participation is much appreciated.
58 bioperl-l@bioperl.org - General discussion
59 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
63 Report bugs to the Bioperl bug tracking system to help us keep track
64 of the bugs and their resolution. Bug reports can be submitted via the
67 http://bugzilla.open-bio.org/
71 Heikki Lehvaslaiho (heikki-at-bioperl-dot-org),
72 Martin Senger (senger@ebi.ac.uk)
76 Copyright (c) 2002 European Bioinformatics Institute. All Rights Reserved.
78 This module is free software; you can redistribute it and/or modify
79 it under the same terms as Perl itself.
83 This software is provided "as is" without warranty of any kind.
88 # Let the code begin...
91 package Bio
::Biblio
::Provider
;
93 use vars
qw($AUTOLOAD);
96 use base qw(Bio::Biblio::BiblioBase);
99 # a closure with a list of allowed attribute names (these names
100 # correspond with the allowed 'get' and 'set' methods); each name also
101 # keep what type the attribute should be (use 'undef' if it is a
110 # return 1 if $attr is allowed to be set/get in this class
112 my ($self, $attr) = @_;
113 exists $_allowed{$attr};
116 # return an expected type of given $attr
118 my ($self, $attr) = @_;