public List<DatabaseField> getSelectionFields(ReadQuery query) { return getFields(); }
public List<DatabaseField> getSelectionFields(ReadQuery query) { return getFields(); }
/** * INTERNAL: * called from SQLSelectStatement.writeFieldsFromExpression(...) */ public void writeFields(ExpressionSQLPrinter printer, Vector newFields, SQLSelectStatement statement) { for (Enumeration fieldsEnum = getFields().elements(); fieldsEnum.hasMoreElements();) { DatabaseField field = (DatabaseField)fieldsEnum.nextElement(); newFields.addElement(field); writeField(printer, field, statement); } }
/** * INTERNAL: Not to be confused with the public getField(String) * This returns a collection of all fields associated with this object. Really * only applies to query keys representing an object or to expression builders. * */ public Vector getFields() { return getBaseExpression().getFields(); }
/** * INTERNAL: Not to be confused with the public getField(String) * This returns a collection of all fields associated with this object. Really * only applies to query keys representing an object or to expression builders. * */ @Override public Vector getFields() { return getBaseExpression().getFields(); }
/** * INTERNAL: Not to be confused with the public getField(String) * This returns a collection of all fields associated with this object. Really * only applies to query keys representing an object or to expression builders. * */ @Override public Vector getFields() { return getBaseExpression().getFields(); }
/** * INTERNAL: * Return all the fields */ public Vector getFields() { Vector result = new Vector(); InterfaceContainerPolicy icp = getInterfaceContainerPolicy(); // if this is a map entry get all the fields for both the key and the value if (returnMapEntry || !icp.isMappedKeyMapPolicy()){ result.addAll(getBaseExpression().getFields()); } else if (isAttribute()) { DatabaseField field = getField(); if (field != null) { result.addElement(field); } } else { result.addAll(getInterfaceContainerPolicy().getAllFieldsForMapKey(getMapping())); } return result; }
/** * INTERNAL: * Return all the fields */ @Override public Vector getFields() { Vector result = new Vector(); InterfaceContainerPolicy icp = getInterfaceContainerPolicy(); // if this is a map entry get all the fields for both the key and the value if (returnMapEntry || !icp.isMappedKeyMapPolicy()){ result.addAll(getBaseExpression().getFields()); } else if (isAttribute()) { DatabaseField field = getField(); if (field != null) { result.add(field); } } else { result.addAll(getInterfaceContainerPolicy().getAdditionalFieldsForJoin(getMapping())); } return result; }
/** * INTERNAL: * Return all the fields */ @Override public Vector getFields() { Vector result = new Vector(); InterfaceContainerPolicy icp = getInterfaceContainerPolicy(); // if this is a map entry get all the fields for both the key and the value if (returnMapEntry || !icp.isMappedKeyMapPolicy()){ result.addAll(getBaseExpression().getFields()); } else if (isAttribute()) { DatabaseField field = getField(); if (field != null) { result.add(field); } } else { result.addAll(getInterfaceContainerPolicy().getAdditionalFieldsForJoin(getMapping())); } return result; }
DatabaseTable table = orderByField.getTable(); if (exp.getFields().contains(orderByField) && (expression.aliasForTable(table).equals(exp.aliasForTable(table)))) {
DatabaseTable table = orderByField.getTable(); if (exp.getFields().contains(orderByField) && (expression.aliasForTable(table).equals(exp.aliasForTable(table)))) {
DatabaseTable table = orderByField.getTable(); if (exp.getFields().contains(orderByField) && (expression.aliasForTable(table).equals(exp.aliasForTable(table)))) {