| 1 | package FAIR::Profile::SerializableProperty; | ||
| 2 | $FAIR::Profile::SerializableProperty::VERSION = '0.41'; | ||
| 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 | use Moose::Role; | ||
| 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.41 | ||
| 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) 2016 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 |