B.4. Domain Data Types
arbitrary_id
An attribute whose value is unique for all instances of the class, but whose content is unimportant.
Count
A nonnegative number used to indicate a count of items, e.g., the number of items in an order.
Money
An amount of money. All bookstore orders are handled in U.S. Dollars.
Note: In a multicurrency system, this type would also identify the currency (U.S. Dollar, Euro, British Pound, etc.) and quite possibly conversion rate information.
date
A calendar date and time.
ElapsedTime
The time that elapses between two points in time, expressed in terms of days, hours, minutes, and seconds.
MonthYear
A date specified only to the precision of a month and year.
Year
A calendar year, used primarily for specifying copyright ...
Get Executable UML: A Foundation for Model-Driven Architecture now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.