annotate lib/IMPL/Class/PropertyInfo.pm @ 408:5c80e33f1218 ref20150831

added 'coarsen' function
author cin
date Mon, 07 Sep 2015 01:35:25 +0300
parents c6e90e02dd17
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
407
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
1 package IMPL::Class::PropertyInfo;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
2 use strict;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
3
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
4 BEGIN {
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
5 our @ISA = qw(IMPL::Class::MemberInfo);
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
6 }
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
7
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
8 require IMPL::Class::MemberInfo;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
9
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
10 our %CTOR = ( 'IMPL::Class::MemberInfo' => '@_' );
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
11
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
12 __PACKAGE__->mk_accessors(
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
13 qw(
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
14 type
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
15 getter
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
16 setter
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
17 ownerSet
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
18 isList
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
19 )
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
20 );
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
21 1;
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
22
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
23 __END__
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
24
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
25 =pod
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
26
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
27 =head1 NAME
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
28
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
29 C<IMPL::Class::PropertyInfo> - метаданные о свойствах объектов. Используются для отражения и
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
30 проверки данных объектов.
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
31
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
32 =head1 DESCRIPTION
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
33
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
34 В зависимости от типа каждый объект предоставляет способ хранения данных, например хеши позволяют
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
35 хранить состояние в виде ассоциативного массива и т.д. Информация о свойстве предоставляет определенный
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
36 уровень абстракции.
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
37
c6e90e02dd17 renamed Lib->lib
cin
parents:
diff changeset
38 =cut