public class ArithmeticExpression extends AbstractExpression
operator| Constructor and Description |
|---|
ArithmeticExpression(Expression expr1,
short operator,
Expression expr2) |
ArithmeticExpression(short operator) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpression(Expression expr) |
void |
appendContent(java.lang.String schema,
java.lang.StringBuilder buf)
Append the expression content to a buffer.
|
boolean |
checkValidity(ISparqlRequestGroup request)
Return true if the expression is valid.
|
short |
getExpressionOperator()
Return the expression operator between the two arguments.
|
Expression |
getFirstExpression()
Return the first expression.
|
Expression |
getSecondExpression()
Return the second expression.
|
void |
setFirstExpression(Expression expr1)
Set the first expression.
|
void |
setOperator(short operator)
Do nothing.
|
void |
setSecondExpression(Expression expr2)
Set the second expression.
|
getOperatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContent, getOperatorAsString, getOperatorAsString, isSimpleExpressionpublic ArithmeticExpression(short operator)
public ArithmeticExpression(Expression expr1, short operator, Expression expr2)
public void setOperator(short operator)
setOperator in interface ExpressionsetOperator in class AbstractExpressionoperator - the operatorpublic void addExpression(Expression expr)
public void setFirstExpression(Expression expr1)
expr1 - the first expressionpublic Expression getFirstExpression()
public void setSecondExpression(Expression expr2)
expr2 - the second expressionpublic Expression getSecondExpression()
public short getExpressionOperator()
public boolean checkValidity(ISparqlRequestGroup request)
request - the requestpublic void appendContent(java.lang.String schema,
java.lang.StringBuilder buf)
schema - the schemabuf - the bufferCopyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence