comparison variant_effect_predictor/Bio/Biblio/Proceeding.pm @ 0:2bc9b66ada89 draft default tip

Uploaded
author mahtabm
date Thu, 11 Apr 2013 06:29:17 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:2bc9b66ada89
1 # $Id: Proceeding.pm,v 1.6 2002/10/22 07:45:11 lapp Exp $
2 #
3 # BioPerl module for Bio::Biblio::Proceeding
4 #
5 # Cared for by Martin Senger <senger@ebi.ac.uk>
6 # For copyright and disclaimer see below.
7
8 # POD documentation - main docs before the code
9
10 =head1 NAME
11
12 Bio::Biblio::Proceeding - Representation of a conference proceeding
13
14 =head1 SYNOPSIS
15
16 $obj = new Bio::Biblio::Proceeding (-title => 'JavaONE');
17
18 --- OR ---
19
20 $obj = new Bio::Biblio::Proceeding;
21 $obj->title ('JavaONE');
22
23 =head1 DESCRIPTION
24
25 A storage object for a conference proceeding.
26 See its place in the class hierarchy in
27 http://industry.ebi.ac.uk/openBQS/images/bibobjects_perl.gif
28
29 =head2 Attributes
30
31 There are no specific attributes in this class
32 (however, you can set and get all attributes defined in the parent classes).
33
34 =head1 SEE ALSO
35
36 =over
37
38 =item *
39
40 OpenBQS home page: http://industry.ebi.ac.uk/openBQS
41
42 =item *
43
44 Comments to the Perl client: http://industry.ebi.ac.uk/openBQS/Client_perl.html
45
46 =back
47
48 =head1 FEEDBACK
49
50 =head2 Mailing Lists
51
52 User feedback is an integral part of the evolution of this and other
53 Bioperl modules. Send your comments and suggestions preferably to
54 the Bioperl mailing list. Your participation is much appreciated.
55
56 bioperl-l@bioperl.org - General discussion
57 http://bioperl.org/MailList.shtml - About the mailing lists
58
59 =head2 Reporting Bugs
60
61 Report bugs to the Bioperl bug tracking system to help us keep track
62 of the bugs and their resolution. Bug reports can be submitted via
63 email or the web:
64
65 bioperl-bugs@bioperl.org
66 http://bugzilla.bioperl.org/
67
68 =head1 AUTHORS
69
70 Heikki Lehvaslaiho (heikki@ebi.ac.uk),
71 Martin Senger (senger@ebi.ac.uk)
72
73 =head1 COPYRIGHT
74
75 Copyright (c) 2002 European Bioinformatics Institute. All Rights Reserved.
76
77 This module is free software; you can redistribute it and/or modify
78 it under the same terms as Perl itself.
79
80 =head1 DISCLAIMER
81
82 This software is provided "as is" without warranty of any kind.
83
84 =head1 BUGS AND LIMITATIONS
85
86 This class should be probably somewhere else in the class hierarchy
87 because a proceeding is actrually a collection of resources. Perhaps
88 this will be changed in the future.
89
90 =cut
91
92
93 # Let the code begin...
94
95
96 package Bio::Biblio::Proceeding;
97 use strict;
98 use vars qw(@ISA);
99
100 use Bio::Biblio::Ref;
101
102 @ISA = qw( Bio::Biblio::Ref);
103
104 #
105 # a closure with a list of allowed attribute names (these names
106 # correspond with the allowed 'get' and 'set' methods); each name also
107 # keep what type the attribute should be (use 'undef' if it is a
108 # simple scalar)
109 #
110 {
111 my %_allowed = (
112 );
113
114 # return 1 if $attr is allowed to be set/get in this class
115 sub _accessible {
116 my ($self, $attr) = @_;
117 exists $_allowed{$attr} or $self->SUPER::_accessible ($attr);
118 }
119
120 # return an expected type of given $attr
121 sub _attr_type {
122 my ($self, $attr) = @_;
123 if (exists $_allowed{$attr}) {
124 return $_allowed{$attr};
125 } else {
126 return $self->SUPER::_attr_type ($attr);
127 }
128 }
129 }
130
131
132 1;
133 __END__