line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Mandel::Model::Field; |
2
|
26
|
|
|
26
|
|
186
|
use Mojo::Base -base; |
|
26
|
|
|
|
|
59
|
|
|
26
|
|
|
|
|
166
|
|
3
|
|
|
|
|
|
|
|
4
|
13
|
|
|
13
|
1
|
42
|
sub builder { shift->{builder} } |
5
|
20
|
|
|
20
|
1
|
75
|
sub name { shift->{name} } |
6
|
5
|
|
|
5
|
1
|
22
|
sub type_constraint { shift->{isa} } |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
1; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
=encoding utf8 |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Mandel::Model::Field - Field meta object |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 DESCRIPTION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
This class defines meta data for a L object. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head2 builder |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Returns a code-ref or method name for building the default value for this |
25
|
|
|
|
|
|
|
field or undef unless a builder was not defined. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head2 name |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
Returns the name. |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head2 type_constraint |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Returns the type specified as "isa" in the constructor. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 AUTHOR |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Jan Henning Thorsen - C |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |