add some debug code for spotting apparatus double entries
[scpubgit/stemmatology.git] / lib / Text / Tradition / Collation / Relationship.pm
CommitLineData
d047cd52 1package Text::Tradition::Collation::Relationship;
2
3use Moose;
4use Moose::Util::TypeConstraints;
5
6enum 'RelationshipType' => qw( spelling orthographic grammatical );
7
8has 'sort' => (
9 is => 'rw',
10 isa => 'RelationshipType',
11 required => 1,
12);
13
14has 'reading' => (
15 is => 'rw',
16 isa => 'Text::Tradition::Collation::Reading',
17 required => 1,
18);
19
20has 'global' => (
21 is => 'rw',
22 isa => 'Bool',
23 default => 1,
24);
25
26 no Moose;
27 __PACKAGE__->meta->make_immutable;