annotate Lib/IMPL/Class/PropertyInfo.pm @ 297:52aae1b85084

Added transformations support to JSONView
author cin
date Mon, 11 Mar 2013 01:22:24 +0400
parents 4ddb27ff4a0b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 27
diff changeset
1 package IMPL::Class::PropertyInfo;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 27
diff changeset
2 use strict;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 27
diff changeset
3
278
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
4 BEGIN {
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
5 our @ISA = qw(IMPL::Class::MemberInfo);
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
6 }
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
7
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
8 require IMPL::Class::MemberInfo;
228
431db7034a88 Для синхронизации
andrei <andrei@nap21.upri>
parents: 209
diff changeset
9
431db7034a88 Для синхронизации
andrei <andrei@nap21.upri>
parents: 209
diff changeset
10 our %CTOR = ( 'IMPL::Class::MemberInfo' => '@_' );
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 27
diff changeset
11
278
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
12 __PACKAGE__->mk_accessors(
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
13 qw(
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
14 type
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
15 getter
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
16 setter
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
17 ownerSet
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
18 isList
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
19 )
4ddb27ff4a0b core refactoring
cin
parents: 275
diff changeset
20 );
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 27
diff changeset
21 1;
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 165
diff changeset
22
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 165
diff changeset
23 __END__
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 165
diff changeset
24
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 165
diff changeset
25 =pod
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 165
diff changeset
26
209
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
27 =head1 NAME
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
28
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
29 C<IMPL::Class::PropertyInfo> - метаданные о свойствах объектов. Используются для отражения и
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
30 проверки данных объектов.
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
31
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
32 =head1 DESCRIPTION
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
33
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
34 В зависимости от типа каждый объект предоставляет способ хранения данных, например хеши позволяют
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
35 хранить состояние в виде ассоциативного массива и т.д. Информация о свойстве предоставляет определенный
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
36 уровень абстракции.
a8db61d0ed33 IMPL::Class::Meta refactoring
cin
parents: 180
diff changeset
37
180
d1676be8afcc Перекодировка в utf-8
sourcer
parents: 165
diff changeset
38 =cut