Questions tagged [multiplicity]

In mathematics, the multiplicity of a member of a multiset is the number of times it appears in the multiset. For example, the number of times a given polynomial has a root at a given point is the multiplicity of that root.

77 questions
0
votes
0 answers

Single object class1 associated with many objects from class2

Is there a way to share an object of class1 (Car) which have fields like "model", "oil volume" to be shared between other objects of class2 (Person). So like the Car object is not like a specific car but more like a general characteristics of a car…
Tepa6auT
  • 31
  • 3
0
votes
2 answers

Add multiplicity as rows

I use Sparx EA to build a relationship database (MS SQL Server). The tool has a function to create charts. I use the query: SELECT system.Name AS Series, systemElement.Name AS GroupName FROM t_object systemElement INNER JOIN t_object system ON…
Robbas
  • 39
  • 1
  • 9
0
votes
1 answer

Eclipse Papyrus asociation but settings for multiplicity missing

i make a fresh settup of eclipse and papyrus. Had it run and used on a older machine a time ago. I try to model a class diagram. Crated a new Project with an class diagramm drop some classes. I am able to make an "association" between my two…
0
votes
2 answers

UML Class Diagram Multiplicity

I have a confusion in UML class diagram Multiplicity. To ask my question , first i need to give you an example of a situation; Consider this requirement: "Sections shall have many topics." I can make the classes for Section and Topic with their…
0
votes
1 answer

How to draw compositions of multiple fields that have the same class type?

I’m sorry if the title is not clear enough. FYI, I’m trying to make an UML diagram from a class. Here’s a snippet of the class: class ItemDisplay { Item currentItem; Item[] suggestedItems; Item[] randomlySelectedItems; } How do I have…
0
votes
1 answer

How to add multi multiplicity to mxgraph nodes?

I'm using mxgraph for bpmn workflow in my web application. So I need state some rules for nodes. For example: Start node has no input. Start node has just one output to others except notification node. Start node has 0 ore more out put to…
Bahman Shafiei
  • 395
  • 5
  • 22
0
votes
0 answers

Vim Keymap with Multiplicity on VS Code

I have remapped some vim keys in VS Code (using Vim emulation) but I can't manage to use them with multiplicity. What this means is that when you normally press 3dd it deletes 3 lines. I have keymapped the normal version of the function dd like…
Adam
  • 486
  • 1
  • 8
  • 26
0
votes
2 answers

Entity Framework Code First One to Zero or One Relationship With Separate Identity

I have two classes as such: public class Event { [Key] [Required] public long Id { get; set; } [InverseProperty("Event") public virtual Record Record{ get; set; } } public class Record { [Key] [Required] …
Seb
  • 410
  • 1
  • 6
  • 20
0
votes
1 answer

Entity Framework EDMX Invalid Multiplicity?

I seem to be having trouble with database first multiplicity within the design. I am using EF v5.0 I have two db entities with the following (psuedo classes for example): entity { long Id; //PK bool myProp; } entity_detail { long…
IntricateJake
  • 105
  • 10
0
votes
1 answer

Entity Framework 4 - Designing DB To Enforce Multiplicity of 1 to 1

I have encountered a scenario in my application where I would like to have a 1:1 multiplicity between entities but I dont know how to modify my database to ensure this. Lets say I have a Document table and an Index table where the Document will…
TripleAntigen
  • 2,221
  • 1
  • 31
  • 44
0
votes
2 answers

Class associations and multiplicity - UML 2.0 - object oriented

I am learning UML and have a practice question I am working on for class diagrams. I've put together a first version of the diagram but i'm confused about part e. This is the practice question: and this is what I have so far: Where it says 'Each…
AKL012
  • 399
  • 5
  • 14
0
votes
0 answers

EF6.0 Multiplicity complication

I have a parent table called participantprofile with a primary key of userID. This primary key is used for a few child tables which are collections of records for each userID. One of the child tables, participantaltemails can contain 0 - many child…
mattgcon
  • 4,768
  • 19
  • 69
  • 117
0
votes
1 answer

UML diagram multiplicity and aggregation

Am I understanding multiplicity and aggregation here? The Idea I'm trying to get across is that: Each character has a spell book. Each spell book has an array of 4 spells. (This is where things look a little weird to me)
0
votes
1 answer

Class associations and multiplicity - UML 2.0 - object oriented (Basic)

I am learning UML and I've focused on a Netflix-like project on which to practice on. I've put together a class association diagram, but have been told that the multiplicities are incorrect. The multiplicities in red represent what I think they…
0
votes
2 answers

Database First Entity Framework multiplicity

I am working on a simple database and to be specific here is the model generated by database first approach (Visual Studio 2017 Community, Entity Framework 6.2): Generated Database Model I'd like the UserMessage table to be able to point to itself…