separator = indent;
} else {
out.print (separator);
}
FieldInfo field;
String fieldName;
if (srcClassInfo == null
|| srcClassInfo.getField (parameterName, true) == null) {
// The parameter is not from the source object so it must be part of
// the result set.
field = (FieldInfo) sf.next ();
fieldName = field.getName ();
if (GenerateUtilities.isProjectField(field)) {
out.print("project");
} else {
out.print (getResultSetValue (field, resultSetName, index));
}
index += 1;
} else {
// The parameter is from the source object.
field = (FieldInfo) qf.next ();
fieldName = field.getName ();
if (GenerateUtilities.isProjectField(field)) {
out.print("project");
} else {
MethodInfo getter = srcClassInfo.getGetterMethod (fieldName, true);
out.print (srcObjectName + "." + getter.getName () + " ()");