annotate Lib/IMPL/Web/View/Metadata/FormMeta.pm @ 363:d67e45705be5

sync, model metadata
author cin
date Fri, 29 Nov 2013 11:04:19 +0400
parents 715b9959b207
children 82b6c967bcf1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
362
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
1 package IMPL::Web::View::Metadata::FormMeta;
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
2 use strict;
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
3
363
d67e45705be5 sync, model metadata
cin
parents: 362
diff changeset
4 use IMPL::Const qw(:prop);
362
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
5 use IMPL::declare {
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
6 base => [
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
7 'IMPL::Object' => undef
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
8 ],
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
9 props => [
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
10 decl => PROP_RO,
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
11 schema => PROP_RO,
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
12 nodes => PROP_RO,
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
13 errors => PROP_RO
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
14 ]
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
15 };
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
16
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
17
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
18
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
19 1;
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
20
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
21 __END__
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
22
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
23 =pod
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
24
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
25 =head1 NAME
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
26
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
27 =head1 SYNOPSIS
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
28
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
29 =head1 DESCRIPTION
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
30
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
31 Метаданные по модели, являющейся частью формы. Элемент формы описывается
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
32 несколькими компонентами:
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
33
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
34 =over
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
35
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
36 =item * schema
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
37
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
38 Схема текущего элемента, СomlexType, SimpleType, ComplexNode или SimpleNode
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
39
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
40 =item * decl
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
41
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
42 Сам элемент формы, который присутствует в родительском контейнере. Объявление
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
43 может совпадать со схемой в случае, когда это был SimpleNode или ComplexNode,
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
44 иначе это Node ссылающийся на заранее обпределенный тип.
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
45
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
46 =item * nodes
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
47
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
48 Список узлов документа, которые являются экземплярами текущего элемента, в
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
49 случае, если этот элемен не является множественным (maxOccur=1), тогда здесь
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
50 должен быть только один элемент.
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
51
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
52 =item * errors
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
53
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
54 Список ошибок относящихся к данному элементу.
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
55
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
56 =back
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
57
715b9959b207 WebView: initial work on metadata providers
cin
parents:
diff changeset
58 =cut