« wr_root/application/lib/wr_model1/models/MasterModel/CheckListExamples.pl
↑ Summary
wr_root/application/lib/wr_model1/models/MasterModel/References.pl »
| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | use v5.20; | |
| 4 | use utf8; | ||
| 5 | |||
| 6 | return [ | ||
| 7 | { | ||
| 8 | 'element' => [ | ||
| 9 | { | ||
| 10 | 5 | ▶ | 'cargo' => { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 5 | ▶ | 'type' => 'leaf', |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 'value_type' => 'string' | ||
| 13 | 3 | }, | |
| 14 | 'index_type' => 'integer', | ||
| 15 | 'name' => 'plain_hash', | ||
| 16 | 'type' => 'hash' | ||
| 17 | }, | ||
| 18 | { | ||
| 19 | 'auto_create_keys' => [ | ||
| 20 | 'yada' | ||
| 21 | ], | ||
| 22 | 'cargo' => { | ||
| 23 | 3 | 'type' => 'leaf', | |
| 24 | 'value_type' => 'string' | ||
| 25 | }, | ||
| 26 | 'index_type' => 'string', | ||
| 27 | 'name' => 'hash_with_auto_created_id', | ||
| 28 | 'type' => 'hash' | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | 'auto_create_keys' => [ | ||
| 32 | 'x', | ||
| 33 | 'y', | ||
| 34 | 'z' | ||
| 35 | ], | ||
| 36 | 'cargo' => { | ||
| 37 | 'type' => 'leaf', | ||
| 38 | 'value_type' => 'string' | ||
| 39 | }, | ||
| 40 | 'index_type' => 'string', | ||
| 41 | 'name' => 'hash_with_several_auto_created_id', | ||
| 42 | 'type' => 'hash' | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | 'cargo' => { | ||
| 46 | 'type' => 'leaf', | ||
| 47 | 'value_type' => 'string' | ||
| 48 | }, | ||
| 49 | 'default_keys' => [ | ||
| 50 | 'yada' | ||
| 51 | ], | ||
| 52 | 'index_type' => 'string', | ||
| 53 | 'name' => 'hash_with_default_id', | ||
| 54 | 'type' => 'hash' | ||
| 55 | }, | ||
| 56 | { | ||
| 57 | 'alias' => 'hash_with_default_id', | ||
| 58 | 'name' => 'hash_with_default_id_2' | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | 'cargo' => { | ||
| 62 | 'type' => 'leaf', | ||
| 63 | 'value_type' => 'string' | ||
| 64 | }, | ||
| 65 | 'default_keys' => [ | ||
| 66 | 'x', | ||
| 67 | 'y', | ||
| 68 | 'z' | ||
| 69 | ], | ||
| 70 | 'index_type' => 'string', | ||
| 71 | 'name' => 'hash_with_several_default_keys', | ||
| 72 | 'type' => 'hash' | ||
| 73 | }, | ||
| 74 | { | ||
| 75 | 'cargo' => { | ||
| 76 | 'type' => 'leaf', | ||
| 77 | 'value_type' => 'string' | ||
| 78 | }, | ||
| 79 | 'follow_keys_from' => '- hash_with_several_auto_created_id', | ||
| 80 | 'index_type' => 'string', | ||
| 81 | 'name' => 'hash_follower', | ||
| 82 | 'type' => 'hash' | ||
| 83 | }, | ||
| 84 | { | ||
| 85 | 'allow_keys' => [ | ||
| 86 | 'foo', | ||
| 87 | 'bar', | ||
| 88 | 'baz' | ||
| 89 | ], | ||
| 90 | 'cargo' => { | ||
| 91 | 'type' => 'leaf', | ||
| 92 | 'value_type' => 'string' | ||
| 93 | }, | ||
| 94 | 'index_type' => 'string', | ||
| 95 | 'name' => 'hash_with_allow', | ||
| 96 | 'type' => 'hash' | ||
| 97 | }, | ||
| 98 | { | ||
| 99 | 'allow_keys_from' => '- hash_with_several_auto_created_id', | ||
| 100 | 'cargo' => { | ||
| 101 | 'type' => 'leaf', | ||
| 102 | 'value_type' => 'string' | ||
| 103 | }, | ||
| 104 | 'index_type' => 'string', | ||
| 105 | 'name' => 'hash_with_allow_from', | ||
| 106 | 'type' => 'hash' | ||
| 107 | }, | ||
| 108 | { | ||
| 109 | 'cargo' => { | ||
| 110 | 'type' => 'leaf', | ||
| 111 | 'value_type' => 'string' | ||
| 112 | }, | ||
| 113 | 'index_type' => 'string', | ||
| 114 | 'name' => 'ordered_hash', | ||
| 115 | 'ordered' => 1, | ||
| 116 | 'type' => 'hash' | ||
| 117 | } | ||
| 118 | ], | ||
| 119 | 'name' => 'MasterModel::HashIdOfValues' | ||
| 120 | } | ||
| 121 | ] | ||
| 122 | ; | ||