tag fourth (and hopefully last) alpha
[bioperl-live.git] / branch-1-6 / Bio / Biblio / Proceeding.pm
blobde0af843f2d57b577f9c442ae776a96bbd303911
1 # $Id$
3 # BioPerl module for Bio::Biblio::Proceeding
5 # Please direct questions and support issues to <bioperl-l@bioperl.org>
7 # Cared for by Martin Senger <senger@ebi.ac.uk>
8 # For copyright and disclaimer see below.
10 # POD documentation - main docs before the code
12 =head1 NAME
14 Bio::Biblio::Proceeding - Representation of a conference proceeding
16 =head1 SYNOPSIS
18 $obj = Bio::Biblio::Proceeding->new(-title => 'JavaONE');
20 #--- OR ---
22 $obj = Bio::Biblio::Proceeding->new();
23 $obj->title ('JavaONE');
25 =head1 DESCRIPTION
27 A storage object for a conference proceeding.
28 See its place in the class hierarchy in
29 http://www.ebi.ac.uk/~senger/openbqs/images/bibobjects_perl.gif
31 =head2 Attributes
33 There are no specific attributes in this class
34 (however, you can set and get all attributes defined in the parent classes).
36 =head1 SEE ALSO
38 =over 4
40 =item *
42 OpenBQS home page: http://www.ebi.ac.uk/~senger/openbqs/
44 =item *
46 Comments to the Perl client: http://www.ebi.ac.uk/~senger/openbqs/Client_perl.html
48 =back
50 =head1 FEEDBACK
52 =head2 Mailing Lists
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
61 =head2 Support
63 Please direct usage questions or support issues to the mailing list:
65 I<bioperl-l@bioperl.org>
67 rather than to the module maintainer directly. Many experienced and
68 reponsive experts will be able look at the problem and quickly
69 address it. Please include a thorough description of the problem
70 with code and data examples if at all possible.
72 =head2 Reporting Bugs
74 Report bugs to the Bioperl bug tracking system to help us keep track
75 of the bugs and their resolution. Bug reports can be submitted via the
76 web:
78 http://bugzilla.open-bio.org/
80 =head1 AUTHORS
82 Heikki Lehvaslaiho (heikki-at-bioperl-dot-org),
83 Martin Senger (senger@ebi.ac.uk)
85 =head1 COPYRIGHT
87 Copyright (c) 2002 European Bioinformatics Institute. All Rights Reserved.
89 This module is free software; you can redistribute it and/or modify
90 it under the same terms as Perl itself.
92 =head1 DISCLAIMER
94 This software is provided "as is" without warranty of any kind.
96 =head1 BUGS AND LIMITATIONS
98 This class should be probably somewhere else in the class hierarchy
99 because a proceeding is actrually a collection of resources. Perhaps
100 this will be changed in the future.
102 =cut
105 # Let the code begin...
108 package Bio::Biblio::Proceeding;
109 use strict;
112 use base qw(Bio::Biblio::Ref);
115 # a closure with a list of allowed attribute names (these names
116 # correspond with the allowed 'get' and 'set' methods); each name also
117 # keep what type the attribute should be (use 'undef' if it is a
118 # simple scalar)
121 my %_allowed = (
124 # return 1 if $attr is allowed to be set/get in this class
125 sub _accessible {
126 my ($self, $attr) = @_;
127 exists $_allowed{$attr} or $self->SUPER::_accessible ($attr);
130 # return an expected type of given $attr
131 sub _attr_type {
132 my ($self, $attr) = @_;
133 if (exists $_allowed{$attr}) {
134 return $_allowed{$attr};
135 } else {
136 return $self->SUPER::_attr_type ($attr);
143 __END__