ensembl-hive  2.8.1
DataflowTargetAdaptor.pm
Go to the documentation of this file.
1 =pod
2 
3 =head1 NAME
4 
6 
7 =head1 SYNOPSIS
8 
9  $dataflow_target_adaptor = $db_adaptor->get_DataflowTargetAdaptor;
10  $dataflow_target_adaptor = $dataflowRuleObj->adaptor;
11 
12 =head1 DESCRIPTION
13 
14  Module to encapsulate all db access for persistent class DataflowTarget.
15  There should be just one per application and database connection.
16 
17 =head1 LICENSE
18 
19  See the NOTICE file distributed with this work for additional information
20  regarding copyright ownership.
21 
22  Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
23  You may obtain a copy of the License at
24 
25  http://www.apache.org/licenses/LICENSE-2.0
26 
27  Unless required by applicable law or agreed to in writing, software distributed under the License
28  is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29  See the License for the specific language governing permissions and limitations under the License.
30 
31 =head1 CONTACT
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 =cut
36 
37 
38 package Bio::EnsEMBL::Hive::DBSQL::DataflowTargetAdaptor;
39 
40 use strict;
41 use warnings;
42 use Bio::EnsEMBL::Hive::Utils ('stringify');
43 
44 use base ('Bio::EnsEMBL::Hive::DBSQL::ObjectAdaptor');
45 
46 
47 sub default_table_name {
48  return 'dataflow_target';
49 }
50 
51 
52 sub object_class {
53  return 'Bio::EnsEMBL::Hive::DataflowTarget';
54 }
55 
56 1;
57 
Bio::EnsEMBL::Hive::Utils
Definition: Collection.pm:4
Bio::EnsEMBL::Hive::DBSQL::DataflowTargetAdaptor
Definition: DataflowTargetAdaptor.pm:19