3.2« Packages »

A set of packages can be found in the application modeling generated with BLU AGE® 2009 EDITION. It partly represents the generated project structure. Packages may be named according to designers preferences. The modeled application must necessarily contain some kinds of packages. See below.

3.2.1Packages tree-structure, « Target Application »

output_html_17ee354d.png

Figure 1 : “Packages” tree structure – target application modeling

Rules and stereotypes for mandatory packages

  • PK_TARGET

It stands for the application root package. Previous packages are not mandatory. This package is unique.

  • PK_SERVICE

It stands for the package where services are modeled. This package can be an external UML module. It must directly or indirectly descend from the « PK_TARGET » stereotyped package.

  • PK_BUSINESS

It stands for the package where the business objects are modeled. This package can be an external UML module. It must directly or indirectly descend from the « PK_TARGET » stereotyped package.

  • PK_WEB

It stands for the Packages container where presentations objects are modeled. This package can be an external UML module. It must directly or indirectly descend from the « PK_TARGET » stereotyped package.

  • PK_ROLES

It stands for the package where actor’s objects are modeled. This package can be an external UML module. It must directly or indirectly descend from the « PK_TARGET » stereotyped package.

  • PK_BUSINESS_OBJECT

It stands for the package where the « business objects » are modeled. This package can be an external UML module. It must directly descend from the « PK_BUSINESS » stereotyped package.

  • PK_ENTITY

It stands for the package where entities are modeled. This package can be an external UML module. It must directly descend from the « PK_BUSINESS » stereotyped package.

  • PK_REPORT

It stands for the package where the reports are modeled. This package can be an external UML module. It must directly or indirectly descend from the « PK_TARGET » stereotyped package.

3.2.2The « Profile » packages

BLU AGE® provides an extension of UML2 using static packages of type « profile ». These are included for use by the designer and are required in target application modeling allowing consistency in the definition of stereotypes and tags.

output_html_m2656ca22.png

Figure 2 : « Profiles » Packages

« Profile » Packages description

  • output_html_m5dd09ffc.png entity

It contains the stereotypes, the tagged values and enumerations for entities modeling.

  • output_html_m5dd09ffc.png bo

It contains the stereotypes, the tagged values and enumerations for business objects modeling.

  • output_html_m5dd09ffc.png presentation

It contains the stereotypes, the tagged values and enumerations for presentation (IHM) modeling.

  • output_html_m5dd09ffc.png service

It contains the stereotypes, the tagged values and enumerations for business services modeling.

  • output_html_m5dd09ffc.png datatype

It contains classes and data types for entities, business objects and services modeling.

  • output_html_m5dd09ffc.png webservice

It contains the stereotypes, the tagged values and enumerations for web services modeling.

  • output_html_m5dd09ffc.png persistence

It contains the stereotypes, the tagged values and enumerations for persistence layers modeling.

3.2.3General rules for target application modeling « Packages »

  • Package names must follow naming protocol rules found in J2EE ® SUN or .Net ® Microsoft coding norms :
    • package names must start with ‘$’, ‘_’ or a letter
    • they can only contain ‘$’, ‘_’, letters or numbers.

BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission