localSearchCondition += "\t\t\t\tqb.addSingleValueListBoxWhere(\"o." + Utils.makeMethod2Field(attr.getRelationship().getName()) + ".id = \"+localSearch" + attr.getRelationship().getName() + Utils.makeFirstLetterUpperCase(attr.getName()) + ".getId(), localSearch" + attr.getRelationship().getName() + Utils.makeFirstLetterUpperCase(attr.getName()) + ".getId().toString());\r\n";
else
{
for (int h = 0; h < keyInfo.size(); h++)
{
KeyInfo ki = keyInfo.get(h);
if (ki.isString())
localSearchCondition += "\t\t\t\tqb.addSingleValueListBoxWhere(\"o." + Utils.makeMethod2Field(attr.getRelationship().getName()) + ".id." + ki.getField() + " ='\"+localSearch" + attr.getRelationship().getName() + Utils.makeFirstLetterUpperCase(attr.getName()) + ".getId()." + ki.getMethod() + "()+\"'\", localSearch" + attr.getRelationship().getName() + Utils.makeFirstLetterUpperCase(attr.getName()) + ".getId().toString());\r\n";
else
localSearchCondition += "\t\t\t\tqb.addSingleValueListBoxWhere(\"o." + Utils.makeMethod2Field(attr.getRelationship().getName()) + ".id." + ki.getField() + " = \"+localSearch" + attr.getRelationship().getName() + Utils.makeFirstLetterUpperCase(attr.getName()) + ".getId()." + ki.getMethod() + "(), localSearch" + attr.getRelationship().getName() + Utils.makeFirstLetterUpperCase(attr.getName()) + ".getId().toString());\r\n";
}
}
localSearchCondition += "\t\t\t}\r\n";
}
else