30 lines
818 B
Java
30 lines
818 B
Java
package org.gcube.portlets.user.td.expressionwidget.shared.model.logical;
|
|
|
|
import org.gcube.portlets.user.td.expressionwidget.shared.model.Expression;
|
|
import org.gcube.portlets.user.td.expressionwidget.shared.model.OperatorType;
|
|
|
|
/**
|
|
*
|
|
* @author "Giancarlo Panichi" <a
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class ValueIsIn extends Expression {
|
|
private static final long serialVersionUID = 739569588958197726L;
|
|
protected Expression leftArgument;
|
|
protected Expression rightArgument;
|
|
|
|
public ValueIsIn(Expression leftArgument, Expression rightArgument) {
|
|
this.leftArgument = leftArgument;
|
|
this.rightArgument = rightArgument;
|
|
}
|
|
|
|
public OperatorType getOperator() {
|
|
return OperatorType.IN;
|
|
}
|
|
|
|
public String getReturnedDataType() {
|
|
return "Boolean";
|
|
}
|
|
}
|