org.apache.ws.jaxme.sqls.impl

Class ExpressionImpl

Implemented Interfaces:
Expression, Parts

public class ExpressionImpl
extends PartsImpl
implements Expression

Default implementation of Expression.

Nested Class Summary

static class
ExpressionImpl.TypeImpl
Default implementation of Expression.Type.

Fields inherited from interface org.apache.ws.jaxme.sqls.Expression

DIFFERENCE, PRODUCT, QUOTIENT, SUM

Constructor Summary

ExpressionImpl(Statement pStatement, Expression.Type pType)

Method Summary

int
getMaximumParts()
int
getMinimumParts()
Type
getType()

Methods inherited from class org.apache.ws.jaxme.sqls.impl.PartsImpl

add, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, createDIFFERENCE, createPRODUCT, createQUOTIENT, createSUM, getNumParts, getParts, getStatement

Constructor Details

ExpressionImpl

protected ExpressionImpl(Statement pStatement,
                         Expression.Type pType)

Method Details

getMaximumParts

public int getMaximumParts()
Specified by:
getMaximumParts in interface Parts

getMinimumParts

public int getMinimumParts()
Specified by:
getMinimumParts in interface Parts

getType

public Type getType()
Specified by:
getType in interface Expression