changes so far for new moose / mop
[catagits/Reaction.git] / lib / Reaction / Meta / InterfaceModel / Object / ParameterAttribute.pm
CommitLineData
7adfd53f 1package Reaction::Meta::InterfaceModel::Object::ParameterAttribute;
2
3use Reaction::Class;
4
5class 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
211;
22
23=head1 NAME
24
25Reaction::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
37See L<Reaction::Class> for authors.
38
39=head1 LICENSE
40
41See L<Reaction::Class> for the license.
42
43=cut