3.1BLU AGE® stereotypes and tags

There are a number of BLU AGE® specific stereotypes and tags which should be used in the UML model. This section describes them according to their usage.

3.1.1Packages

3.1.1.1Stereotypes

NameUML elementDescription
PK_BUSINESSpackagepackage where the « business objects » and the entities are modeled
PK_BUSINESS_OBJECTpackagepackage where the « business objects » are modeled
PK_ENTITYpackagepackage where the entities are modeled
PK_REPORTpackagepackage where the reports are modeled
PK_ROLESpackagepackage where actors’ objects are modeled
PK_SERVICEpackagepackage where services are modeled
PK_TARGETpackageapplication root package
PK_WEBpackagePackage container where presentations objects are modeled
PK_APP (As of ver 3.5.0)packagePackage for dynamic validators

3.1.1.2Tags

N/A

3.1.2Screen activity diagrams

3.1.2.1Stereotypes

NameUML elementDescription
AS_EXTSCREENSswimlane« Swimlane » containing link to external screens.
AS_SERVERswimlane« Swimlane » containing the business rules.
AS_SCREENswimlane« Swimlane » containing the screens.
AS_REPORTswimlane« Swimlane » containing the reports.
SEC_ERROR_PAGEscreen activity diagramDiagram where the application error page is modeled.
LOGIN_PAGEscreen activity diagramDiagram where the application login page is modeled.
GLOBAL_SCOPEscreen activity diagramDiagram where modeled links can be used in the whole application.
PACKAGE_SCOPEscreen activity diagramDiagram where modeled links can only be used on the package level.
COMPONENT_VIEWscreen activity diagramDiagram where a component (part of screen) is modeled.
START_PAGEscreen activity diagramDiagram where the application homepage is modeled.
PRE_CONTROLLERscreen activity diagramDiagram where SMR(s) ‘Screen Managing Rules’ invoked before the screen display are modeled.
REPORTbehavior actionAction which leads to a report creation

3.1.2.2Tags

NameUML elementDescription
SERVICE_RETURNMR outgoing flowSpecifies the RG execution result.
Exception.MessageMR outgoing flowSpecifies the error message to display when an exception occurs.
Exception.Exception_TypeMR outgoing flowSpecifies the type of exception.
REPORT.filenameReport actionSpecifies the name of the file generated by the report action.
REPORT.formatReport actionSpecifies the report type
REPORT.toSaveReport actionSpecifies if the document must be saved on the hard disk.

3.1.3Business services

3.1.3.1Interfaces and operations

3.1.3.1.1Stereotypes
NameUML elementDescription
createInterface/OperationSpecifies a service to insert into database a new entry of the input object.
create_allInterface/OperationSpecifies a service able to insert into database new entries of the input List.
updateInterface/OperationSpecifies a service to update in database the entry corresponding to the input object.
update _allInterface/OperationSpecifies a service able to update in database the entries corresponding to the input List.
deleteInterface/OperationSpecifies a service able to delete from database the entry corresponding to the input object.
delete_allInterface/OperationSpecifies a service able to delete from database the entries corresponding to the input List.
find_by_idInterface/OperationSpecifies a service able to search in database for the entry with the same identifier as the input object.
find_allInterface/OperationSpecifies a service able to search in database for all the entries in the table.
find_by_propertiesInterface/OperationSpecifies a service able to search in database for the entry with the same properties as the input object.
loginInterface/OperationSpecifies a login service.
logoutInterface/OperationSpecifies a logout service.
complexInterface/OperationSpecifies a service described in a sequence diagram.
specificInterface/OperationSpecifies a service manually implemented.
copyInterface/OperationSpecifies a service for object copy.
ClientWebServiceInterfaceSpecifies a service for the web service that uses the displayed web service.
ServerWebServiceInterfaceSpecifies a service for the displayed web service.
BROperationSpecifies a service implemented with business rules defined in a .drl ‘DocObject Resource Locator’ file
hql_operationOperationSpecifies a service executing a hql ‘Hibernate Query Language’ query.
processOperationSpecifies a service described in an activity diagram.
validationService (As of ver 3.5.0)OperationSpecifies a service for dynamic validation

msgKey(As of ver 3.5.0)

Opaque actionContains a message for the validation service

msgBundle(As of ver 3.5.0)

ClassContains the keys and the messages for the validation service
 sql_operation

(As of ver3.5.1)
OperationSpecifies a service executing a sql 'tagsql_query'.
3.1.3.1.2Tags
NameUML elementDescription
create_all.boInterface/OperationSpecifies the business object type of the list parameter.
create_all.clearSessionInterface/OperationPerforms a clearSession along with the create_all operation
create_all.refreshSessionInterface/OperationPerforms a refreshSession along with the create_all operation
create.clearSessionInterface/OperationPerforms a clearSession along with the create operation
create.refreshSessionInterface/OperationPerforms a refreshSession along with the create operation
delete_all.boInterface/OperationSpecifies the business object type of the list parameter.
delete_all.clearSessionInterface/OperationPerforms a clearSession along with the delete_all operation
delete_all.refreshSessionInterface/OperationPerforms a refreshSession along with the delete_all operation
delete.clearSessionInterface/OperationPerforms a clearSession along with the delete operation
delete.refreshSessionInterface/OperationPerforms a refreshSession along with delete operation
find_all.boInterface/OperationSpecifies business object type of the return list.
find_by_id.clearSessionInterface/OperationPerforms a clearSession along with the find_by_id operation
find_by_id.refreshSessionInterface/OperationPerforms a refreshSession along with the find_by_id operation
update_all.boInterface/OperationSpecifies business object type of the list parameter.
update_all.clearSessionInterface/OperationPerforms a clearSession along with the update_all operation
update_all.refreshSessionInterface/OperationPerforms a refreshSession along with the update _all operation
update.clearSessionInterface/OperationPerforms a clearSession along with the update operation
update.refreshSessionInterface/OperationPerforms a refreshSession along with the update operation
specific.implementationInterface/OperationSpecifies the class name implementation used for the specific service
ClientWebService. clientPathTypeRetourInterfaceList VO package on the customer side.
ClientWebService. serverPathTypeRetour InterfaceList VO package on the server side
ClientWebService. typeRetour InterfaceVO (Value Object) type
ClientWebService. targetNamespaceInterfaceThe XML namespace of the WSDL (Web Services Description Language)
ClientWebService.urlInterfaceURL of the web service displayed
ServerWebService. implementationInterfaceClass implementation of the displayed service.
BR.packageOperationDefines the package location of the .drl file which describes the business rules
hql_operation.boOperationSpecifies object type of the return list.
hql_operation.hql_requestOperationSpecifies the hql query invoked by the service.
check_null.messageParameterSpecifies the message exception thrown if the concerned parameter is null
brParamInParameterSpecifies the parameter is IN
brParamOutParameterSpecifies the parameter is OUT
brParamGlobalParameterSpecifies the parameter is IN and OUT
 sql_operation.bo

(As of ver3.5.1)
OperationSpecifies object type of the return list.
 sql_operation.sql_request

(As of ver3.5.1)
OperationSpecifies the sql query invoked by the service.
 sql_operation.use_entity

(As of ver3.5.1)
OperationSpecifies the entity persisted of return.

3.1.3.2Business service activity diagrams

3.1.3.2.1Stereotypes

N/A

3.1.3.2.2Tags

N/A

3.1.3.3Business service sequence diagrams

3.1.3.3.1Stereotypes
NameUML elementDescription
ifmessageSpecifies the beginning of “if” conditional bloc. The condition must be passed as an argument
elsemessageSpecifies the beginning of “else” conditional bloc.
elseifmessageSpecifies the beginning of “elseif” conditional bloc The condition must be passed as an argument
iteratemessageSpecifies the beginning of a collection iteration bloc
endmessageSpecifies the end of either a conditional or an iteration bloc
3.1.3.3.2Tags
NameUML elementDescription
itemiterate callSpecifies the name of the current iteration element
listiterate callSpecifies the collection name on which the iteration is processed
typeiterate callSpecifies the element type of the list

3.1.4Business objects

3.1.4.1Entities

3.1.4.1.1Stereotypes
NameUML elementDescription
EntityClassDefines the class as an entity
TransientObjectClassDefines the class as a transient entity
CriteriaClassDefines the class as a criteria search class.
identifierPropertyDefines the attribute as an identifier.
passwordPropertyDefines the attribute as a user password.
RequiredPropertyDefines the attribute as mandatory.
rolePropertyDefines the attribute as representing a role (actor).
UniquePropertyDefines the attribute as unique.
useridPropertyDefines the attribute as a user name.
3.1.4.1.2Tags
NameUML elementDescription
table.tableClassSpecifies the table name corresponding to the entity.
Entity.cacheClassSpecifies the cache strategy for the entity

entity.cache.

maxElementsInMemory

ClassSpecifies the max number of cached elements

entity.cache.

overflowToDisk

ClassSpecifies whether elements can be stored on the disk

entity.cache.

timeToldlSeconds

ClassSpecifies an element inactivity period before cache expires.

entity.cache.

timeToLiveSeconds

ClassSpecifies an element survival time before cache expires
entity.defaultOrderClassSpecifies the attribute on which the default order is performed

entity.entity.

dynamicInsert

ClassSpecifies whether the SQL INSERT order shall be generated during the execution or if it must only contain columns without « null » values.

Entity.entity.

dynamicUpdate

ClassSpecifies whether the SQL UPDATE order must be generated during the execution or if it must only contain columns with values that have changed.
Entity.generator.classClassDefines which class is used to generate a class persistency unique identifier.
Entity.inheritanceClassDefines the inheritance strategy.
Entity.sequence.nameClassSpecifies an existing sequence in the database.
Entity.versionClassSpecifies the name of the version column
column.indexPropertyIndicates the name of an index to create on an attribute/column entity.
Column.lengthPropertyIndicates the column length (indicating the column length can produce false hibernate mappings because the datatypes depend of the database considered).
ColumnPropertyStands for the column name.
 comment (As of ver 3.5.2)Class Enable to add comments in the hibernate files. (some SGBD do not support comments)

3.1.4.2Associations

3.1.4.2.1Stereotypes

N/A

3.1.4.2.2Tags
NameUML elementDescription
table.tableAssociationSpecifies the table name corresponding to the entity.
Association.cacheAssociationSpecifies the cache strategy for the association

association.cache.

maxElementsInMemory

AssociationSpecifies the max number of cached elements

association.cache.

overflowToDisk

AssociationSpecifies whether elements can be stored on the disk

association.cache.

timeToldlSeconds

AssociationSpecifies an element inactivity period before cache expires.

association.cache.

timeToLiveSeconds

AssociationSpecifies an element survival time left before cache expires
cascadeEnd associationPlaces the association cascade attribute.
collectionTypeEnd associationIndicates the collection mapping type.
LazyEnd associationIndicates the way an association should be loaded.
orderByColumnsEnd associationIndicates the column name used in the collection sorting out.
outerjoinEnd associationActivates the loading through outer joins.
foreign.identifierEnd associationIndicates whether the entity can use the foreign entity’s identifier.
sort.typeEnd associationIndicates the way collection elements may be sorted.
whereClauseEnd associationIndicates the SQL condition for data to be extracted in the collection.

3.1.4.3Business objects

3.1.4.3.1Stereotypes
NameUML elementDescription
attachOperationThe operation is used to add an element to a list (association)
detachOperationThe operation is used to remove an element from a list (association)
formulaOperationThe operation describes its implementation in Java or .NET.
GetterOperationThe operation is used to get an object or a data type value.
Ocl_implOperationThe operation describes its implementation in OCL.
Sql_implOperationThe operation describes its implementation as a SQL request in OCL.
Specific_implOperationThe operation stands for a specific method.
SetterOperationThe operation is used to change an object or a data type value.
3.1.4.3.2Tags
NameUML elementDescription
formula.binary_javaOperationDescribes the implementation in Java.
Formula.binary_netOperationDescribes the implementation in .NET.

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