public class UnaryOperation extends Expression
expression
represents an unary operation on a field.Modifier and Type | Class and Description |
---|---|
static class |
UnaryOperation.Operator |
Constructor and Description |
---|
UnaryOperation() |
UnaryOperation(String fieldName,
UnaryOperation.Operator operator) |
Modifier and Type | Method and Description |
---|---|
<ResultType,ExceptionType extends EcmException> |
accept(ExpressionVisitor<ResultType,ExceptionType> visitor)
This method accepts the given visitor and returns the result of its visit.
|
String |
getFieldName() |
UnaryOperation.Operator |
getOperator() |
void |
setFieldName(String fieldName) |
void |
setOperator(UnaryOperation.Operator operator) |
String |
toString() |
public UnaryOperation()
public UnaryOperation(String fieldName, UnaryOperation.Operator operator)
public String getFieldName()
public void setFieldName(String fieldName)
public UnaryOperation.Operator getOperator()
public void setOperator(UnaryOperation.Operator operator)
public <ResultType,ExceptionType extends EcmException> ResultType accept(ExpressionVisitor<ResultType,ExceptionType> visitor) throws ExceptionType extends EcmException
AstNode
accept
in class AstNode
visitor
- the visitor that implements the callbacksExceptionType
- indicates any exception during the visiting processExceptionType extends EcmException
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.