AnalysisCtrlRuleAdaptor.pm 1.68 KB
Newer Older
1
=pod
2
3

=head1 NAME
Jessica Severin's avatar
Jessica Severin committed
4

5
    Bio::EnsEMBL::Hive::DBSQL::AnalysisCtrlRuleAdaptor 
6
7

=head1 SYNOPSIS
Jessica Severin's avatar
Jessica Severin committed
8

9
10
    $analysis_ctrl_rule_adaptor = $db_adaptor->get_AnalysisCtrlRuleAdaptor;
    $analysis_ctrl_rule_adaptor = $analysisCtrlRuleObj->adaptor;
11
12

=head1 DESCRIPTION
Jessica Severin's avatar
Jessica Severin committed
13

14
15
16
17
18
    Module to encapsulate all db access for persistent class AnalysisCtrlRule.
    There should be just one per application and database connection.

=head1 LICENSE

19
20
    Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
    Copyright [2016] EMBL-European Bioinformatics Institute
21
22
23
24
25
26
27
28
29

    Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software distributed under the License
    is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and limitations under the License.
30
31

=head1 CONTACT
Jessica Severin's avatar
Jessica Severin committed
32

33
    Please subscribe to the Hive mailing list:  http://listserver.ebi.ac.uk/mailman/listinfo/ehive-users  to discuss Hive-related questions or to be notified of our updates
34
35
36
37
38
39
40

=cut


package Bio::EnsEMBL::Hive::DBSQL::AnalysisCtrlRuleAdaptor;

use strict;
41
use warnings;
42
43
use Bio::EnsEMBL::Hive::AnalysisCtrlRule;

44
use base ('Bio::EnsEMBL::Hive::DBSQL::ObjectAdaptor');
45
46


47
48
sub default_table_name {
    return 'analysis_ctrl_rule';
49
50
51
}


52
53
sub default_insertion_method {
    return 'INSERT_IGNORE';
54
55
}

Jessica Severin's avatar
Jessica Severin committed
56

57
58
59
sub object_class {
    return 'Bio::EnsEMBL::Hive::AnalysisCtrlRule';
}
60
61


62
1;
63