UML class diagram Make sure that all associations are labeled and include the multiplicities on both sides. You do not n
Posted: Tue May 24, 2022 8:20 am
UML class diagram
Make sure that all associations are labeled and include the
multiplicities on both sides. You do not need to model the
store only the highlighted objects.
An online flower shop sends order
packages via mail. Each package contains a
number of flowers, a substrate for
them to grow in, and optionally care
instructions.
Substrate objects store an amount (in kg). Further, each
substrate is associated with exactly one substrate
type. Substrate types have a name and a
price-per-unit.
Each flower has a name and a price. Some but not all
flowers are associated with care instructions. All
flowers have preferences for certain substrate types (at least
one but potentially more than one).
Make sure that all associations are labeled and include the
multiplicities on both sides. You do not need to model the
store only the highlighted objects.
An online flower shop sends order
packages via mail. Each package contains a
number of flowers, a substrate for
them to grow in, and optionally care
instructions.
Substrate objects store an amount (in kg). Further, each
substrate is associated with exactly one substrate
type. Substrate types have a name and a
price-per-unit.
Each flower has a name and a price. Some but not all
flowers are associated with care instructions. All
flowers have preferences for certain substrate types (at least
one but potentially more than one).