.appendFormalLine("if (this." + entityIdName + " != null) {");
bodyBuilder.indent();
bodyBuilder.appendFormalLine("if (this." + entityName
+ " == null || this." + entityName + "." + identifierMethodName
+ "() != this." + entityIdName + ") {");
bodyBuilder.indent();
bodyBuilder.appendFormalLine("this." + entityName + " = "
+ simpleFieldTypeName + ".find" + simpleFieldTypeName
+ "(this." + entityIdName + ");");
bodyBuilder.indentRemove();
bodyBuilder.appendFormalLine("}");