// more primary key fields; thus, just use the parent invocation
if (hasConcreteSuperclass() || (hasSuperclass && _fields.length == 0))
return "";
CodeFormat code = newCodeFormat();
code.tab().append("public boolean equals").openParen(true).
append("Object obj").closeParen().openBrace(2).endl();
code.tab(2).append("if").openParen(true).
append("this == obj").closeParen().endl();
code.tab(3).append("return true;").endl();