28 lines
691 B
Java
28 lines
691 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 Not extends Expression {
|
|
private static final long serialVersionUID = 9206533042761278382L;
|
|
protected Expression argument;
|
|
|
|
public Not(Expression argument) {
|
|
this.argument = argument;
|
|
}
|
|
|
|
public OperatorType getOperator() {
|
|
return OperatorType.NOT;
|
|
}
|
|
|
|
public String getReturnedDataType() {
|
|
return "Boolean";
|
|
}
|
|
}
|