blob: 33603070561f1fd4fbb712152e5a5b55e10e70c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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/])
);
no Moose;
1;
|