org.apache.ws.jaxme.sqls.impl
Class BooleanConstraintImpl

java.lang.Object
  extended byorg.apache.ws.jaxme.sqls.impl.PartsImpl
      extended byorg.apache.ws.jaxme.sqls.impl.BooleanConstraintImpl
All Implemented Interfaces:
BooleanConstraint, Constraint, Parts

public class BooleanConstraintImpl
extends PartsImpl
implements BooleanConstraint

Author:
Jochen Wiedmann

Nested Class Summary
static class BooleanConstraintImpl.TypeImpl
           
 
Nested classes inherited from class org.apache.ws.jaxme.sqls.BooleanConstraint
BooleanConstraint.Type
 
Constructor Summary
protected BooleanConstraintImpl(CombinedConstraint pCombinedConstraint, BooleanConstraint.Type pType)
           
 
Method Summary
protected  void add(java.lang.Object pPart)
           
 ConstrainedStatement getConstrainedStatement()
          Returns the enclosing ConstrainedStatement.
 BooleanConstraint.Type getType()
          Returns the boolean constraints type.
 
Methods inherited from class org.apache.ws.jaxme.sqls.impl.PartsImpl
addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, getNumParts, getParts, getStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.jaxme.sqls.Parts
addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPart, addPlaceholder, addRawSQLPart, getNumParts, getParts
 

Constructor Detail

BooleanConstraintImpl

protected BooleanConstraintImpl(CombinedConstraint pCombinedConstraint,
                                BooleanConstraint.Type pType)
Method Detail

getType

public BooleanConstraint.Type getType()
Description copied from interface: BooleanConstraint

Returns the boolean constraints type.

Specified by:
getType in interface BooleanConstraint

add

protected void add(java.lang.Object pPart)
Overrides:
add in class PartsImpl

getConstrainedStatement

public ConstrainedStatement getConstrainedStatement()
Description copied from interface: Constraint

Returns the enclosing ConstrainedStatement.

Specified by:
getConstrainedStatement in interface Constraint