Screenshot showing the classes generated for another example CMP entity bean that has a primary key class. A node for this primary key class appears under the logical node's expanded Classes node. In addition, by expanding the independent primary key class node called Bean Name Key (not under the logical node), you see the class node Bean Name Key. Expanding that node, you see a Methods node with subnodes for the equals and hashCode methods, which are required by the primary key class. However, do all your work under the logical node.