blib/lib/MOBY/Adaptor/moby/Impl/ObjectDataAdapter.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: ObjectDataAdapter.pm,v 1.3 2008/09/02 13:09:01 kawas Exp $
2 package MOBY::Adaptor::moby::Impl::ObjectDataAdapter;
3 use strict;
4 use Carp;
5 use vars qw(@ISA);
6 @ISA = qw{MOBY::Adaptor::moby::DataAdapterI}; # 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::ObjectDataAdapter - 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 =cut
23  
24 =head1 DESCRIPTION
25  
26 Description here.
27  
28 =head1 AUTHORS
29  
30 Mark Wilkinson markw_at_ illuminae dot com
31 Dennis Wang oikisai _at_ hotmail dot com
32 BioMOBY Project: http://www.biomoby.org
33  
34  
35 =cut
36  
37 =head1 METHODS
38  
39 =head2 new
40  
41 Title : new
42 Usage :
43 Function :
44  
45 Returns :
46 Args :
47 Notes :
48  
49  
50 =cut
51  
52 sub new {
53 my ($caller, %args) = @_;
54 my $caller_is_obj = ref($caller);
55  
56 return my $self;
57 }
58 =head2 create
59  
60 Title : create
61 Usage : my $un = $API->create(%args)
62 Function : create an Object and register it into mobycentral
63 Args :
64 Returns : 1 if creation was successful
65 0 otherwise
66 =cut
67 sub create{
68 }
69  
70 =cut
71  
72 =head2 delete
73  
74 Title : delete
75 Usage : my $un = $API->delete(%args)
76 Function : delete an Object from mobycentral
77 Args :
78 Returns : 1 if deletion was successful
79 0 otherwise
80 =cut
81 sub delete{
82 }
83  
84 =head2 update
85  
86 Title : update
87 Usage : my $un = $API->update(%args)
88 Function : update an Object in mobycentral
89 Args :
90 Returns : 1 if the update was successful
91 0 otherwise
92 =cut
93 sub update{
94 die "update not applicable with this registry.\n";
95 }
96  
97 =head2 query
98  
99 Title : query
100 Usage : my $un = $API->query(%args)
101 Function : retrieve an Object from mobycentral
102 Args :
103 Returns : 1 if deletion was successful
104 0 otherwise
105 =cut
106 sub query{
107 }
108  
109 ##########PRIVATE MEMBER VARIABLES#############
110 {
111  
112 };
113  
114 1;