At the very least, DCDs depict the class or interface name, superclasses, operation signatures, and attributes of a class. This is sufficient to create a basic class definition in an OO language. If the DCD was drawn in a UML tool, it can generate the basic class definition from the diagrams.
From the DCD, a mapping to the attribute definitions (Java
fields ) and method signatures for the Java definition of
SalesLineItem is straightforward, as shown in Figure 20.1.