tabular-data-expression-widget/src/main/java/org/gcube/portlets/user/td/expressionwidget/shared/model/logical/IsNotNull.java

29 lines
709 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 IsNotNull extends Expression {
private static final long serialVersionUID = 8930488371061116376L;
protected Expression argument;
public IsNotNull(Expression argument) {
this.argument=argument;
}
public OperatorType getOperator() {
return OperatorType.IS_NOT_NULL;
}
public String getReturnedDataType() {
return "Boolean";
}
}