5.3. Attribute Data Types
The set of values an attribute can take on constitutes its data type. Each attribute must have a data type.
Tools today capture this information through dialog screens and in some cases by data type definition as a part of the action language. Since there is no compact standard way to capture all this information, we shall use an informal textual notation.
Data types in Executable UML are based on a two-level scheme:
Domain-specific data types, which define the type in terms of the domain. Hence, the online bookstore domain has attributes of type Currency and MailingAddress.
Core data types, which are universal types defined by Executable UML.
Each data type has a domain-specific name, used on the class diagram, and a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access