Commit | Line | Data |
7adfd53f |
1 | package Reaction::Meta::InterfaceModel::Object::ParameterAttribute; |
2 | |
3 | use Reaction::Class; |
4 | |
5 | class ParameterAttribute is 'Reaction::Meta::Attribute', which { |
6 | has domain_model => ( |
7 | isa => 'Str', |
8 | is => 'ro', |
9 | predicate => 'has_domain_model' |
10 | ); |
11 | |
12 | has orig_attr_name => ( |
13 | isa => 'Str', |
14 | is => 'ro', |
15 | predicate => 'has_orig_attr_name' |
16 | ); |
17 | |
18 | implements new => as { shift->SUPER::new(@_); }; # work around immutable |
19 | }; |
20 | |
21 | 1; |
22 | |
23 | =head1 NAME |
24 | |
25 | Reaction::Meta::InterfaceModel::Object::ParameterAttribute |
26 | |
27 | =head1 DESCRIPTION |
28 | |
29 | =head1 ATTRIBUTES |
30 | |
31 | =head2 domain_model |
32 | |
33 | =head2 orig_attr_name |
34 | |
35 | =head1 AUTHORS |
36 | |
37 | See L<Reaction::Class> for authors. |
38 | |
39 | =head1 LICENSE |
40 | |
41 | See L<Reaction::Class> for the license. |
42 | |
43 | =cut |