2 # BioPerl module for Bio::Biblio::Proceeding
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Martin Senger <senger@ebi.ac.uk>
7 # For copyright and disclaimer see below.
9 # POD documentation - main docs before the code
13 Bio::Biblio::Proceeding - Representation of a conference proceeding
17 $obj = Bio::Biblio::Proceeding->new(-title => 'JavaONE');
21 $obj = Bio::Biblio::Proceeding->new();
22 $obj->title ('JavaONE');
26 A storage object for a conference proceeding.
27 See its place in the class hierarchy in
28 http://www.ebi.ac.uk/~senger/openbqs/images/bibobjects_perl.gif
32 There are no specific attributes in this class
33 (however, you can set and get all attributes defined in the parent classes).
41 OpenBQS home page: http://www.ebi.ac.uk/~senger/openbqs/
45 Comments to the Perl client: http://www.ebi.ac.uk/~senger/openbqs/Client_perl.html
53 User feedback is an integral part of the evolution of this and other
54 Bioperl modules. Send your comments and suggestions preferably to
55 the Bioperl mailing list. Your participation is much appreciated.
57 bioperl-l@bioperl.org - General discussion
58 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
62 Please direct usage questions or support issues to the mailing list:
64 I<bioperl-l@bioperl.org>
66 rather than to the module maintainer directly. Many experienced and
67 reponsive experts will be able look at the problem and quickly
68 address it. Please include a thorough description of the problem
69 with code and data examples if at all possible.
73 Report bugs to the Bioperl bug tracking system to help us keep track
74 of the bugs and their resolution. Bug reports can be submitted via the
77 http://bugzilla.open-bio.org/
81 Heikki Lehvaslaiho (heikki-at-bioperl-dot-org),
82 Martin Senger (senger@ebi.ac.uk)
86 Copyright (c) 2002 European Bioinformatics Institute. All Rights Reserved.
88 This module is free software; you can redistribute it and/or modify
89 it under the same terms as Perl itself.
93 This software is provided "as is" without warranty of any kind.
95 =head1 BUGS AND LIMITATIONS
97 This class should be probably somewhere else in the class hierarchy
98 because a proceeding is actrually a collection of resources. Perhaps
99 this will be changed in the future.
104 # Let the code begin...
107 package Bio
::Biblio
::Proceeding
;
111 use base
qw(Bio::Biblio::Ref);
114 # a closure with a list of allowed attribute names (these names
115 # correspond with the allowed 'get' and 'set' methods); each name also
116 # keep what type the attribute should be (use 'undef' if it is a
123 # return 1 if $attr is allowed to be set/get in this class
125 my ($self, $attr) = @_;
126 exists $_allowed{$attr} or $self->SUPER::_accessible
($attr);
129 # return an expected type of given $attr
131 my ($self, $attr) = @_;
132 if (exists $_allowed{$attr}) {
133 return $_allowed{$attr};
135 return $self->SUPER::_attr_type
($attr);