org.apache.ws.jaxme.sqls

Interface Expression

All Superinterfaces:
Parts
Known Implementing Classes:
ExpressionImpl

public interface Expression
extends Parts

Interface of an arithmetic expression.

Nested Class Summary

static interface
Expression.Type
The type of a boolean constraint.

Field Summary

static Expression.Type
DIFFERENCE
An expression: The difference of its two parts.
static Expression.Type
PRODUCT
An expression: The product of its parts.
static Expression.Type
QUOTIENT
An expression: The quotient of its two parts.
static Expression.Type
SUM
An expression: The sum of its parts.

Method Summary

Expression.Type
getType()
Returns the expression type.

Methods inherited from interface org.apache.ws.jaxme.sqls.Parts

addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, createDIFFERENCE, createPRODUCT, createQUOTIENT, createSUM, getMaximumParts, getMinimumParts, getNumParts, getParts

Field Details

DIFFERENCE

public static final Expression.Type DIFFERENCE
An expression: The difference of its two parts.

PRODUCT

public static final Expression.Type PRODUCT
An expression: The product of its parts.

QUOTIENT

public static final Expression.Type QUOTIENT
An expression: The quotient of its two parts.

SUM

public static final Expression.Type SUM
An expression: The sum of its parts.

Method Details

getType

public Expression.Type getType()
Returns the expression type.