28
Domain Models What support for modeling domains? Sparx Systems Enterprise Architect supports a range of modeling languages, technologies and methods that can be used in modeling and integrating different domains to reflect aspects of a complete business or process. Enterprise Architect User Guide Series Author: Sparx Systems Date: 21/12/2018 Version: 1.0 CREATED WITH

User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

Domain ModelsWhat support for modeling domains? Sparx

Systems Enterprise Architect supports a rangeof modeling languages, technologies andmethods that can be used in modeling and

integrating different domains to reflect aspectsof a complete business or process.

Enterprise Architect

User Guide Series

Author: Sparx SystemsDate: 21/12/2018

Version: 1.0

CREATED WITH

Page 2: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around
Page 3: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

Table of Contents

Domain Models 4Domain Based Diagrams 12Web Stereotypes 15User Interface Diagrams 17Screen 21Example User Interface Diagram 23UI Control Elements 25

Page 4: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Domain Models

Enterprise Architect provides support for a rich range ofmodeling languages, technologies and methods, most ofwhich have been built as profiles or by the use ofstereotyped elements that extend the basic UML elements.The power of modeling is the ability to integrate the variousrepresentations of a system, and stitch together models froma variety of domains and disciplines. For example, theability to integrate models that describe the geospatialaspects of a feature in the world such as an airport, withregulatory and air traffic control models and baggagehandling system models, provides a clarity that has not beenpossible before. It is the ability to model these concepts inthe language of multiple disciplines, and then to tie themtogether in a single modeling environment, that makesEnterprise Architect such a useful and productive tool.

Modeling Domains

Domain Description

ODM Enterprise Architect enables you todevelop large-scale ontologies within the

(c) Sparx Systems 2018 Page 4 of 28

Page 5: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

fully-integrated modeling environment,for your project domain.ODM helps you to develop a formalizedrepresentation of business semantics andtaxonomies, and a knowledgerepresentation based on thoseformalizations.

Requirements Enterprise Architect is one of the fewUML tools that integrate RequirementsManagement with other softwaredevelopment disciplines in the coreproduct, by defining requirements withinthe model.

BusinessModeling

Modeling the business process is anessential part of any softwaredevelopment process, enabling theanalyst to capture the broad outline andprocedures that govern what it is abusiness does.

BusinessRules

Business Rule modeling captures therules that govern a business, and theirrelationships with the entities and specifictasks within the organization or system.

BPMN The Business Process Model andNotation is specifically targeted at the

(c) Sparx Systems 2018 Page 5 of 28

Page 6: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

business modeling community and has adirect mapping to UML through BPMNProfiles; these profiles enable you todevelop BPMN diagrams quickly andsimply.

BPEL Business Process Execution Language isan executable language for specifyinginteractions with Web Services.Enterprise Architect uses the BPMNprofile as a graphical front-end to captureBPEL Process descriptions.

SysML SysML is a general-purpose graphicalmodeling language for specifying,analyzing, designing, and verifyingcomplex systems that might includehardware, software, information,personnel, procedures and facilities.

DataModeling

Enterprise Architect provides easy-to-usetools for building and maintaining all ofthe fundamental data models -Conceptual, Logical and Physical;because Enterprise Architect lets youvisualize each type of data model in thesame repository, you can easily managedependencies between each level ofabstraction.

(c) Sparx Systems 2018 Page 6 of 28

Page 7: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

XSD Enterprise Architect supports rapidmodeling, forward engineering andreverse engineering of W3C XMLschemas (XSD), critical for thedevelopment of a complete ServiceOriented Architecture (SOA).

WSDL Enterprise Architect enables rapidmodeling, forward engineering andreverse engineering of W3C XML WebService Definition Language (WSDL),critical for the development of a completeService Oriented Architecture (SOA).

SPEM The Software and Systems ProcessEngineering Metamodel (SPEM) is aconceptual framework for modeling,documenting, presenting, managing,interchanging, and enacting developmentmethods and processes.SPEM 2.0 focuses on providing theadditional information structures that yourequire for processes modeled with UML2 Activities or BPMN/BPDM.

ArchiMate ArchiMate is an open-standard enterprisearchitecture language based on the IEEE1471 standard, providing a common

(c) Sparx Systems 2018 Page 7 of 28

Page 8: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

language for describing the constructionand operation of business processes,organizational structures, informationflows, IT systems and technicalinfrastructure.It enables Enterprise Architects to clearlydescribe, analyze and visualize therelationships amongst business domains.

ArcGIS ArcGIS is a suite of GeographicInformation Systems (GIS) softwareproducts developed by Esri.

AML The Archetype Modeling Language(AML) defines a standard means forrepresenting clinical information.

Data FlowDiagrams

A Data Flow diagram (DFD) is agraphical representation of the flow ofdata through an information system; itcan also be used to visualize dataprocessing (structured design).Developing a DFD helps in identifyingthe transaction data in the data model.

EntityRelationshipDiagrams

Entity-relationship modeling is anabstract and conceptual databasemodeling method, used to produce aschema or semantic data model of, for

(c) Sparx Systems 2018 Page 8 of 28

Page 9: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

example, a relational database and itsrequirements, visualized inEntity-Relationship diagrams (ERDs).ERDs in Enterprise Architect assist youin building conceptual data modelsthrough to generating Data DefinitionLanguage (DDL) for the target DBMS.

Eriksson-PenkerExtensions

Eriksson-Penker extensions provide aframework for UML business processingmodel extensions, to which an EnterpriseArchitect can add stereotypes andproperties appropriate to their business.In Enterprise Architect, theEriksson-Penker profile provides, througha set of stereotypes, a unique andpowerful means of visualizing andcommunicating business processes andthe necessary flow of information withinan organization.

Gang of FourPatterns

Gang of Four (GoF) Patterns are 23classic software Design Patternsproviding recurring solutions to commonproblems in software design.Enterprise Architect provides eachPattern through an icon in the DiagramToolbox.

(c) Sparx Systems 2018 Page 9 of 28

Page 10: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

ICONIX The ICONIX Process is a streamlinedapproach to Use Case driven UMLmodeling that uses a core subset of UMLdiagrams and techniques to providethorough support of object-orientedanalysis and design.Its main activity is robustness analysis, amethod for bridging the gap betweenanalysis and design.

MindMapping

A Mind Map is an image-centereddiagram used to represent semantic orother connections between words, ideas,tasks or other items arranged radiallyaround a central key word or idea.A Mind Map is used to generate,visualize, structure and classify ideas, andas an aid in study, organization, problemsolving, decision making, and writing.

SoaML Service Oriented Architecture (SOA) isan architectural paradigm for defininghow people, organizations and systemsprovide and use services to achieveresults.

SOMF The service-oriented modelingframework (SOMF) is a service-orienteddevelopment life cycle methodology,

(c) Sparx Systems 2018 Page 10 of 28

Page 11: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

offering a number of modeling practicesand disciplines that contribute to asuccessful service-oriented life cyclemanagement and modeling.

ExtendedDiagrams

Enterprise Architect provides anadditional set of diagram types thatextend the core UML diagrams fordomain-specific models.Also, the specialized modeling toolslisted in the first part of this table eachhave their own specialized diagrams.

Inbuilt andExtensionStereotypes

Behavioral and Structural elements canbe extended through the use ofstereotypes; Enterprise Architect providesa number of inbuilt extensions.

Build YourOwnModelingLanguage

Enterprise Architect enables you toextend the scope both of your modelingand of the UML components you use,through the use of stereotypes, Profilesand Patterns to develop your ownmodeling applications.

(c) Sparx Systems 2018 Page 11 of 28

Page 12: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Domain Based Diagrams

Enterprise Architect supports a wide range of modelinglanguages, such as UML, SysML and BPMN, but inaddition to the diagrams that are defined as part of theselanguages Enterprise Architect has a rich set of additional(extended) diagrams, allowing you to create diagramsincluding Mind Maps, User Interface diagrams and DataModeling diagrams; there is even a general purpose Customdiagram. This allows other disciplines such as strategicthinkers, user experience designers and scientists tocontribute to the models and to create a repository ofarticulated knowledge that has not been possible before.

Domain Based Diagram Types

DiagramType

Detail

AnalysisDiagram

An Analysis diagram is a simplifiedActivity diagram, which is used tocapture high level business processes andearly models of system behavior andelements.

CustomDiagram

A Custom diagram is an extended Classdiagram that is used to capture

(c) Sparx Systems 2018 Page 12 of 28

Page 13: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

requirements, user interfaces orcustom-design models.

RequirementsDiagram

A Requirements diagram is a Customdiagram used to describe a system'srequirements or features as a visualmodel.

MaintenanceDiagram

A Maintenance diagram is a Customdiagram used to describe change requestsand issue items within a system model.

UserInterfaceDiagram

User Interface diagrams are Customdiagrams used to visually mock-up asystem's user interface using forms,controls and labels.

DataModelingDiagram

A Data Modeling diagram is a Classdiagram used for representing databaseschemas.

Documentation

Virtual documents enable you to structureand filter your document and web reportsby selecting, grouping and orderingindividual Packages independent of theorganization of the Project Browser.

BusinessModeling

Business Modeling diagrams andBusiness Interaction diagrams enable you

(c) Sparx Systems 2018 Page 13 of 28

Page 14: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

and BusinessInteraction

to model both the structure and behaviorof a business system.Business Modeling diagrams are basedon a Class (UML Structural) diagram,whilst Business Interaction diagrams arebased on a Sequence (UML Behavioral)diagram.

(c) Sparx Systems 2018 Page 14 of 28

Page 15: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Web Stereotypes

Enterprise Architect supports a number of stereotypes forweb page modeling, the graphical elements for whichdisplay with a graphical icon instead of the usual«stereotype» format. These stereotypes are only supportedfor Class elements. These are the various graphical iconsand their associated stereotypes:

A similar set of web modeling elements and theirrelationships are also available through dedicated WebModeling pages in the Diagram Toolbox.

Set a web icon

Step

Action

1 Create a new Class element in a diagram.

(c) Sparx Systems 2018 Page 15 of 28

Page 16: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

2 Display the Class 'Properties' dialog.

3 In the 'Stereotype' field, either type in the requiredstereotype name or click on the drop-down arrowand select the required stereotype (as namedpreviously).

4 Click on the OK button.The Class displays as in one of the examples shown.

(c) Sparx Systems 2018 Page 16 of 28

Page 17: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

User Interface Diagrams

User experience and user interface design have traditionallybeen modeled in a variety of tools that are separate fromother disciplines, leading to a disconnect between thesemodels and the other analysis and technology models.

Enterprise Architect allows you to model a wide range ofuser interfaces and platforms, including client software, websites and pages, and mobile devices such as phones andtablets. It uses compelling representations of the physicaldevices and the platforms to make these models appealingand useful for walks-through with users. The elements inthese models can also be traced to other elements in therepository, including design principles, requirements, usecases and user stories, stakeholders' concerns, informationmodels, architecture and design models. StateMachinediagrams can also be created to represent the importantstates of the user interface, and these can be traced to testingmodels.

The User Interface diagram is an extended diagram type thatprovides a set of wire framing toolboxes with a rich paletteof user interface elements for Android and Apple devices, aswell as for web pages and dialogs. There is also a facility formodeling Win32® user interfaces, with a toolbox containinga wide range of controls such as Check Boxes, SpinControls, Tree Controls and many more.

Example Diagram

(c) Sparx Systems 2018 Page 17 of 28

Page 18: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Example User Interface Diagram

User Interface Diagram Element ToolboxIcons

Icon Description

Packages are used to organize yourproject contents, but when added onto adiagram they can be use for structural orrelational depictions.

A Screen element is used to prototype aUser Interface screen flow.

A UI Control element represents a userinterface control element (such as an editbox).

An Object is a particular instance of aClass at run time.

User Interface Diagram Connector Toolbox

(c) Sparx Systems 2018 Page 18 of 28

Page 19: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Icons

Icon Description

An Association implies that two modelelements have a relationship, usuallyimplemented as an instance variable inone or both Classes.

An Aggregation connector is a type ofassociation that shows that an elementcontains or is composed of otherelements.

A Generalization is used to indicateinheritance.

A Realizes connector represents that thesource object implements or Realizes itsdestination object.

Notes

Using stereotyped Classes, you can model the design of a·

web page user interface

(c) Sparx Systems 2018 Page 19 of 28

Page 20: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

The Enterprise Architect Professional, Corporate and·

Suite editions also include the MDG Win32 UITechnology, with which you can design user interfacecomponents that render more precisely as Win32 ® UserInterface elements

(c) Sparx Systems 2018 Page 20 of 28

Page 21: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Screen

A Screen is used to prototype User Interface screen flow. Byusing UML features such as Requirements, constraints andscenarios against User Interface diagram elements, you canbuild up a solid and detailed understanding of user interfacebehavior without having to use code. This provides anexcellent means of establishing the precise behavior of thesystem from a user's perspective and, in conjunction withthe Use Case model, defines exactly how a user gets workdone.

Web pages can also be prototyped and specified rigorouslyusing Enterprise Architect's custom interface extensions.

Example

This example diagram illustrates some features of EnterpriseArchitect's screen modeling extensions that support webpage prototyping. By adding requirements, rules, scenariosand notes to each element, a detailed model is built up of theform or web page, without having to resort to GUI buildersor HTML.

(c) Sparx Systems 2018 Page 21 of 28

Page 22: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Enterprise Architect displays UI Controls as a range ofspecial icons, depending on the stereotype used; forexample, a Control stereotyped as a «list» displays with avertical scroll bar.

Toolbox icon

(c) Sparx Systems 2018 Page 22 of 28

Page 23: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Example User Interface Diagram

In this example User Interface diagram, forms, controls andlabels are arranged on the diagram to define the appearanceof a user interface screen and controls. UI Control elementscan also be traced to other model elements linking the UIwith the underlying implementation.

Notes

The Screen element is the parent of all the UI Control·

elements it contains; in the Project Browser, expand the

(c) Sparx Systems 2018 Page 23 of 28

Page 24: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Screen element to list its child UI elements

If you are designing more than one screen, and you want·

to move a UI Control element from one screen to another,you can do this in the Project Browser - click on the UIControl element and drag it underneath the target Screenelement; on the User Interface diagram, the UI Controlelement is removed from the source Screen and displayedin the target Screen

(c) Sparx Systems 2018 Page 24 of 28

Page 25: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

UI Control Elements

A UI Control element represents a user interface controlelement (such as an edit box). It is used for capturing thecomponents of a screen layout and requirements in aCustom or User Interface diagram.

There are a number of UI Control elements available in the'User Interface' page of the Toolbox. These include:

List·

Table·

Text Box·

Label·

Form·

Panel·

Button·

Combobox·

Checkbox·

Checkbox (left hand side)·

Radio button·

Radio button (left hand side)·

Vertical Line·

Horizontal Line·

Example

(c) Sparx Systems 2018 Page 25 of 28

Page 26: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

The icons can be combined on a 'Screen' icon to representthe appearance of a user interface screen, as shown:

You can also extend the available icons by selecting otherstereotypes in the 'UI Control Element Properties' dialog.The full set of available stereotypes is shown here; type orselect the text in the 'Stereotype' field to create thecorresponding icon.

(c) Sparx Systems 2018 Page 26 of 28

Page 27: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

Toolbox icon

(where UI Control is the name of the userinterface element type)

(c) Sparx Systems 2018 Page 27 of 28

Page 28: User Guide Series€¦ · A Mind Map is an image-centered diagram used to represent semantic or other connections between words, ideas, tasks or other items arranged radially around

User Guide - Domain Models 21 December, 2018

(c) Sparx Systems 2018 Page 28 of 28