All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jpattern.orm.query.where.InExpressionElement Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.jpattern.orm.query.where;

import java.util.Arrays;
import java.util.Collection;

/**
 * 
 * @author Francesco Cina
 *
 * 19/giu/2011
 */
public class InExpressionElement extends AExpressionElement {

	/**
	 * 
	 */
	

	public InExpressionElement(String property, Object[] values) {
		this(property, Arrays.asList(values));
	}
	
	public InExpressionElement(String property, Collection values) {
		setProperty(property);
		setValues(values);
	}

	@Override
	public String getExpressionElementKey() {
		return "in";
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy