O'Reilly logo

Enterprise Patterns and MDA: Building Better Software with Archetype Patterns and UML by Ila Neustadt, Jim Arlow

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Quantity archetype pattern

10.1 Business context

In various places in this book, we have mentioned quantities of things. In this chapter we provide a simple pattern for capturing quantities.

image

A quantity is an amount of something measured according to some standard of measurement.

Another way to say this is that a quantity of something is a number expressed in a particular metric.

image

A metric is a standard of measurement.

For example, a bag of sugar in the store contains 1 (the number) kilogram (the metric) of sugar (the something). ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required