org.apache.ws.jaxme.sqls.impl

Class BooleanConstraintImpl

Implemented Interfaces:
BooleanConstraint, Constraint, Parts

public class BooleanConstraintImpl
extends PartsImpl
implements BooleanConstraint

Author:
Jochen Wiedmann

Nested Class Summary

static class
BooleanConstraintImpl.TypeImpl
Default implementation of BooleanConstraint.Type.

Constructor Summary

BooleanConstraintImpl(CombinedConstraint pCombinedConstraint, BooleanConstraint.Type pType)

Method Summary

protected void
add(Object pPart)
ConstrainedStatement
getConstrainedStatement()
Returns the enclosing ConstrainedStatement.
int
getMaximumParts()
int
getMinimumParts()
BooleanConstraint.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

BooleanConstraintImpl

protected BooleanConstraintImpl(CombinedConstraint pCombinedConstraint,
                                BooleanConstraint.Type pType)

Method Details

add

protected void add(Object pPart)
Overrides:
add in interface PartsImpl

getConstrainedStatement

public ConstrainedStatement getConstrainedStatement()
Returns the enclosing ConstrainedStatement.
Specified by:
getConstrainedStatement in interface Constraint

getMaximumParts

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

getMinimumParts

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

getType

public BooleanConstraint.Type getType()
Specified by:
getType in interface BooleanConstraint