com.jpattern.orm.query.where.InExpressionElement Maven / Gradle / Ivy
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