public class BooleanConstraintImpl extends PartsImpl implements BooleanConstraint
Modifier and Type | Class and Description |
---|---|
static class |
BooleanConstraintImpl.TypeImpl
Default implementation of
BooleanConstraint.Type . |
BooleanConstraint.Type
Modifier | Constructor and Description |
---|---|
protected |
BooleanConstraintImpl(CombinedConstraint pCombinedConstraint,
BooleanConstraint.Type pType) |
Modifier and Type | Method and Description |
---|---|
protected void |
add(java.lang.Object pPart) |
ConstrainedStatement |
getConstrainedStatement()
Returns the enclosing
ConstrainedStatement . |
int |
getMaximumParts()
Returns the maximum number of parts.
|
int |
getMinimumParts()
Returns the minimum number of parts.
|
BooleanConstraint.Type |
getType()
Returns the boolean constraints type.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, createDIFFERENCE, createPRODUCT, createQUOTIENT, createSUM, getNumParts, getParts
protected BooleanConstraintImpl(CombinedConstraint pCombinedConstraint, BooleanConstraint.Type pType)
public BooleanConstraint.Type getType()
BooleanConstraint
Returns the boolean constraints type.
getType
in interface BooleanConstraint
public ConstrainedStatement getConstrainedStatement()
Constraint
Returns the enclosing ConstrainedStatement
.
getConstrainedStatement
in interface Constraint
public int getMinimumParts()
Parts
getMinimumParts
in interface Parts
public int getMaximumParts()
Parts
getMaximumParts
in interface Parts