July 2001
Intermediate to advanced
656 pages
15h 51m
English
At the very least, DCDs depict the class or interface name, superclasses, method signatures, and simple attributes of a class. This is sufficient to create a basic class definition in an object-oriented programming language. Later discussion will explore the addition of interface and namespace (or package) information, among other details.
From the DCD, a mapping to the basic attribute definitions (simple Java instance fields) and method signatures for the Java definition of SalesLineItem is straightforward, as shown in Figure 20.2.
Note the addition in the source code of the Java constructor SalesLineItem(...)
Read now
Unlock full access