We changed our privacy policy. Read more.

Questions tagged [modeling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
34 views

How to represent deeply nested data

I work on a project that has a lot of hard-to-grasp data shapes. I'm talking about lists nested as deep as 5 levels. Often I have to reorder the way that data is represented in these lists. For ...
0
votes
1answer
41 views

How to represent a duplicate data store in a data flow diagram (DFD) in the Yourdon DeMarco notation?

I am looking for a way to show duplicate data-stores in data-flow diagrams (DFD). With "duplicate" I mean multiple occurrences of the same symbol to avoid too many crossing flows. In Gane &...
1
vote
1answer
53 views

How to represent association classes in a UML component diagram?

Please consider a class diagram and a component diagram as shown below. In the class diagram I use association classes to represent the relationship between two classes (BaseLink and ShoulderLink) as ...
-2
votes
1answer
62 views

How to model a small database application using CRC

I am going through this OO design course: https://www.coursera.org/learn/object-oriented-design/home/welcome and starting to look at the use of CRC cards. (class responsibility collaborators). I ...
1
vote
1answer
58 views

Use case descriptions -- where does selection go?

I have a use case for which a user can perform a multiselection. I am writing the use case description and wonder: Should the selection action be documented as a trigger of the use case, or in the ...
3
votes
1answer
91 views

Separation of concerns

I'm approaching the DDD way and I was posing myself some questions. Assume that I'm writing an application that lets you define a nutritional week, where you can Define a nutritional week as a ...
-2
votes
1answer
44 views

Use 1 to many relationship on same model or split it into two different models?

I'm building a forum application using the Django web framework but I'm not sure how to design the entity relationship diagram when it comes to the Post model. Since one Post can have many replies, ...
3
votes
3answers
1k views

Parallel process flowchart shape in Draw.io

Our drawing tool is draw.io. Occassionally I've got to draw flow charts with it. In those flow charts I've got to express parallel processes (very similar to this UML example). Wikipedia says about ...
2
votes
2answers
82 views

How to model relations in UML Class and Object diagram for simple Graph structure

I'm trying to model a simple Graph structure as an UML Class Diagram and Object Diagram. A Graph can have multiple Nodes and knows it's starting Node. Every Node has a predecessor and a successor Node....
0
votes
2answers
59 views

BPMN - How to handle "under the hood" data change

I have an issue that I'm not sure how to handle regarding modeling. I'm using as my BPMS Flowable My situation: I have a flow (picture below) where are 2 user activities. Each activity manipulates on ...
2
votes
2answers
110 views

How to design correctly relationships of class diagrams?

I'm learning OOP so I decided to start a new project, a chess tournament manager. Here you can read about chess tournaments https://en.m.wikipedia.org/wiki/Chess_tournament Basically the user will be ...
0
votes
1answer
77 views

Should there only ever be one instance of a ViewModel object?

Assume a rather simplistic model: class Person{ static List<Person> LivingPersons String Name List<Person> Dependents } From this it can (hopefully) be seen that a single ...
2
votes
6answers
885 views

UML: what is the correct order of steps?

I was reading an old text book "Beginning C# Object oriented programming" from 2011. The author in one case employs the "use case" to identify classes and then goes to draw a class ...
-2
votes
2answers
82 views

How would you create abstraction for event holding only Ids - references to other objects

class DomainEvent { } and then I have different events with following structure: class SomeEvent extend DomainEvent { private UUID orderId; private UUID orderlineId; private UUID productId; ...
0
votes
0answers
19 views

Application Design: Create an on top model for our sub application

Current situation: We are developing plugins on top of a base application. The base application provides us with objects loaded from a database, let's call them IMainAppObject (just simplified, it ...
-1
votes
1answer
77 views

Is UML suitable for designing a warehouse workflow?

I need to design a warehouse workflow: the cartons that enter, then the flow of a box, returns, porcessing of damaged good, cancellation at different stages, and transfer from a stock to another. Each ...
2
votes
1answer
92 views

What is a good way to understand the relationship between a UML class diagram and an implementation?

At my uni the software design teachers like to ask questions about UML diagrams, such as this: In the following class diagram, can class Bar’s bar() operation modify Bar’s b attribute? Can it modify ...
2
votes
1answer
65 views

Do data stores appears in Level 1 DFD?

Let’s consider that Context diagram is the diagram that describe the system as a single process and level 0 diagram is the one that decomposes this main process into major process and so on. I am ...
1
vote
1answer
52 views

Creating models for a subscription-based service using third-party payment gateways

If this question is too broad for Q&A format, I'd appreciate a pointer on where to ask it. Suppose that you're using Stripe (or some similar service) to manage the payments for a service of some ...
3
votes
2answers
190 views

How much UML modeling should you do?

I've used UML modeling a few times in the about a decade ago and I am getting myself reacquainted with it. I found it clarifies an application's design which results in a faster and easier ...
0
votes
1answer
36 views

Including processes that are external to the system in Use Case diagram and DFD

I am designing a system with several diagram for a project. I am trying to summarize my question with 2 simple diagram which can demonstrate my doubt. Below are my use case diagram and a context ...
3
votes
1answer
130 views

Is the class stereotype implicit in an UML class diagram ? Should it be specified?

Commonly I see class diagrams where there is no <<class>> stereotype. Others where there is the common <<interface>> and others with some interesting ones as <<shape>&...
2
votes
1answer
1k views

how to represent functions and global variables in UML?

I'm going to translate into UML a C++ project I have been doing for a few days and which I estimate convenient to handle as a model for a way better management. The problem is the following: I tried ...
-2
votes
1answer
435 views

Simple circular dependency between three classes

I have this basic design with a circular dependency. Is there any solution for this? The problem is that a Machine cannot be created if a Model for that Team has been submitted.
0
votes
3answers
143 views

Is there a way to express arguments for a use case?

I am currently developing a use case diagram for an army generation system in a game I'm developing. I have a process 'GenerateArmy' that requires a combination of troops and a supply limit that are ...
0
votes
1answer
146 views

What kind of Relations should I have in my E/R Diagram

I am trying to create an Entity/Relationship Chen Diagram for a new APP. Scope is simple enough. I will have multiples types of users login through the same Login Form. What I decided to do... Is ...
0
votes
1answer
303 views

How do I represent parallel (multiple) inputs in a UML Sequence diagrams?

I am new to UML sequence diagrams. I saw a few YouTube videos and a few tutorials such as this one. I have a system with multiple inputs, that can interact with the system asynchronously. For example,...
-2
votes
1answer
92 views

should the join method be in the Course class or the Student class?

The rule I was taught: "the method should be in the Object that it is invoked on" a student joins a course => the join method should be in the Course class a player drives a car => car.drive(..) ...
-2
votes
1answer
415 views

How can I represent with UML a process that involves queues?

I would like to use UML diagrams to show some processes I am designing and would like to implement. The processes involve using a queue, and adding and taking out elements from it. In one of this ...
2
votes
1answer
118 views

UML Actor and Device Relationship

I am currently in the process of creating a use case digram for a new system that we are building and have stumbled upon an interesting scenario. The system has a number of primary actors which ...
-2
votes
3answers
80 views

Visualising a sprint as a delta to a software component diagram? [closed]

Given a software component diagram, a sprint could be represented as a delta of that diagram. That delta would reflect how the sprint affect the components. Each component could for example have a ...
2
votes
2answers
108 views

How do I merge ControlFlow and ObjectFlow in UML2 Activity Diagram?

It seems that I need to have a MergeNode with incoming ControlFlow and ObjectFlow while according to paragraph 15.3.3.5 Merge Nodes of OMG® Unified Modeling Language® (OMG UML®) Version 2.5.1 If ...
1
vote
2answers
156 views

How to model combinatorial information in RDBMS

I need to model the persistence of combinatorial information. For example, suppose that the combination of 3 attributes (A, B, and C) are used to reference a given product. Besides that, supposed that ...
3
votes
2answers
216 views

DDD, Aggregate Root and entities in library application scenario

I'm building a library application. Let's assume that we have a requirement to let registered people in the library to borrow a book for some default period of time (4 weeks). I started to model my ...
-1
votes
1answer
672 views

Select one from multiple options in UML activity diagram

I am very new to UML and UML activity diagrams. my question is suppose in a student course registration system after student successfully login to the system there are 3 options add course, delete ...
1
vote
1answer
119 views

How to avoid code duplication from handling "structually similar types" in Scala?

Often, when programming, you'll have different degrees of information to you in different contexts. For example, a web server may have two routes, which recieve information about a Person, one of ...
-1
votes
2answers
231 views

Model View Controller: Can the Model access the view directly?

According to my understanding, in the MVC design the Model can only receive the functions calls from the Controller and not from the View directly. Is it true that the Model can change or access the ...
2
votes
3answers
142 views

Entity-Relationship language, not diagram

I have to design a database, but I don't yet know which underlying technology it will use (not just my decision). Could be SQL, could be NoSQL, could be something else. I do have quite a few ...
-2
votes
1answer
88 views

Converting a table to an ORM schema

I'm trying to convert this table into an ORM schema: The solution given by the book is this one: It connects all the paramether to the Member one. This is my solution, which I think it's less ...
1
vote
1answer
579 views

Sequence diagram: explicitly show websocket creation?

I am trying to draw up a sequence diagram to show how my web client will interact with my backend over a websocket connection. I am using a websocket middleware to manage the stream connections. ...
3
votes
1answer
91 views

UML Partitioning Decision Nodes

I am attempting to partition a decision node based on environment attributes. The process I am modeling is slightly different depending if a variable scope is public or private. I am trying to ...
4
votes
1answer
1k views

Is there a UML diagram for functional programming?

For modelling software implemented with the imperative or procedural programming paradigm we have Flowcharts, process diagrams, etc. For object oriented we have UML class diagrams, object diagrams, ...
0
votes
3answers
514 views

Is this right way to create sequence diagram?

im trying to create a sequence diagram for login , but i dont know if its true or not , maybe the community can help me check , because i see many way to create sequence diagram and its not the same ...
-2
votes
1answer
6k views

How to represent in a flowchart data fetched from a database

I have an existing piece of code that uses a database. In order to understand its algorithm, I try to represent it with a flow chart. In this algorithm I need to fetch some data from the database in ...
6
votes
3answers
492 views

Before OOP, how were systems modeled [closed]

Before the advent of OOP, how were systems modeled in other paradigms of Programming. Obviously, software programs existed prior to 1970's and they interacted with people and where used in crucial ...
3
votes
2answers
289 views

How to improve this class diagram of a system with its components

So I was given a task of making a class diagram for a bicycle. I know what a class diagram is and the concepts behind one. The requirement is that the bike can brake, turn or speed up. Now to me, a ...
2
votes
2answers
3k views

What is the difference of swimlane and activity diagram?

Im trying to make an activity diagram , but i see that activity and swimlane diagram is almost the same, the only difference i see that swimlane diagram include many actor in it i wonder about the ...
-2
votes
1answer
335 views

Can we put a same usecase more than twice in 1 usecase diagram [closed]

There will be 4 roles, with 3 roles having a same use-case that is called view campaign and a use-case view segment. Can we put a same use-case more than one time in the same use case diagram? The ...
2
votes
1answer
211 views

Can we have a ternary relationship together with a recursive one in E-R diagrams

I am designing an E-R Diagram for a simple system where there are some users and contests. A user can create a contest or invite other users to the contest who can decide to accept or not. I am ...
2
votes
1answer
1k views

Optional relationship on ERD diagram

Upon generating an entity-relationship diagram of my database I observed several occurrence like this: This diagram (in IDEF1X notation) shows the following: Our team's DB convention is that each ...

1
2 3 4 5