File Coverage

blib/lib/Bio/Palantir/Parser/Qualifier.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 4 4 100.0
total 24 24 100.0


line stmt bran cond sub pod time code
1             package Bio::Palantir::Parser::Qualifier;
2             # ABSTRACT: BiosynML DTD-derived internal class
3             $Bio::Palantir::Parser::Qualifier::VERSION = '0.211420';
4 1     1   628 use Moose;
  1         2  
  1         5  
5 1     1   6564 use namespace::autoclean;
  1         3  
  1         7  
6              
7             # AUTOGENERATED CODE! DO NOT MODIFY THIS FILE!
8              
9 1     1   77 use XML::Bare qw(forcearray);
  1         2  
  1         233  
10              
11              
12              
13             # private attributes
14             has '_root' => (
15             is => 'ro',
16             isa => 'HashRef',
17             required => 1,
18             );
19              
20              
21              
22              
23             # public array(s) of composed objects
24              
25              
26             # public composed object(s)
27              
28              
29             # public deep methods
30              
31              
32             # public methods
33              
34              
35              
36             # public aliases
37              
38              
39             sub name {
40 549     549 1 15810 return shift->_root->{'name'}->{'value'}
41             }
42              
43              
44             sub ori {
45 8     8 1 224 return shift->_root->{'ori'}->{'value'}
46             }
47              
48              
49             sub style {
50 8     8 1 223 return shift->_root->{'style'}->{'value'}
51             }
52              
53              
54             sub value {
55 162     162 1 4480 return shift->_root->{'value'}
56             }
57              
58              
59             __PACKAGE__->meta->make_immutable;
60             1;
61              
62             __END__
63              
64             =pod
65              
66             =head1 NAME
67              
68             Bio::Palantir::Parser::Qualifier - BiosynML DTD-derived internal class
69              
70             =head1 VERSION
71              
72             version 0.211420
73              
74             =head1 SYNOPSIS
75              
76             # TODO
77              
78             =head1 DESCRIPTION
79              
80             # TODO
81              
82             =head1 METHODS
83              
84             =head2 name
85              
86             Returns the name attribute of the qualifier.
87              
88             # $qualifier is a Bio::FastParsers::Biosynml
89             my $name = $qualifier->name;
90              
91             This method does not accept any arguments.
92              
93             =head2 ori
94              
95             Returns the ori attribute of the qualifier.
96              
97             # $qualifier is a Bio::FastParsers::Biosynml
98             my $ori = $qualifier->ori;
99              
100             This method does not accept any arguments.
101              
102             =head2 style
103              
104             Returns the style attribute of the qualifier.
105              
106             # $qualifier is a Bio::FastParsers::Biosynml
107             my $style = $qualifier->style;
108              
109             This method does not accept any arguments.
110              
111             =head2 value
112              
113             Returns the value of the qualifier.
114              
115             # $qualifier is a Bio::FastParsers::Biosynml
116             my $value = $qualifier->value;
117              
118             This method does not accept any arguments.
119              
120             =head1 AUTHOR
121              
122             Loic MEUNIER <lmeunier@uliege.be>
123              
124             =head1 COPYRIGHT AND LICENSE
125              
126             This software is copyright (c) 2019 by University of Liege / Unit of Eukaryotic Phylogenomics / Loic MEUNIER and Denis BAURAIN.
127              
128             This is free software; you can redistribute it and/or modify it under
129             the same terms as the Perl 5 programming language system itself.
130              
131             =cut