3 # BioPerl module for Bio::Expression::Contact
5 # Cared for by Allen Day <allenday@ucla.edu>
9 # You may distribute this module under the same terms as perl itself
11 # POD documentation - main docs before the code
15 Bio::Expression::Contact - DESCRIPTION of Object
19 Give standard usage here
23 Describe the object here
29 User feedback is an integral part of the evolution of this and other
30 Bioperl modules. Send your comments and suggestions preferably to
31 the Bioperl mailing list. Your participation is much appreciated.
33 bioperl-l@bioperl.org - General discussion
34 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
38 Report bugs to the Bioperl bug tracking system to help us keep track
39 of the bugs and their resolution. Bug reports can be submitted via
42 http://bugzilla.open-bio.org/
44 =head1 AUTHOR - Allen Day
46 Email allenday@ucla.edu
50 The rest of the documentation details each of the object methods.
51 Internal methods are usually preceded with a _
56 # Let the code begin...
59 package Bio
::Expression
::Contact
;
61 use base
qw(Bio::Root::Root);
65 Usage : my $obj = Bio::Expression::Contact->new();
66 Function: Builds a new Bio::Expression::Contact object
67 Returns : an instance of Bio::Expression::Contact
74 my($class,@args) = @_;
76 my $self = $class->SUPER::new
(@args);
77 $self->_initialize(@args);
83 Usage : $obj->_initialize(%arg);
84 Function: Internal method to initialize a new Bio::Expression::Contact object
85 Returns : true on success
86 Args : passed through to new()
93 foreach my $arg (keys %arg){
96 $self->$marg($arg{$arg}) if $self->can($marg);
104 Usage : $obj->source($newval)
107 Returns : value of source (a scalar)
108 Args : on set, new value (a scalar or undef, optional)
115 $self->{'source'} = $val if defined($val);
116 return $self->{'source'};
121 Usage : $obj->accession($newval)
124 Returns : value of accession (a scalar)
125 Args : on set, new value (a scalar or undef, optional)
132 $self->{'accession'} = $val if defined($val);
133 return $self->{'accession'};
138 Usage : $obj->name($newval)
141 Returns : value of name (a scalar)
142 Args : on set, new value (a scalar or undef, optional)
149 $self->{'name'} = $val if defined($val);
150 return $self->{'name'};
155 Usage : $obj->db($newval)
158 Returns : value of db (a scalar)
159 Args : on set, new value (a scalar or undef, optional)
166 $self->{'db'} = $val if defined($val);
167 return $self->{'db'};