public interface Expression
| Modifier and Type | Field and Description |
|---|---|
static short |
AND
The "&&" operator.
|
static short |
DEFAULT |
static short |
DIVIDE
The "/" operator.
|
static short |
MINUS
The "-" operator.
|
static short |
MULTIPLY
The "*" operator.
|
static short |
NOT
The "!"
|
static short |
OR
The "||" operator.
|
static short |
PLUS
The "+" operator.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
default java.lang.String |
getContent(java.lang.String schema)
Return the expression content.
|
short |
getOperator()
Return the operator to use for the expression.
|
default java.lang.String |
getOperatorAsString()
Return the operator as a String.
|
default java.lang.String |
getOperatorAsString(short theOperator)
Return an operator as a String.
|
default boolean |
isSimpleExpression()
Return true if the expression is a simple expression.
|
void |
setOperator(short operator)
Set the operator to use for the expression.
|
static final short DEFAULT
static final short PLUS
static final short MINUS
static final short MULTIPLY
static final short DIVIDE
static final short OR
static final short AND
static final short NOT
void setOperator(short operator)
operator - the operatorshort getOperator()
void appendContent(java.lang.String schema,
java.lang.StringBuilder buf)
schema - the schemabuf - the bufferdefault java.lang.String getContent(java.lang.String schema)
schema - the schemadefault boolean isSimpleExpression()
default java.lang.String getOperatorAsString()
setOperator(short)boolean checkValidity(ISparqlRequestGroup request)
request - the requestdefault java.lang.String getOperatorAsString(short theOperator)
theOperator - the operatorCopyright © 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence