Knowledge

Package (UML)

Source 📝

355: 170: 752: 17: 59:
When organizing functional models (use case models, workflow models etc.), use packages to model the real-world modular structure of the system being modeled. When organizing source code, use packages to represent the different layers of the source code. For instance:
128: 51:, node instances etc. can all be organized as packages, thus enabling a manageable organization of the myriad elements that a real-world UML model entails. 36:, and to provide a namespace for the grouped elements". A package may contain other packages, thus providing for a hierarchical organization of packages. 287: 106:
When organizing deployment models, use packages to represent the different types of deployment environments that you will be modeling. For instance:
716: 84:
When organizing component models, use packages to group the components according to ownership and/or reuse possibilities. For instance:
665: 518: 499: 817: 150: 726: 280: 427: 234: 381: 206: 812: 793: 273: 253: 213: 509: 191: 187: 473: 220: 660: 417: 593: 376: 202: 759: 685: 432: 296: 29: 731: 721: 695: 478: 386: 88: 315: 180: 786: 650: 407: 93: 556: 8: 227: 767: 598: 504: 147: 64: 779: 629: 588: 72: 655: 634: 624: 540: 354: 116: 39:
Pretty much all UML elements can be grouped into packages. Thus, classes, objects,
608: 468: 442: 422: 154: 44: 763: 700: 603: 514: 458: 412: 342: 806: 583: 535: 337: 33: 265: 320: 463: 402: 332: 122: 48: 169: 483: 40: 148:
OMG Unified Modeling Language (OMG UML), Infrastructure, V2.1.1
16: 751: 690: 194:. Unsourced material may be challenged and removed. 804: 787: 295: 281: 794: 780: 288: 274: 254:Learn how and when to remove this message 15: 727:List of Unified Modeling Language tools 805: 269: 746: 192:adding citations to reliable sources 163: 382:Object-oriented analysis and design 102:custom-built application components 13: 14: 829: 686:Systems Modeling Language (SysML) 99:custom-built framework components 89:commercial-off-the-shelf products 750: 353: 168: 818:Unified Modeling Language stubs 179:needs additional citations for 696:XML Metadata Interchange (XMI) 141: 1: 134: 766:. You can help Knowledge by 7: 377:Object-oriented programming 10: 834: 745: 113:pre-production environment 813:Unified Modeling Language 760:Unified Modeling Language 709: 691:UML eXchange Format (UXF) 678: 643: 617: 576: 569: 549: 528: 492: 451: 395: 369: 362: 351: 303: 297:Unified Modeling Language 30:Unified Modeling Language 732:Object Modeling in Color 722:Rational Unified Process 387:Object-oriented modeling 54: 20:Examples of UML Packages 316:Object Management Group 129:development environment 80:business services layer 110:production environment 21: 717:Glossary of UML terms 701:Executable UML (xUML) 19: 661:Interaction overview 188:improve this article 96:framework components 594:Composite structure 203:"Package" UML 153:2017-01-09 at the 65:presentation layer 32:is used "to group 22: 775: 774: 740: 739: 679:Derived languages 674: 673: 565: 564: 264: 263: 256: 238: 77:integration layer 73:data access layer 825: 796: 789: 782: 754: 747: 574: 573: 367: 366: 357: 290: 283: 276: 267: 266: 259: 252: 248: 245: 239: 237: 196: 172: 164: 158: 145: 117:integration test 69:controller layer 833: 832: 828: 827: 826: 824: 823: 822: 803: 802: 801: 800: 743: 741: 736: 705: 670: 639: 613: 561: 545: 524: 488: 447: 443:Profile diagram 391: 370:Object oriented 358: 349: 299: 294: 260: 249: 243: 240: 197: 195: 185: 173: 162: 161: 155:Wayback Machine 146: 142: 137: 57: 12: 11: 5: 831: 821: 820: 815: 799: 798: 791: 784: 776: 773: 772: 755: 738: 737: 735: 734: 729: 724: 719: 713: 711: 707: 706: 704: 703: 698: 693: 688: 682: 680: 676: 675: 672: 671: 669: 668: 663: 658: 653: 651:Communications 647: 645: 641: 640: 638: 637: 632: 627: 621: 619: 615: 614: 612: 611: 606: 601: 596: 591: 586: 580: 578: 571: 567: 566: 563: 562: 560: 559: 553: 551: 547: 546: 544: 543: 538: 532: 530: 526: 525: 523: 522: 515:Generalization 512: 507: 502: 496: 494: 490: 489: 487: 486: 481: 476: 471: 466: 461: 455: 453: 449: 448: 446: 445: 440: 435: 430: 425: 420: 415: 410: 405: 399: 397: 393: 392: 390: 389: 384: 379: 373: 371: 364: 360: 359: 352: 350: 348: 347: 346: 345: 343:James Rumbaugh 340: 335: 325: 324: 323: 318: 307: 305: 301: 300: 293: 292: 285: 278: 270: 262: 261: 176: 174: 167: 160: 159: 139: 138: 136: 133: 132: 131: 126: 120: 114: 111: 104: 103: 100: 97: 91: 82: 81: 78: 75: 70: 67: 56: 53: 9: 6: 4: 3: 2: 830: 819: 816: 814: 811: 810: 808: 797: 792: 790: 785: 783: 778: 777: 771: 769: 765: 762:article is a 761: 756: 753: 749: 748: 744: 733: 730: 728: 725: 723: 720: 718: 715: 714: 712: 708: 702: 699: 697: 694: 692: 689: 687: 684: 683: 681: 677: 667: 664: 662: 659: 657: 654: 652: 649: 648: 646: 642: 636: 633: 631: 630:State Machine 628: 626: 623: 622: 620: 616: 610: 607: 605: 602: 600: 597: 595: 592: 590: 587: 585: 582: 581: 579: 575: 572: 568: 558: 555: 554: 552: 548: 542: 539: 537: 534: 533: 531: 529:Extensibility 527: 520: 516: 513: 511: 508: 506: 503: 501: 498: 497: 495: 493:Relationships 491: 485: 482: 480: 477: 475: 472: 470: 467: 465: 462: 460: 457: 456: 454: 450: 444: 441: 439: 436: 434: 431: 429: 426: 424: 421: 419: 416: 414: 411: 409: 406: 404: 401: 400: 398: 394: 388: 385: 383: 380: 378: 375: 374: 372: 368: 365: 361: 356: 344: 341: 339: 338:Ivar Jacobson 336: 334: 331: 330: 329: 326: 322: 319: 317: 314: 313: 312: 311:Organizations 309: 308: 306: 302: 298: 291: 286: 284: 279: 277: 272: 271: 268: 258: 255: 247: 244:February 2009 236: 233: 229: 226: 222: 219: 215: 212: 208: 205: –  204: 200: 199:Find sources: 193: 189: 183: 182: 177:This article 175: 171: 166: 165: 156: 152: 149: 144: 140: 130: 127: 124: 121: 118: 115: 112: 109: 108: 107: 101: 98: 95: 92: 90: 87: 86: 85: 79: 76: 74: 71: 68: 66: 63: 62: 61: 52: 50: 46: 42: 37: 35: 31: 27: 18: 768:expanding it 757: 742: 710:Other topics 557:Multiplicity 437: 327: 321:UML Partners 310: 250: 241: 231: 224: 217: 210: 198: 186:Please help 181:verification 178: 143: 105: 83: 58: 38: 25: 23: 644:Interaction 519:Inheritance 505:Composition 500:Association 333:Grady Booch 125:environment 123:system test 119:environment 94:open-source 807:Categories 599:Deployment 541:Stereotype 510:Dependency 214:newspapers 135:References 45:components 618:Behaviour 589:Component 577:Structure 428:Interface 423:Component 408:Attribute 396:Structure 41:use cases 656:Sequence 635:Use case 625:Activity 570:Diagrams 484:Use case 459:Activity 452:Behavior 413:Artifact 363:Concepts 151:Archived 34:elements 609:Package 536:Profile 469:Message 438:Package 328:Persons 228:scholar 28:in the 26:package 666:Timing 604:Object 474:Method 433:Object 304:Actors 230:  223:  216:  209:  201:  157:p.158. 758:This 584:Class 550:Other 479:State 464:Event 418:Class 403:Actor 235:JSTOR 221:books 55:Usage 49:nodes 764:stub 517:(or 207:news 190:by 809:: 47:, 43:, 24:A 795:e 788:t 781:v 770:. 521:) 289:e 282:t 275:v 257:) 251:( 246:) 242:( 232:· 225:· 218:· 211:· 184:.

Index


Unified Modeling Language
elements
use cases
components
nodes
presentation layer
data access layer
commercial-off-the-shelf products
open-source
integration test
system test
development environment
OMG Unified Modeling Language (OMG UML), Infrastructure, V2.1.1
Archived
Wayback Machine

verification
improve this article
adding citations to reliable sources
"Package" UML
news
newspapers
books
scholar
JSTOR
Learn how and when to remove this message
v
t
e

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.