29 lines
699 B
Java
29 lines
699 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 IsNull extends Expression {
|
|
private static final long serialVersionUID = -7845762664802353175L;
|
|
protected Expression argument;
|
|
|
|
public IsNull(Expression argument) {
|
|
this.argument=argument;
|
|
}
|
|
|
|
public OperatorType getOperator() {
|
|
return OperatorType.IS_NULL;
|
|
}
|
|
|
|
public String getReturnedDataType() {
|
|
return "Boolean";
|
|
}
|
|
|
|
}
|