blib/lib/MOBY/Adaptor/moby/Impl/ServiceTypeDataAdapter.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 9 Podpod 0.0% 0 / 5 totaltotal 0.0% 0 / 33 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
create
2.0
delete
2.0
CRAP 2.0
1 #$Id: ServiceTypeDataAdapter.pm,v 1.3 2008/09/02 13:09:01 kawas Exp $
2 package MOBY::Adaptor::moby::Impl::ServiceTypeDataAdapter;
3 use strict;
4 use Carp;
5 use vars qw(@ISA);
6 @ISA = qw{MOBY::Adaptor::moby::queryapi}; # implements the interface
7  
8 use vars qw /$VERSION/;
9 $VERSION = sprintf "%d.%02d", q$Revision: 1.3 $ =~ /: (\d+)\.(\d+)/;
10  
11 =head1 NAME
12  
13 MOBY::Adaptor::moby::Impl::ServiceTypeDataAdapter - An interface definition for MOBY Central underlying data-stores
14  
15 =cut
16  
17 =head1 SYNOPSIS
18  
19 use MOBY::Adaptor::moby::DataAdapterI # implements this interface def
20  
21  
22  
23 =cut
24  
25 =head1 DESCRIPTION
26  
27 Description here.
28  
29 =head1 AUTHORS
30  
31 Mark Wilkinson markw_at_ illuminae dot com
32 Dennis Wang oikisai _at_ hotmail dot com
33 BioMOBY Project: http://www.biomoby.org
34  
35  
36 =cut
37  
38 =head1 METHODS
39  
40 =head2 new
41  
42 Title : new
43 Usage :
44 Function :
45  
46 Returns :
47 Args :
48 Notes :
49  
50  
51 =cut
52  
53 sub new {
54 my ($caller, %args) = @_;
55 my $caller_is_obj = ref($caller);
56  
57 return my $self;
58 }
59 =head2 create
60  
61 Title : create
62 Usage : my $un = $API->create(%args)
63 Function : create an Object and register it into mobycentral
64 Args :
65 Returns : 1 if creation was successful
66 0 otherwise
67 =cut
68 sub create{
69 }
70  
71 =cut
72  
73 =head2 delete
74  
75 Title : delete
76 Usage : my $un = $API->delete(%args)
77 Function : delete an Object from mobycentral
78 Args :
79 Returns : 1 if deletion was successful
80 0 otherwise
81 =cut
82 sub delete{
83 }
84  
85 =head2 update
86  
87 Title : update
88 Usage : my $un = $API->update(%args)
89 Function : update an Object in mobycentral
90 Args :
91 Returns : 1 if the update was successful
92 0 otherwise
93 =cut
94 sub update{
95 die "update not applicable with this registry.\n";
96 }
97  
98 =head2 query
99  
100 Title : query
101 Usage : my $un = $API->query(%args)
102 Function : retrieve an Object from mobycentral
103 Args :
104 Returns : 1 if deletion was successful
105 0 otherwise
106 =cut
107 sub query{
108 }
109  
110 ##########PRIVATE MEMBER VARIABLES#############
111 {
112  
113 };
114  
115 1;