File Coverage

lib/FAIR/Profile/SerializableProperty.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package FAIR::Profile::SerializableProperty;
2             $FAIR::Profile::SerializableProperty::VERSION = '0.230';
3              
4             # ABSTRACT: a moose role that indicates that a certain property is intended to become part of the RDF serialization of the FAIR Profile. All other properties are "utility" properties of the object
5              
6 6     6   30 use Moose::Role;
  6         10  
  6         81  
7              
8             Moose::Util::meta_attribute_alias('Serializable');
9              
10             has serialize => (
11             is => 'ro',
12             isa => "Int",
13             default => '1',
14             predicate => 'serializable'
15             );
16              
17             1;
18              
19             __END__
20              
21             =pod
22              
23             =encoding UTF-8
24              
25             =head1 NAME
26              
27             FAIR::Profile::SerializableProperty - a moose role that indicates that a certain property is intended to become part of the RDF serialization of the FAIR Profile. All other properties are "utility" properties of the object
28              
29             =head1 VERSION
30              
31             version 0.230
32              
33             =head1 AUTHOR
34              
35             Mark Denis Wilkinson (markw [at] illuminae [dot] com)
36              
37             =head1 COPYRIGHT AND LICENSE
38              
39             This software is Copyright (c) 2015 by Mark Denis Wilkinson.
40              
41             This is free software, licensed under:
42              
43             The Apache License, Version 2.0, January 2004
44              
45             =cut