« lib/Reaction/Meta/InterfaceModel/Object/DomainModelAttribute.pm
↑ Summary
lib/Reaction/Meta/Role.pm »
| 1 | package Reaction::Meta::InterfaceModel::Object::ParameterAttribute; | ||
| 2 | |||
| 3 | 6 | ▶ | use Reaction::Class; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 6 | ▶ | use namespace::clean -except => [ qw(meta) ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 6 | extends 'Reaction::Meta::Attribute'; | |
| 7 | |||
| 8 | |||
| 9 | 6 | has domain_model => ( | |
| 10 | isa => 'Str', | ||
| 11 | is => 'ro', | ||
| 12 | predicate => 'has_domain_model' | ||
| 13 | ); | ||
| 14 | |||
| 15 | 6 | has orig_attr_name => ( | |
| 16 | isa => 'Str', | ||
| 17 | is => 'ro', | ||
| 18 | predicate => 'has_orig_attr_name' | ||
| 19 | ); | ||
| 20 | |||
| 21 | 6 | __PACKAGE__->meta->make_immutable(inline_constructor => 0); | |
| 22 | |||
| 23 | 6 | 1; | |
| 24 | |||
| 25 | =head1 NAME | ||
| 26 | |||
| 27 | Reaction::Meta::InterfaceModel::Object::ParameterAttribute | ||
| 28 | |||
| 29 | =head1 DESCRIPTION | ||
| 30 | |||
| 31 | =head1 ATTRIBUTES | ||
| 32 | |||
| 33 | =head2 domain_model | ||
| 34 | |||
| 35 | =head2 orig_attr_name | ||
| 36 | |||
| 37 | =head1 AUTHORS | ||
| 38 | |||
| 39 | See L<Reaction::Class> for authors. | ||
| 40 | |||
| 41 | =head1 LICENSE | ||
| 42 | |||
| 43 | See L<Reaction::Class> for the license. | ||
| 44 | |||
| 45 | =cut | ||