3 # BioPerl module for Bio::Biblio::Journal
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::Journal - Representation of a journal
16 $obj = Bio::Biblio::Journal->new(-name => 'The Perl Journal',
17 -issn => '1087-903X');
20 $obj = Bio::Biblio::Journal->new();
21 $obj->issn ('1087-903X');
25 A storage object for a journal.
26 See its place in the class hierarchy in
27 http://www.ebi.ac.uk/~senger/openbqs/images/bibobjects_perl.gif
31 The following attributes are specific to this class
32 (however, you can also set and get all attributes defined in the parent classes):
37 provider type: Bio::Biblio::Provider
45 OpenBQS home page: http://www.ebi.ac.uk/~senger/openbqs/
49 Comments to the Perl client: http://www.ebi.ac.uk/~senger/openbqs/Client_perl.html
57 User feedback is an integral part of the evolution of this and other
58 Bioperl modules. Send your comments and suggestions preferably to
59 the Bioperl mailing list. Your participation is much appreciated.
61 bioperl-l@bioperl.org - General discussion
62 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
66 Report bugs to the Bioperl bug tracking system to help us keep track
67 of the bugs and their resolution. Bug reports can be submitted via the
70 http://bugzilla.open-bio.org/
74 Heikki Lehvaslaiho (heikki-at-bioperl-dot-org),
75 Martin Senger (senger@ebi.ac.uk)
79 Copyright (c) 2002 European Bioinformatics Institute. All Rights Reserved.
81 This module is free software; you can redistribute it and/or modify
82 it under the same terms as Perl itself.
86 This software is provided "as is" without warranty of any kind.
91 # Let the code begin...
93 package Bio
::Biblio
::Journal
;
97 use base
qw(Bio::Biblio::BiblioBase);
100 # a closure with a list of allowed attribute names (these names
101 # correspond with the allowed 'get' and 'set' methods); each name also
102 # keep what type the attribute should be (use 'undef' if it is a
108 _abbreviation
=> undef,
111 _provider
=> 'Bio::Biblio::Provider',
114 # return 1 if $attr is allowed to be set/get in this class
116 my ($self, $attr) = @_;
117 exists $_allowed{$attr};
120 # return an expected type of given $attr
122 my ($self, $attr) = @_;