1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682
|
#include "UmlCom.h"
#include "UmlBaseActivityActionClasses.h"
#include "UmlActivityActionClasses.h"
#include "UmlItem.h"
#include "UmlOperation.h"
UmlSendObjectAction * UmlBaseSendObjectAction::create(UmlItem * parent, const char * s)
{
return (UmlSendObjectAction *) parent->create_(aSendObjectAction, s);
}
anItemKind UmlBaseSendObjectAction::kind() {
return aSendObjectAction;
}
UmlUnmarshallAction * UmlBaseUnmarshallAction::create(UmlItem * parent, const char * s)
{
return (UmlUnmarshallAction *) parent->create_(anUnmarshallAction, s);
}
anItemKind UmlBaseUnmarshallAction::kind() {
return anUnmarshallAction;
}
UmlSendSignalAction * UmlBaseSendSignalAction::create(UmlItem * parent, const char * s)
{
return (UmlSendSignalAction *) parent->create_(aSendSignalAction, s);
}
anItemKind UmlBaseSendSignalAction::kind() {
return aSendSignalAction;
}
UmlBroadcastSignalAction * UmlBaseBroadcastSignalAction::create(UmlItem * parent, const char * s)
{
return (UmlBroadcastSignalAction *) parent->create_(aBroadcastSignalAction, s);
}
anItemKind UmlBaseBroadcastSignalAction::kind() {
return aBroadcastSignalAction;
}
UmlValueSpecificationAction * UmlBaseValueSpecificationAction::create(UmlItem * parent, const char * s)
{
return (UmlValueSpecificationAction *) parent->create_(aValueSpecificationAction, s);
}
anItemKind UmlBaseValueSpecificationAction::kind() {
return aValueSpecificationAction;
}
const QCString & UmlBaseValueSpecificationAction::value() {
read_if_needed_();
return _value;
}
bool UmlBaseValueSpecificationAction::set_Value(const char * v) {
return set_it_(_value, v, setUmlActivityCmd);
}
#ifdef WITHCPP
const QCString & UmlBaseValueSpecificationAction::cppValue() {
read_if_needed_();
return _cpp_value;
}
bool UmlBaseValueSpecificationAction::set_CppValue(const char * v) {
return set_it_(_cpp_value, v, setCppActivityCmd);
}
#endif
#ifdef WITHJAVA
const QCString & UmlBaseValueSpecificationAction::javaValue() {
read_if_needed_();
return _java_value;
}
bool UmlBaseValueSpecificationAction::set_JavaValue(const char * v) {
return set_it_(_java_value, v, setJavaActivityCmd);
}
#endif
void UmlBaseValueSpecificationAction::unload(bool rec, bool del) {
_value = 0;
#ifdef WITHCPP
_cpp_value = 0;
#endif
#ifdef WITHJAVA
_java_value = 0;
#endif
UmlBaseActivityAction::unload(rec, del);
}
void UmlBaseValueSpecificationAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_value = UmlCom::read_string();
}
#ifdef WITHCPP
void UmlBaseValueSpecificationAction::read_cpp_() {
UmlBaseActivityAction::read_cpp_();
_cpp_value = UmlCom::read_string();
}
#endif
#ifdef WITHJAVA
void UmlBaseValueSpecificationAction::read_java_() {
UmlBaseActivityAction::read_java_();
_java_value = UmlCom::read_string();
}
#endif
UmlOpaqueAction * UmlBaseOpaqueAction::create(UmlItem * parent, const char * s)
{
return (UmlOpaqueAction *) parent->create_(anOpaqueAction, s);
}
anItemKind UmlBaseOpaqueAction::kind() {
return anOpaqueAction;
}
const QCString & UmlBaseOpaqueAction::behavior() {
read_if_needed_();
return _behavior;
}
bool UmlBaseOpaqueAction::set_Behavior(const char * v) {
return set_it_(_behavior, v, setUmlActivityCmd);
}
#ifdef WITHCPP
const QCString & UmlBaseOpaqueAction::cppBehavior() {
read_if_needed_();
return _cpp_behavior;
}
bool UmlBaseOpaqueAction::set_CppBehavior(const char * v) {
return set_it_(_cpp_behavior, v, setCppActivityCmd);
}
#endif
#ifdef WITHJAVA
const QCString & UmlBaseOpaqueAction::javaBehavior() {
read_if_needed_();
return _java_behavior;
}
bool UmlBaseOpaqueAction::set_JavaBehavior(const char * v) {
return set_it_(_java_behavior, v, setJavaActivityCmd);
}
#endif
void UmlBaseOpaqueAction::unload(bool rec, bool del) {
_behavior = 0;
#ifdef WITHCPP
_cpp_behavior = 0;
#endif
#ifdef WITHJAVA
_java_behavior = 0;
#endif
UmlBaseActivityAction::unload(rec, del);
}
void UmlBaseOpaqueAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_behavior = UmlCom::read_string();
}
#ifdef WITHCPP
void UmlBaseOpaqueAction::read_cpp_() {
UmlBaseActivityAction::read_cpp_();
_cpp_behavior = UmlCom::read_string();
}
#endif
#ifdef WITHJAVA
void UmlBaseOpaqueAction::read_java_() {
UmlBaseActivityAction::read_java_();
_java_behavior = UmlCom::read_string();
}
#endif
UmlAcceptEventAction * UmlBaseAcceptEventAction::create(UmlItem * parent, const char * s)
{
return (UmlAcceptEventAction *) parent->create_(anAcceptEventAction, s);
}
anItemKind UmlBaseAcceptEventAction::kind() {
return anAcceptEventAction;
}
bool UmlBaseAcceptEventAction::isUnmarshall() {
read_if_needed_();
return _unmarshall;
}
bool UmlBaseAcceptEventAction::set_isUnmarshall(bool v) {
return set_it_(_unmarshall, v, setUnmarshallCmd);
}
bool UmlBaseAcceptEventAction::isTimeEvent() {
read_if_needed_();
return _timeevent;
}
bool UmlBaseAcceptEventAction::set_isTimeEvent(bool v) {
return set_it_(_timeevent, v, setTimeEventCmd);
}
const QCString & UmlBaseAcceptEventAction::trigger() {
read_if_needed_();
return _trigger;
}
bool UmlBaseAcceptEventAction::set_Trigger(const char * v) {
return set_it_(_trigger, v, setUmlTriggerCmd);
}
#ifdef WITHCPP
const QCString & UmlBaseAcceptEventAction::cppTrigger() {
read_if_needed_();
return _cpp_trigger;
}
bool UmlBaseAcceptEventAction::set_CppTrigger(const char * v) {
return set_it_(_cpp_trigger, v, setCppTriggerCmd);
}
#endif
#ifdef WITHJAVA
const QCString & UmlBaseAcceptEventAction::javaTrigger() {
read_if_needed_();
return _java_trigger;
}
bool UmlBaseAcceptEventAction::set_JavaTrigger(const char * v) {
return set_it_(_java_trigger, v, setJavaTriggerCmd);
}
#endif
void UmlBaseAcceptEventAction::unload(bool rec, bool del) {
_trigger = 0;
#ifdef WITHCPP
_cpp_trigger = 0;
#endif
#ifdef WITHJAVA
_java_trigger = 0;
#endif
UmlBaseActivityAction::unload(rec, del);
}
void UmlBaseAcceptEventAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_unmarshall = UmlCom::read_bool();
_timeevent = UmlCom::read_bool();
_trigger = UmlCom::read_string();
}
#ifdef WITHCPP
void UmlBaseAcceptEventAction::read_cpp_() {
UmlBaseActivityAction::read_cpp_();
_cpp_trigger = UmlCom::read_string();
}
#endif
#ifdef WITHJAVA
void UmlBaseAcceptEventAction::read_java_() {
UmlBaseActivityAction::read_java_();
_java_trigger = UmlCom::read_string();
}
#endif
UmlCallOperationAction * UmlBaseCallOperationAction::create(UmlItem * parent, const char * s)
{
return (UmlCallOperationAction *) parent->create_(aCallOperationAction, s);
}
anItemKind UmlBaseCallOperationAction::kind() {
return aCallOperationAction;
}
bool UmlBaseCallOperationAction::isSynchronous() {
read_if_needed_();
return _synchronous;
}
bool UmlBaseCallOperationAction::set_isSynchronous(bool v) {
return set_it_(_synchronous, v, setFlagCmd);
}
UmlOperation * UmlBaseCallOperationAction::operation() {
read_if_needed_();
return _operation;
}
bool UmlBaseCallOperationAction::set_Operation(UmlOperation * v) {
UmlCom::send_cmd(_identifier, setDefCmd, (v == 0) ? (void *) v : ((UmlBaseItem *) v)->_identifier);
if (UmlCom::read_bool()) {
_operation = v;
return TRUE;
}
else
return FALSE;
}
void UmlBaseCallOperationAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_synchronous = UmlCom::read_bool();
_operation = (UmlOperation *) UmlBaseItem::read_();
}
UmlCallBehaviorAction * UmlBaseCallBehaviorAction::create(UmlItem * parent, const char * s)
{
return (UmlCallBehaviorAction *) parent->create_(aCallBehaviorAction, s);
}
anItemKind UmlBaseCallBehaviorAction::kind() {
return aCallBehaviorAction;
}
bool UmlBaseCallBehaviorAction::isSynchronous() {
read_if_needed_();
return _synchronous;
}
bool UmlBaseCallBehaviorAction::set_isSynchronous(bool v) {
return set_it_(_synchronous, v, setFlagCmd);
}
UmlItem * UmlBaseCallBehaviorAction::behavior() {
read_if_needed_();
return _behavior;
}
bool UmlBaseCallBehaviorAction::set_Behavior(UmlItem * v) {
UmlCom::send_cmd(_identifier, setDefCmd, (v == 0) ? (void *) v : ((UmlBaseItem *) v)->_identifier);
if (UmlCom::read_bool()) {
_behavior = v;
return TRUE;
}
else
return FALSE;
}
void UmlBaseCallBehaviorAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_synchronous = UmlCom::read_bool();
_behavior = UmlBaseItem::read_();
}
UmlClearVariableValueAction * UmlBaseClearVariableValueAction::create(UmlItem * parent, const char * s)
{
return (UmlClearVariableValueAction *) parent->create_(aClearVariableValueAction, s);
}
anItemKind UmlBaseClearVariableValueAction::kind() {
return aClearVariableValueAction;
}
UmlReadVariableValueAction * UmlBaseReadVariableValueAction::create(UmlItem * parent, const char * s)
{
return (UmlReadVariableValueAction *) parent->create_(aReadVariableValueAction, s);
}
anItemKind UmlBaseReadVariableValueAction::kind() {
return aReadVariableValueAction;
}
UmlWriteVariableValueAction * UmlBaseWriteVariableValueAction::create(UmlItem * parent, const char * s)
{
return (UmlWriteVariableValueAction *) parent->create_(aWriteVariableValueAction, s);
}
anItemKind UmlBaseWriteVariableValueAction::kind() {
return aWriteVariableValueAction;
}
UmlAddVariableValueAction * UmlBaseAddVariableValueAction::create(UmlItem * parent, const char * s)
{
return (UmlAddVariableValueAction *) parent->create_(anAddVariableValueAction, s);
}
anItemKind UmlBaseAddVariableValueAction::kind() {
return anAddVariableValueAction;
}
bool UmlBaseAddVariableValueAction::isReplaceAll() {
read_if_needed_();
return _replace_all;
}
bool UmlBaseAddVariableValueAction::set_isReplaceAll(bool v) {
return set_it_(_replace_all, v, setFlagCmd);
}
void UmlBaseAddVariableValueAction::read_uml_() {
UmlBaseAccessVariableValueAction::read_uml_();
_replace_all = UmlCom::read_bool();
}
UmlRemoveVariableValueAction * UmlBaseRemoveVariableValueAction::create(UmlItem * parent, const char * s)
{
return (UmlRemoveVariableValueAction *) parent->create_(aRemoveVariableValueAction, s);
}
anItemKind UmlBaseRemoveVariableValueAction::kind() {
return aRemoveVariableValueAction;
}
bool UmlBaseRemoveVariableValueAction::isRemoveDuplicates() {
read_if_needed_();
return _remove_duplicates;
}
bool UmlBaseRemoveVariableValueAction::set_isRemoveDuplicates(bool v) {
return set_it_(_remove_duplicates, v, setFlagCmd);
}
void UmlBaseRemoveVariableValueAction::read_uml_() {
UmlBaseAccessVariableValueAction::read_uml_();
_remove_duplicates = UmlCom::read_bool();
}
UmlAcceptCallAction * UmlBaseAcceptCallAction::create(UmlItem * parent, const char * s)
{
return (UmlAcceptCallAction *) parent->create_(anAcceptCallAction, s);
}
anItemKind UmlBaseAcceptCallAction::kind() {
return anAcceptCallAction;
}
const QCString & UmlBaseAcceptCallAction::trigger() {
read_if_needed_();
return _trigger;
}
bool UmlBaseAcceptCallAction::set_Trigger(const char * v) {
return set_it_(_trigger, v, setUmlTriggerCmd);
}
#ifdef WITHCPP
const QCString & UmlBaseAcceptCallAction::cppTrigger() {
read_if_needed_();
return _cpp_trigger;
}
bool UmlBaseAcceptCallAction::set_CppTrigger(const char * v) {
return set_it_(_cpp_trigger, v, setCppTriggerCmd);
}
#endif
#ifdef WITHJAVA
const QCString & UmlBaseAcceptCallAction::javaTrigger() {
read_if_needed_();
return _java_trigger;
}
bool UmlBaseAcceptCallAction::set_JavaTrigger(const char * v) {
return set_it_(_java_trigger, v, setJavaTriggerCmd);
}
#endif
void UmlBaseAcceptCallAction::unload(bool rec, bool del) {
_trigger = 0;
#ifdef WITHCPP
_cpp_trigger = 0;
#endif
#ifdef WITHJAVA
_java_trigger = 0;
#endif
UmlBaseActivityAction::unload(rec, del);
}
void UmlBaseAcceptCallAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_trigger = UmlCom::read_string();
}
#ifdef WITHCPP
void UmlBaseAcceptCallAction::read_cpp_() {
UmlBaseActivityAction::read_cpp_();
_cpp_trigger = UmlCom::read_string();
}
#endif
#ifdef WITHJAVA
void UmlBaseAcceptCallAction::read_java_() {
UmlBaseActivityAction::read_java_();
_java_trigger = UmlCom::read_string();
}
#endif
UmlReplyAction * UmlBaseReplyAction::create(UmlItem * parent, const char * s)
{
return (UmlReplyAction *) parent->create_(aReplyAction, s);
}
anItemKind UmlBaseReplyAction::kind() {
return aReplyAction;
}
const QCString & UmlBaseReplyAction::replyToCall() {
read_if_needed_();
return _trigger;
}
bool UmlBaseReplyAction::set_ReplyToCall(const char * v) {
return set_it_(_trigger, v, setUmlTriggerCmd);
}
#ifdef WITHCPP
const QCString & UmlBaseReplyAction::cppReplyToCall() {
read_if_needed_();
return _cpp_trigger;
}
bool UmlBaseReplyAction::set_CppReplyToCall(const char * v) {
return set_it_(_cpp_trigger, v, setCppTriggerCmd);
}
#endif
#ifdef WITHJAVA
const QCString & UmlBaseReplyAction::javaReplyToCall() {
read_if_needed_();
return _java_trigger;
}
bool UmlBaseReplyAction::set_JavaReplyToCall(const char * v) {
return set_it_(_java_trigger, v, setJavaTriggerCmd);
}
#endif
void UmlBaseReplyAction::unload(bool rec, bool del) {
_trigger = 0;
#ifdef WITHCPP
_cpp_trigger = 0;
#endif
#ifdef WITHJAVA
_java_trigger = 0;
#endif
UmlBaseActivityAction::unload(rec, del);
}
void UmlBaseReplyAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_trigger = UmlCom::read_string();
}
#ifdef WITHCPP
void UmlBaseReplyAction::read_cpp_() {
UmlBaseActivityAction::read_cpp_();
_cpp_trigger = UmlCom::read_string();
}
#endif
#ifdef WITHJAVA
void UmlBaseReplyAction::read_java_() {
UmlBaseActivityAction::read_java_();
_java_trigger = UmlCom::read_string();
}
#endif
UmlCreateObjectAction * UmlBaseCreateObjectAction::create(UmlItem * parent, const char * s)
{
return (UmlCreateObjectAction *) parent->create_(aCreateObjectAction, s);
}
anItemKind UmlBaseCreateObjectAction::kind() {
return aCreateObjectAction;
}
const QCString & UmlBaseCreateObjectAction::classifier() {
read_if_needed_();
return _classifier;
}
bool UmlBaseCreateObjectAction::set_Classifier(const char * v) {
return set_it_(_classifier, v, setDefCmd);
}
void UmlBaseCreateObjectAction::unload(bool rec, bool del) {
_classifier = 0;
UmlBaseActivityAction::unload(rec, del);
}
void UmlBaseCreateObjectAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_classifier = UmlCom::read_string();
}
UmlDestroyObjectAction * UmlBaseDestroyObjectAction::create(UmlItem * parent, const char * s)
{
return (UmlDestroyObjectAction *) parent->create_(aDestroyObjectAction, s);
}
anItemKind UmlBaseDestroyObjectAction::kind() {
return aDestroyObjectAction;
}
bool UmlBaseDestroyObjectAction::isDestroyLinks() {
read_if_needed_();
return _links;
}
bool UmlBaseDestroyObjectAction::set_isDestroyLinks(bool v) {
return set_it_(_links, v, setTypeCmd);
}
bool UmlBaseDestroyObjectAction::isDestroyOwnedObjects() {
read_if_needed_();
return _owned_objects;
}
bool UmlBaseDestroyObjectAction::set_isDestroyOwnedObjects(bool v) {
return set_it_(_owned_objects, v, setFlagCmd);
}
void UmlBaseDestroyObjectAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_links = UmlCom::read_bool();
_owned_objects = UmlCom::read_bool();
}
UmlTestIdentityAction * UmlBaseTestIdentityAction::create(UmlItem * parent, const char * s)
{
return (UmlTestIdentityAction *) parent->create_(aTestIdentityAction, s);
}
anItemKind UmlBaseTestIdentityAction::kind() {
return aTestIdentityAction;
}
UmlRaiseExceptionAction * UmlBaseRaiseExceptionAction::create(UmlItem * parent, const char * s)
{
return (UmlRaiseExceptionAction *) parent->create_(aRaiseExceptionAction, s);
}
anItemKind UmlBaseRaiseExceptionAction::kind() {
return aRaiseExceptionAction;
}
UmlReduceAction * UmlBaseReduceAction::create(UmlItem * parent, const char * s)
{
return (UmlReduceAction *) parent->create_(aReduceAction, s);
}
anItemKind UmlBaseReduceAction::kind() {
return aReduceAction;
}
bool UmlBaseReduceAction::isOrdered() {
read_if_needed_();
return _ordered;
}
bool UmlBaseReduceAction::set_isOrdered(bool v) {
return set_it_(_ordered, v, setFlagCmd);
}
UmlItem * UmlBaseReduceAction::reducer() {
read_if_needed_();
return _reducer;
}
bool UmlBaseReduceAction::set_Reducer(UmlItem * v) {
UmlCom::send_cmd(_identifier, setDefCmd, (v == 0) ? (void *) v : ((UmlBaseItem *) v)->_identifier);
if (UmlCom::read_bool()) {
_reducer = v;
return TRUE;
}
else
return FALSE;
}
void UmlBaseReduceAction::read_uml_() {
UmlBaseActivityAction::read_uml_();
_ordered = UmlCom::read_bool();
_reducer = UmlBaseItem::read_();
}
|