#!/usr/bin/perl
package Coll_para;

#####################################################################
# Author : Shuai Weng / Kane Tse
# Date   : July 2001
#####################################################################

use strict;
use DBI;
use Carp;
use vars qw (@ISA %allowedConstructors);
use dictyBase_Table;
@ISA = qw (dictyBase_Table); # base class

# Class Globals

# put column names in the hash below, that are able to uniquely
# specify a row in the table

%allowedConstructors = ('colleague_no:paragraph_no'=>undef);


####################################################################
sub DESTROY{
####################################################################
# nothing needs to be done 

}


####################################################################
1; #################################################################
####################################################################

=pod

=head1 Name

Coll_para.pm

=head1 Description

This perl object (Coll_para.pm) acts as container for Coll_para info in oracle database. Once an object has been instantiated, several methods are available to retrieve the attributes of the object. 


=head1 Instantiating a New Coll_para Object

To instantiate a new Coll_para object, use the following syntax: 

my $Coll_ParaObj = Coll_para->new(dbh=>$dbh, 
                                  colleague_no=>$colleagueNo,
                                  paragraph_no=>$paragraphNo);


where $dbh is a valid database handle to either dictyBase or SDEV. All passed in values must be valid values for the columns that were provided, otherwise the script will die, with an appropriate error message.
 

=head1 Accessor Methods


All accessor methods take the form of : 


column_name, eg: 


my $colleagueNo = $Coll_paraObj->colleague_no; 


etc. You can use an accessor for any valid column in the Coll_para table. 

=head1 Author

Shuai Weng

shuai@genome.stanford.edu

Kane Tse

ktse@genome.stanford.edu

=cut











