Push model part 1 of 2
This commit is contained in:
parent
a6af9e477a
commit
8e4a29515e
247
models/128069.diagram
Normal file
247
models/128069.diagram
Normal file
@ -0,0 +1,247 @@
|
||||
format 223
|
||||
|
||||
classcanvas 128069 class_ref 128069 // bankomat
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 248 228 2000 99 203
|
||||
end
|
||||
classcanvas 128197 class_ref 128197 // klient
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 28.4 767.2 2000 83 65
|
||||
end
|
||||
classcanvas 128325 class_ref 128325 // karta
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 35.4 1023.8 2000 81 61
|
||||
end
|
||||
classcanvas 128453 class_ref 128453 // sot
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 293.6 605.4 2000 77 57
|
||||
end
|
||||
classcanvas 128581 class_ref 128581 // konto
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 40 897.2 2000 81 63
|
||||
end
|
||||
classcanvas 128709 class_ref 128709 // bank
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 290 968 2000 103 125
|
||||
end
|
||||
classcanvas 128837 class_ref 128837 // watchdog
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 57 303 2000
|
||||
end
|
||||
classcanvas 128965 class_ref 128965 // serwisant
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 633 937 2000 83 55
|
||||
end
|
||||
classcanvas 129093 class_ref 129093 // konwojent
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 635 1023 2005 83 57
|
||||
end
|
||||
classcanvas 129221 class_ref 129221 // system_bankowy
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 282.4 840.6 2000
|
||||
end
|
||||
classcanvas 129349 class_ref 129349 // system_telefonii_komorkowej
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 496 610.2 2000
|
||||
end
|
||||
classcanvas 129605 class_ref 129605 // system_modulu_wplacajacego
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 80 137 2000
|
||||
end
|
||||
classcanvas 129733 class_ref 129733 // system_modulu_wyplacajacego
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 330 137 2000
|
||||
end
|
||||
classcanvas 129861 class_ref 129861 // system_uwierzytelniania
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 523.2 837.4 2000
|
||||
end
|
||||
classcanvas 129989 class_ref 129989 // system_czytnika_kart
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 490 280 2000
|
||||
end
|
||||
classcanvas 130117 class_ref 130117 // system_telekomunikacyjny
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 171 510 2000
|
||||
end
|
||||
classcanvas 130245 class_ref 136645 // kasetka
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 257.6 1.4 2000 97 61
|
||||
end
|
||||
classcanvas 130373 class_ref 136773 // wplata
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyzwh 6 571 2000 55 39
|
||||
end
|
||||
classcanvas 130501 class_ref 136901 // wyplata
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 6 610 2000
|
||||
end
|
||||
classcanvas 130629 class_ref 137029 // przelew
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 6.4 651.4 2000
|
||||
end
|
||||
classcanvas 130757 class_ref 137157 // system_drukowania_potwierdzen
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 430.4 438.8 2000
|
||||
end
|
||||
classcanvas 130885 class_ref 137285 // wydruk
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 707.6 436.2 2000
|
||||
end
|
||||
classcanvas 131013 class_ref 137413 // transakcja
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 95.8 617.8 2000
|
||||
end
|
||||
classcanvas 131141 class_ref 137541 // pin
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 55 1118 2000
|
||||
end
|
||||
classcanvas 131269 class_ref 137669 // loklizacja_banku
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 281 1147 2000
|
||||
end
|
||||
classcanvas 131397 class_ref 137797 // lokalizacja_bankomatu
|
||||
classdiagramsettings member_max_width 0 end
|
||||
xyz 18 379 2005
|
||||
end
|
||||
relationcanvas 131525 relation_ref 128069 // < Znajduje sie
|
||||
decenter_begin 787
|
||||
from ref 128069 z 2006 label "< Znajduje sie" italic max_width 255 xyz 167.5 375.5 3000 to ref 131397
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 164 399 3000 multiplicity_b_pos 233 394 3000
|
||||
end
|
||||
relationcanvas 131653 relation_ref 128197 // < Znajduje sie
|
||||
decenter_end 582
|
||||
from ref 128709 z 2001 label "< Znajduje sie" italic max_width 255 xyz 305 1105 3000 to ref 131269
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 324 1128 3000 multiplicity_b_pos 322 1099 3000
|
||||
end
|
||||
relationcanvas 131781 relation_ref 128325 // Posiada
|
||||
from ref 128197 z 2001 label "Posiada" italic max_width 255 xyz 54 849.5 3000 to ref 128581
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 50 878 3000 multiplicity_b_pos 55 838 3000
|
||||
end
|
||||
relationcanvas 131909 relation_ref 128453 // < Jest przypisa
|
||||
from ref 128581 z 2001 label "< Jest przypisa" italic max_width 255 xyz 39 976 3000 to ref 128325
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 61 1004 3000 multiplicity_b_pos 61 966 3000
|
||||
end
|
||||
relationcanvas 132037 relation_ref 128581 // <association>
|
||||
from ref 131141 z 2001 to ref 128325
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 59 1090 3000 multiplicity_b_pos 60 1099 3000
|
||||
end
|
||||
relationcanvas 132165 relation_ref 128709 // < Jest Zatrudniony
|
||||
decenter_begin 112
|
||||
from ref 128709 z 2001 label "< Jest Zatrudniony" italic max_width 255 xyz 467 959.5 3000 to ref 128965
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 618 973 3000 multiplicity_b_pos 402 989 3000
|
||||
end
|
||||
relationcanvas 132549 relation_ref 128965 // < Posiada
|
||||
decenter_end 497
|
||||
from ref 128837 z 2001 label "< Posiada" italic max_width 255 xyz 162 311 3000 to ref 128069
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 231 335 3000 multiplicity_b_pos 133 329 3000
|
||||
end
|
||||
relationcanvas 132677 relation_ref 129093 // < Jest obslugiwana
|
||||
from ref 131013 z 2001 label "< Jest obslugiwana" italic max_width 255 xyz 180.5 619.5 3000 to ref 128453
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 276 640 3000 multiplicity_b_pos 173 642 3000
|
||||
end
|
||||
relationcanvas 132805 relation_ref 129221 // < Posiada
|
||||
from ref 128709 z 2001 label "< Posiada" italic max_width 255 xyz 315 908.5 3000 to ref 129221
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 321 885 3000 multiplicity_b_pos 323 949 3000
|
||||
end
|
||||
relationcanvas 133701 relation_ref 129861 // Obsluguje
|
||||
decenter_begin 748
|
||||
from ref 129605 z 2001 label "Obsluguje" italic max_width 255 xyz 222 84 3000 to ref 130245
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 255 68 3000 multiplicity_b_pos 205 118 3000
|
||||
end
|
||||
relationcanvas 133829 relation_ref 129989 // Posiada
|
||||
decenter_begin 349
|
||||
from ref 128069 z 2001 label "Posiada" italic max_width 255 xyz 398 283.5 3000 to ref 129989
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 473 305 3000 multiplicity_b_pos 356 305 3000
|
||||
end
|
||||
relationcanvas 133957 relation_ref 130117 // Posiada
|
||||
decenter_begin 90
|
||||
decenter_end 54
|
||||
from ref 128069 z 2001 label "Posiada" italic max_width 255 xyz 195 446 3000 to ref 130117
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 169 491 3000 multiplicity_b_pos 234 437 3000
|
||||
end
|
||||
relationcanvas 134085 relation_ref 130245 // Posiada
|
||||
decenter_begin 901
|
||||
from ref 128069 z 2001 label "Posiada" italic max_width 255 xyz 382.5 409 3000 to ref 130757
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 452 419 3000 multiplicity_b_pos 356 419 3000
|
||||
end
|
||||
relationcanvas 134213 relation_ref 130373 // Komunikuje sie
|
||||
from ref 130117 z 2001 label "Komunikuje sie" italic max_width 255 xyz 253 562 3000 to ref 128453
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 289 586 3000 multiplicity_b_pos 258 555 3000
|
||||
end
|
||||
relationcanvas 134341 relation_ref 130501 // Komunikuje sie
|
||||
from ref 128453 z 2001 label "Komunikuje sie" italic max_width 255 xyz 298 736 3000 to ref 129221
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 322 821 3000 multiplicity_b_pos 317 668 3000
|
||||
end
|
||||
relationcanvas 134469 relation_ref 130629 // Obsluguje
|
||||
from ref 130757 z 2001 label "Obsluguje" italic max_width 255 xyz 644 441 3000 to ref 130885
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 692 462 3000 multiplicity_b_pos 640 463 3000
|
||||
end
|
||||
relationcanvas 134597 relation_ref 130757 // <association>
|
||||
from ref 130373 z 2001 to ref 131013
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 134725 relation_ref 130885 // <association>
|
||||
from ref 130501 z 2001 to ref 131013
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 134853 relation_ref 131013 // <association>
|
||||
from ref 130629 z 2001 to ref 131013
|
||||
no_role_a no_role_b
|
||||
no_multiplicity_a no_multiplicity_b
|
||||
end
|
||||
relationcanvas 134981 relation_ref 131141 // Obsluguje
|
||||
from ref 130245 z 2001 label "Obsluguje" italic max_width 255 xyz 344.5 84.5 3000 to ref 129733
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 382 118 3000 multiplicity_b_pos 323 68 3000
|
||||
end
|
||||
relationcanvas 135109 relation_ref 131269 // Posiada
|
||||
from ref 128069 z 2001 label "Posiada" italic max_width 255 xyz 356.5 202 3000 to ref 129733
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 385 182 3000 multiplicity_b_pos 355 247 3000
|
||||
end
|
||||
relationcanvas 135237 relation_ref 131397 // Posiada
|
||||
from ref 128069 z 2001 label "Posiada" italic max_width 255 xyz 196.5 203.5 3000 to ref 129605
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 174 182 3000 multiplicity_b_pos 226 242 3000
|
||||
end
|
||||
relationcanvas 135365 relation_ref 131525 // Posiada >
|
||||
from ref 129221 z 2001 label "Posiada >" italic max_width 255 xyz 433.5 843 3000 to ref 129861
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 506 863 3000 multiplicity_b_pos 402 865 3000
|
||||
end
|
||||
relationcanvas 135493 relation_ref 131653 // Komunikuje sie
|
||||
from ref 128453 z 2001 label "Komunikuje sie" italic max_width 255 xyz 396.5 616 3000 to ref 129349
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 481 636 3000 multiplicity_b_pos 379 639 3000
|
||||
end
|
||||
relationcanvas 135621 relation_ref 131781 // Zatrudnia >
|
||||
decenter_begin 888
|
||||
from ref 128709 z 2006 label "Zatrudnia >" italic max_width 255 xyz 486 1052 3000 to ref 129093
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 620 1060 3000 multiplicity_b_pos 402 1085 3000
|
||||
end
|
||||
relationcanvas 135749 relation_ref 131909 // Obsluguje
|
||||
from ref 128581 z 2001 label "Obsluguje" italic max_width 255 xyz 176 879.5 3000 to ref 129221
|
||||
no_role_a no_role_b
|
||||
multiplicity_a_pos 265 878 3000 multiplicity_b_pos 130 920 3000
|
||||
end
|
||||
end
|
13
models/69.session
Normal file
13
models/69.session
Normal file
@ -0,0 +1,13 @@
|
||||
window_sizes 1920 1018 342 1573 901 71
|
||||
|
||||
diagrams
|
||||
active classdiagram_ref 128069 // domain-model
|
||||
863 859 100 A4 0 0
|
||||
end
|
||||
show_stereotypes
|
||||
selected
|
||||
package_ref 129 // models
|
||||
open
|
||||
classview_ref 128069 // domain
|
||||
end
|
||||
end
|
13
models/cpp_includes
Normal file
13
models/cpp_includes
Normal file
@ -0,0 +1,13 @@
|
||||
// "a type" "needed cpp_includes"
|
||||
"vector" "#include <vector>
|
||||
using namespace std;"
|
||||
|
||||
"list" "#include <list>
|
||||
using namespace std;"
|
||||
|
||||
"map" "#include <map>
|
||||
using namespace std;"
|
||||
|
||||
"string" "#include <string>
|
||||
using namespace std;"
|
||||
|
332
models/generation_settings
Normal file
332
models/generation_settings
Normal file
@ -0,0 +1,332 @@
|
||||
|
||||
|
||||
cpp_h_extension "h" cpp_src_extension "cpp" cpp_h_add_extensions "" cpp_src_add_extensions "" java_extension "java" php_extension "php" python_extension "py" idl_extension "idl"
|
||||
cpp_inline_dont_force_incl_in_h
|
||||
|
||||
type_forms 15 // uml cpp java idl cpp_in cpp_out cpp_inout cpp_return
|
||||
"void" "void" "void" "void" "${type}" "${type} &" "${type}" "${type}"
|
||||
"any" "void *" "Object" "any" "const ${type}" "${type}" "${type} &" "${type}"
|
||||
"bool" "bool" "boolean" "boolean" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"char" "char" "char" "char" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"uchar" "unsigned char" "char" "octet" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"byte" "unsigned char" "byte" "octet" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"short" "short" "short" "short" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"ushort" "unsigned short" "short" "unsigned short" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"int" "int" "int" "long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"uint" "unsigned int" "int" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"long" "long" "long" "long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"ulong" "unsigned long" "long" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"float" "float" "float" "float" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"double" "double" "double" "double" "${type}" "${type} &" "${type} &" "${type}"
|
||||
"string" "string" "String" "string" "${type}" "${type} &" "${type} &" "${type}"
|
||||
|
||||
relations_stereotypes 5 // uml cpp java pythonidl
|
||||
"sequence" "vector" "Vector" "list" "sequence"
|
||||
"vector" "vector" "Vector" "list" "sequence"
|
||||
"list" "list" "List" "list" "sequence"
|
||||
"set" "set" "Set" "set" "sequence"
|
||||
"map" "map" "Map" "dict" "sequence"
|
||||
|
||||
classes_stereotypes 17 // uml cpp java php python idl
|
||||
"class" "class" "class" "class" "class" "valuetype"
|
||||
"trait" "class" "class" "trait" "class" "valuetype"
|
||||
"interface" "class" "interface" "interface" "class" "interface"
|
||||
"exception" "class" "class" "class" "class" "exception"
|
||||
"enum" "enum" "enum" "enum" "enum" "enum"
|
||||
"enum_class" "enum_class" "enum" "enum" "enum" "enum"
|
||||
"enum_pattern" "enum" "enum_pattern" "enum" "enum" "enum"
|
||||
"struct" "struct" "class" "class" "class" "struct"
|
||||
"union" "union" "class" "class" "class" "union"
|
||||
"typedef" "typedef" "ignored" "ignored" "ignored" "typedef"
|
||||
"template_typedef" "template_typedef" "ignored" "ignored" "ignored" "ignored"
|
||||
"boundary" "class" "class" "class" "class" "interface"
|
||||
"control" "class" "class" "class" "class" "valuetype"
|
||||
"entity" "class" "class" "class" "class" "valuetype"
|
||||
"actor" "ignored" "ignored" "ignored" "ignored" "ignored"
|
||||
"@interface" "ignored" "@interface" "ignored" "ignored" "ignored"
|
||||
"stereotype" "ignored" "ignored" "ignored" "ignored" "ignored"
|
||||
|
||||
cpp_enum_default_type_forms "${type}" "${type} &" "${type} &" "${type}" // in out inout return
|
||||
other_cpp_types_default_type_forms "const ${type} &" "${type} &" "${type} &" "${type}" // in out inout return
|
||||
|
||||
cpp_default_h_content "#ifndef ${NAMESPACE}_${NAME}_H
|
||||
#define ${NAMESPACE}_${NAME}_H
|
||||
|
||||
${comment}
|
||||
${includes}
|
||||
${declarations}
|
||||
${namespace_start}
|
||||
${definition}
|
||||
${namespace_end}
|
||||
#endif
|
||||
"
|
||||
cpp_default_src_content "${comment}
|
||||
${includes}
|
||||
${namespace_start}
|
||||
${members}
|
||||
${namespace_end}"
|
||||
cpp_default_class_decl "${comment}${template}class ${name}${inherit} {
|
||||
${members}};
|
||||
${inlines}
|
||||
"
|
||||
cpp_default_external_class_decl "${name}
|
||||
#include <${name}.h>
|
||||
"
|
||||
cpp_default_struct_decl "${comment}${template}struct ${name}${inherit} {
|
||||
${members}};
|
||||
${inlines}
|
||||
"
|
||||
cpp_default_union_decl "${comment}${template}union ${name} {
|
||||
${members}};
|
||||
${inlines}
|
||||
"
|
||||
cpp_default_enum_decl "${comment}enum ${name} {
|
||||
${items}};
|
||||
"
|
||||
cpp_default_enumclass_decl "${comment}enum class ${name} {
|
||||
${items}};
|
||||
"
|
||||
cpp_default_typedef_decl "${comment}typedef ${type} ${name};
|
||||
"cpp_default_template_typedef_decl "${comment}${template}using ${name} = ${inherit};
|
||||
"
|
||||
cpp_default_attribute_declaration " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
|
||||
" // multiplicity [..]
|
||||
cpp_default_enum_item_declaration " ${name}${value},${comment}"
|
||||
cpp_association_aggregation_declaration
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type} *> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${multiplicity}${value};
|
||||
" // multiplicity [..]
|
||||
cpp_aggregation_by_value_declaration
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
|
||||
" // multiplicity [..]
|
||||
cpp_get "get_${name}" inline const value_const public
|
||||
cpp_set "set_${name}" public
|
||||
cpp_default_operation_declaration " ${comment}${friend}${static}${inline}${virtual}${typeprefix}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
|
||||
"
|
||||
cpp_default_operation_definition "${comment}${inline}${typeprefix}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
|
||||
${body}}
|
||||
"
|
||||
cpp_indent_visibility " " cpp_indent_friendclass " " cpp_indent_subclass " "
|
||||
java_default_src_content "${comment}
|
||||
${package}
|
||||
${imports}
|
||||
${definition}"
|
||||
java_default_class_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} {
|
||||
${members}}
|
||||
"
|
||||
java_default_external_class_decl "${name}"
|
||||
java_default_interface_decl "${comment}${@}${visibility}${static}interface ${name}${extends} {
|
||||
${members}}
|
||||
"
|
||||
java5_default_enum_decl "${comment}${@}${visibility}${static}${final}${abstract}enum ${name}${implements} {
|
||||
${items};
|
||||
${members}}
|
||||
"
|
||||
java_default_enum_decl "${comment}${@}${visibility}${static}$final class ${name} {
|
||||
${members}
|
||||
private final int value;
|
||||
|
||||
public int value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static ${name} fromInt(int value) {
|
||||
switch (value) {
|
||||
${cases} default: throw new Error();
|
||||
}
|
||||
|
||||
}
|
||||
private ${name}(int v) { value = v; };
|
||||
}
|
||||
"
|
||||
java_default_attribute_declaration " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
|
||||
" // multiplicity N
|
||||
java5_default_enum_item_declaration " ${@}${name}${value},${comment}"
|
||||
java_default_enum_item_declaration " ${comment}${@}public static final int _${name}${value};
|
||||
public static final ${class} ${name} = new ${class}(_${name});
|
||||
"
|
||||
java_default_enum_case " case _${name}: return ${name};
|
||||
"
|
||||
java_association_aggregation_declaration
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
|
||||
" // multiplicity N
|
||||
java_get "get${Name}" final public
|
||||
java_set "set${Name}" public
|
||||
java_default_operation_definition " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
|
||||
${body}}
|
||||
"
|
||||
php_default_src_content "<?php
|
||||
${comment}
|
||||
${namespace}
|
||||
${require_once}
|
||||
${use}
|
||||
${definition}
|
||||
?>
|
||||
"
|
||||
php_default_class_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
|
||||
${members}}
|
||||
"
|
||||
php_default_enum_decl "${comment}${visibility}final class ${name} {
|
||||
${items}}
|
||||
"
|
||||
php_default_external_class_decl "${name}"
|
||||
php_default_interface_decl "${comment}interface ${name}${extends} {
|
||||
${members}}
|
||||
"
|
||||
php_default_trait_decl "${comment}trait ${name} {
|
||||
${members}}
|
||||
"
|
||||
php_default_attribute_declaration " ${comment}${visibility}${const}${static}${var}${name}${value};
|
||||
"
|
||||
php_default_enum_item_decl " const ${name}${value};${comment}
|
||||
"
|
||||
php_default_relation_declaration" ${comment}${visibility}${const}${static}${var}${name}${value};
|
||||
"
|
||||
php_get "get${Name}" final
|
||||
php_set "set${Name}"
|
||||
php_default_operation_definition " ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}${type}
|
||||
{
|
||||
${body}}
|
||||
"
|
||||
php_param_typed php_out_inout_by_ref python_2_2
|
||||
python_indent_step " "
|
||||
python_default_src_content "${comment}
|
||||
${import}
|
||||
${definition}"
|
||||
python_default_class_decl "class ${name}${inherit}:
|
||||
${docstring}${members}
|
||||
"
|
||||
python_default_enum_decl "class ${name}:
|
||||
${docstring}${members}
|
||||
"
|
||||
python_default_external_class_decl "${name}"
|
||||
python_default_attribute_declaration "${comment}${self}${name} = ${value}
|
||||
" // multiplicity 1
|
||||
"${comment}${self}${name} = ${stereotype}()
|
||||
" // multiplicity != 1
|
||||
python_default_enum_item_decl "${comment}${self}${name} = ${value}
|
||||
"
|
||||
python_default_relation_declaration"${comment}${self}${name} = ${value}
|
||||
" // multiplicity 1
|
||||
"${comment}${self}${name} = ${stereotype}()
|
||||
" // multiplicity != 1
|
||||
python_default_composition_declaration"${comment}${self}${name} = ${type}()
|
||||
" // multiplicity 1
|
||||
"${comment}${self}${name} = ${stereotype}()
|
||||
" // multiplicity != 1
|
||||
python_default_operation_definition "${@}${static}${abstract}def ${name}${(}${)}:
|
||||
${docstring}${body}
|
||||
"
|
||||
python_default_initoperation_definition "${@}${static}${abstract}def ${name}${(}${p0}${v0}${)}:
|
||||
${docstring}super(${class}, ${p0}).__init__()
|
||||
${body}
|
||||
"
|
||||
python_get "get${Name}"
|
||||
python_set "set${Name}"
|
||||
idl_default_src_content "#ifndef ${MODULE}_${NAME}_H
|
||||
#define ${MODULE}_${NAME}_H
|
||||
|
||||
${comment}
|
||||
${includes}
|
||||
${module_start}
|
||||
${definition}
|
||||
${module_end}
|
||||
#endif
|
||||
"
|
||||
idl_default_interface_decl "${comment}${abstract}${local}interface ${name}${inherit} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_valuetype_decl "${comment}${abstract}${custom}valuetype ${name}${inherit} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_struct_decl "${comment}struct ${name} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_typedef_decl "${comment}typedef ${type} ${name};
|
||||
"
|
||||
idl_default_exception_decl "${comment}exception ${name} {
|
||||
${members}};
|
||||
"
|
||||
idl_default_union_decl "${comment}union ${name} switch(${switch}) {
|
||||
${members}};
|
||||
"
|
||||
idl_default_enum_decl "${comment}enum ${name} {
|
||||
${items}};
|
||||
"
|
||||
idl_default_external_class_decl "${name}
|
||||
#include \"${name}.idl\"
|
||||
"
|
||||
idl_default_attribute_declaration " ${comment}${readonly}${attribute}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_default_valuetype_attribute_declaration " ${comment}${visibility}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${visibility}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_default_const_declaration " ${comment}const ${type} ${name}${value};
|
||||
" // multiplicity 1
|
||||
" ${comment}const ${stereotype}<${type}> ${name}${value};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}const ${stereotype}<${type},${multiplicity}> ${name}${value};
|
||||
" // multiplicity N
|
||||
idl_default_enum_item_declaration " ${name},${comment}"
|
||||
idl_default_union_item_declaration " ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
|
||||
idl_association_aggregation_declaration
|
||||
" ${comment}${readonly}${attribute}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_valuetype_association_aggregation_declaration
|
||||
" ${comment}${visibility}${type} ${name};
|
||||
" // multiplicity 1
|
||||
" ${comment}${visibility}${stereotype}<${type}> ${name};
|
||||
" // multiplicity * a..b
|
||||
" ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
|
||||
" // multiplicity N
|
||||
idl_union_association_aggregation_declaration
|
||||
" ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
|
||||
" ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
|
||||
idl_get "get_${name}"
|
||||
idl_set "set_${name}" twoways
|
||||
idl_default_operation_declaration " ${comment}${oneway}${type} ${name}${(}${)}${raisesnl}${raises};
|
||||
"
|
||||
mysqldefault_src_content "${comment}CREATE DATABASE IF NOT EXISTS ${name};
|
||||
use ${name};
|
||||
|
||||
${definition}"
|
||||
mysql_default_table_decl "DROP TABLE IF EXISTS ${name};
|
||||
CREATE TABLE ${name} ${definition}${comment};
|
||||
"
|
||||
mysql_default_column_decl " ${name} ${type}${notnull}${default}${autoincr}${comment}"
|
||||
mysql_default_key_decl " ${constraint}${modifier}KEY${name}${type} (${columns})${ref}${comment}"
|
||||
uml_get_name uml uml_set_name uml
|
||||
end
|
1
models/idl_includes
Normal file
1
models/idl_includes
Normal file
@ -0,0 +1 @@
|
||||
// "a type" "needed idl_includes"
|
Loading…
Reference in New Issue
Block a user