summaryrefslogblamecommitdiff
path: root/lib/Graph/GEXF/Attribute.pm
blob: fb18ea2b9420c1e6553a999d167747ba0554f41e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                      
package Graph::GEXF::Attribute;

use Moose;

has id => (is => 'ro', isa => 'Int', required => 1,);
has title => (is => 'rw', isa => 'Str');
has value => (is => 'rw', isa => 'Str');
has type  => (
    is  => 'ro',
    isa => enum([qw/string integer float double boolean date anyURI/])
);

1;