/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(Object[] theObjects) { List values = new ArrayList(theObjects.length); for (int index = 0; index < theObjects.length; index++) { values.add(theObjects[index]); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(Object[] theObjects) { List values = new ArrayList(theObjects.length); for (int index = 0; index < theObjects.length; index++) { values.add(theObjects[index]); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(int[] theInts) { List values = new ArrayList(theInts.length); for (int index = 0; index < theInts.length; index++) { values.add(Integer.valueOf(theInts[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(boolean[] theBooleans) { List values = new ArrayList(theBooleans.length); for (int index = 0; index < theBooleans.length; index++) { values.add(Boolean.valueOf(theBooleans[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(int[] theInts) { List values = new ArrayList(theInts.length); for (int index = 0; index < theInts.length; index++) { values.add(Integer.valueOf(theInts[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(short[] theShorts) { List values = new ArrayList(theShorts.length); for (int index = 0; index < theShorts.length; index++) { values.add(Short.valueOf(theShorts[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(float[] theFloats) { List values = new ArrayList(theFloats.length); for (int index = 0; index < theFloats.length; index++) { values.add(Float.valueOf(theFloats[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(float[] theFloats) { List values = new ArrayList(theFloats.length); for (int index = 0; index < theFloats.length; index++) { values.add(Float.valueOf(theFloats[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(short[] theShorts) { List values = new ArrayList(theShorts.length); for (int index = 0; index < theShorts.length; index++) { values.add(Short.valueOf(theShorts[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(double[] theDoubles) { List values = new ArrayList(theDoubles.length); for (int index = 0; index < theDoubles.length; index++) { values.add(Double.valueOf(theDoubles[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(long[] theLongs) { List values = new ArrayList(theLongs.length); for (int index = 0; index < theLongs.length; index++) { values.add(Long.valueOf(theLongs[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(long[] theLongs) { List values = new ArrayList(theLongs.length); for (int index = 0; index < theLongs.length; index++) { values.add(Long.valueOf(theLongs[index])); } return all(values); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(float[] theFloats) { Vector vector = org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(); for (int index = 0; index < theFloats.length; index++) { vector.addElement(new Float(theFloats[index])); } return all(vector); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(long[] theLongs) { Vector vector = org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(); for (int index = 0; index < theLongs.length; index++) { vector.addElement(new Long(theLongs[index])); } return all(vector); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(Object[] theObjects) { Vector vector = org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(); for (int index = 0; index < theObjects.length; index++) { vector.addElement(theObjects[index]); } return all(vector); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(char[] theChars) { Vector vector = org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(); for (int index = 0; index < theChars.length; index++) { vector.addElement(new Character(theChars[index])); } return all(vector); }
/** * PUBLIC: * Return an expression that checks if the receivers value is contained in the collection. * This is equivalent to the SQL "IN" operator and Java "contains" operator. */ public Expression all(int[] theInts) { Vector vector = org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(); for (int index = 0; index < theInts.length; index++) { vector.addElement(new Integer(theInts[index])); } return all(vector); }
/** * INTERNAL * Generate the EclipseLink expression for this node */ public Expression generateExpression(GenerationContext context) { SubqueryNode subqueryNode = (SubqueryNode)getLeft(); ReportQuery reportQuery = subqueryNode.getReportQuery(context); Expression expr = context.getBaseExpression(); return expr.all(reportQuery); } }
/** * INTERNAL * Generate the EclipseLink expression for this node */ public Expression generateExpression(GenerationContext context) { SubqueryNode subqueryNode = (SubqueryNode)getLeft(); ReportQuery reportQuery = subqueryNode.getReportQuery(context); Expression expr = context.getBaseExpression(); return expr.all(reportQuery); } }
/** * INTERNAL * Generate the EclipseLink expression for this node */ public Expression generateExpression(GenerationContext context) { SubqueryNode subqueryNode = (SubqueryNode)getLeft(); ReportQuery reportQuery = subqueryNode.getReportQuery(context); Expression expr = context.getBaseExpression(); return expr.all(reportQuery); }