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
15
votes
1 answer

How to get EF6 to honor Unique Constraint (on FK) in Association/Relationship multiplicity?

2019 Update / TLDR; switch to Entity Framework Core (or whatever else) While missing some "Features", EF Core properly honors Alternate Keys (aka Unique Constraints) in addition to Primary Keys and thus does a much better job of honoring Relational…
14
votes
1 answer

Using crow's feet notation in data modelling in enterprise architect

I am only able to use connectors in enterprise architect with traditional 0..* style multiplicity rather than crow's feet connectors. I've tried using different drawing styles and still cannot work out how to change the connectors. Any help would be…
jess
  • 254
  • 3
  • 13
9
votes
1 answer

How do I add multiplicity values in StarUML

I am studying Database Development and I am at the stage where I have to create my own ER Models. Everything is fine so far with StarUML however the course notes don't mention how to add muliplicity options between entity types (the cardinality and…
Peter Stuart
  • 2,362
  • 7
  • 42
  • 73
8
votes
4 answers

UML Composition multiplicity

I have a question about indicating multiplicity in an UML diagram. I have a SpriteObject class, which has a list of animations. The SpriteObject can have 0..* animations. All animations are created inside the SpriteObject and do not exist on their…
user602996
8
votes
2 answers

Aggregation multiplicity UML

Me and my colleagues can't agree on a point. In UML, when an aggregation is made, does the diamond shape side have a multiplicity of 1 maximum, or can it be 0..* ? Or is it depending of a point of view ? Thank you in advance !
DKF
  • 407
  • 3
  • 5
  • 10
6
votes
2 answers

Is it possible to constraint edge multiplicity in Neo4j / OrientDB?

I was wondering whether Neo4j and OrientDB provide the possibility of defining constraints in terms of multiplicity for specific edge types?
ppareja
  • 730
  • 1
  • 5
  • 16
5
votes
1 answer

Regarding 0 to 1 and 1 to 0 associations in UML

Just want to know how can we differentiate the multiplicities 0..* and 1..*. For example: --------- --------- | |0..* 0..*| | |CLASS |-----------| STUDENT | | | | | --------- …
PrabaharanKathiresan
  • 1,099
  • 2
  • 17
  • 32
5
votes
3 answers

What is the importance of association multiplicity in class diagrams?

What is the importance of association multiplicity in class diagrams? Why and when should we indicate them? Thanks.
Ristovak
  • 491
  • 1
  • 5
  • 10
5
votes
5 answers

Test if set is a subset, considering the number (multiplicity) of each element in the set

I know I can test if set1 is a subset of set2 with: {'a','b','c'} <= {'a','b','c','d','e'} # True But the following is also True: {'a','a','b','c'} <= {'a','b','c','d','e'} # True How do I have it consider the number of times an element in the set…
Joe Flip
  • 1,076
  • 4
  • 21
  • 37
5
votes
4 answers

Make Bash script exit and print error message if users invoke the script incorrectly

Script needed was #!/bin/bash # Check if there are two arguments if [ $# -eq 2 ]; then # Check if the input file actually exists. if ! [[ -f "$1" ]]; then echo "The input file $1 does not exist." exit 1 fi else echo "Usage: $0…
Ausghostdog
  • 178
  • 1
  • 3
  • 13
3
votes
2 answers

Using m..m in multiplicity in UML ER diagram?

According to different resources in UML notation multiplicities have different forms. Below are some of the forms which can be used in a use-case diagram. 1..1 0..* 1..* m..m m..n In T. Connelly and C. Begg's database systems book, they have…
ChathurawinD
  • 756
  • 1
  • 13
  • 35
3
votes
1 answer

Using multiplicity without navigability in UML is correct diagram?

I can see many UML example like above diagram. I can understand that Class A has navigability to B with multiplicity of 10. But I can't understand that Class B has no navigability to A but has multiplicity of 5..7. Is it possible has multiplicity…
myoldgrandpa
  • 871
  • 7
  • 21
3
votes
1 answer

Limiting Child Objects in Class Diagram

I want to model a simple system using a Class Diagram: I have 3 possible classes: Company, Employee, Manager. The Company must have 20 Employees (aggregation?). The Company must have 1 Manager (aggregation?). A Manager is an Employee…
3
votes
3 answers

One-Way Association with Multiplicity UML

I am trying to understand this certain case: --------- --------- | |0..* 0..*| | |CLASS A |------------->| CLASS B | | | | | --------- --------- --------- …
John
  • 63
  • 4
3
votes
1 answer

What does 0..* mean in a uml sequence diagram

I would like to know if we can use 0..* in a UML sequence diagram. Incase if we can , could anyone please explain what does it mean in the perspective of a sequence diagram?
sujith
  • 665
  • 2
  • 9
  • 22
1
2 3 4 5 6