|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.sqls.impl.ConstraintImpl net.sf.jaxme.sqls.impl.BooleanConstraintImpl
Nested Class Summary | |
static class |
BooleanConstraintImpl.TypeImpl
|
Nested classes inherited from class net.sf.jaxme.sqls.BooleanConstraint |
BooleanConstraint.Type |
Constructor Summary | |
protected |
BooleanConstraintImpl(CombinedConstraint pCombinedConstraint,
BooleanConstraint.Type pType)
|
Method Summary | |
void |
addPart()
Inserts a NULL value. |
void |
addPart(boolean pBoolean)
Inserts a boolean value, which will be inserted as the word TRUE , or FALSE , respectively. |
void |
addPart(byte pByte)
Inserts a byte value, which will be inserted without quotes. |
void |
addPart(ColumnReference pColumn)
Inserts a column reference. |
void |
addPart(ColumnReference[] pColumns)
Inserts a set of column references. |
void |
addPart(double pDouble)
Inserts a double value, which will be inserted without quotes. |
void |
addPart(float pFloat)
Inserts a float value, which will be inserted without quotes. |
void |
addPart(int pInt)
Inserts an int value, which will be inserted without quotes. |
void |
addPart(long pLong)
Inserts a long value, which will be inserted without quotes. |
void |
addPart(SelectStatement pStatement)
Inserts a subselect. |
void |
addPart(short pShort)
Inserts a short value, which will be inserted without quotes. |
void |
addPart(java.lang.String pString)
Inserts a String. |
void |
addPart(Value pValue)
Inserts a constant value. |
void |
addPlaceholder()
Inserts a placeholder. |
int |
getNumParts()
Returns the number of parts. |
java.util.Iterator |
getParts()
Returns an Iterator to the parts that have been added. |
BooleanConstraint.Type |
getType()
Returns the boolean constraints type. |
Methods inherited from class net.sf.jaxme.sqls.impl.ConstraintImpl |
getConstrainedStatement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jaxme.sqls.Constraint |
getConstrainedStatement |
Constructor Detail |
protected BooleanConstraintImpl(CombinedConstraint pCombinedConstraint, BooleanConstraint.Type pType)
Method Detail |
public BooleanConstraint.Type getType()
BooleanConstraint
Returns the boolean constraints type.
getType
in interface BooleanConstraint
public void addPart(Value pValue)
BooleanConstraint
Inserts a constant value.
addPart
in interface BooleanConstraint
public void addPart(ColumnReference pColumn)
BooleanConstraint
Inserts a column reference.
addPart
in interface BooleanConstraint
public void addPart(ColumnReference[] pColumns)
BooleanConstraint
Inserts a set of column references.
addPart
in interface BooleanConstraint
public void addPart(SelectStatement pStatement)
BooleanConstraint
Inserts a subselect.
addPart
in interface BooleanConstraint
public void addPart(java.lang.String pString)
BooleanConstraint
Inserts a String. The String will be properly escaped.
addPart
in interface BooleanConstraint
public void addPart()
BooleanConstraint
Inserts a NULL value.
addPart
in interface BooleanConstraint
public void addPart(byte pByte)
BooleanConstraint
Inserts a byte value, which will be inserted without quotes.
addPart
in interface BooleanConstraint
public void addPart(int pInt)
BooleanConstraint
Inserts an int value, which will be inserted without quotes.
addPart
in interface BooleanConstraint
public void addPart(long pLong)
BooleanConstraint
Inserts a long value, which will be inserted without quotes.
addPart
in interface BooleanConstraint
public void addPart(short pShort)
BooleanConstraint
Inserts a short value, which will be inserted without quotes.
addPart
in interface BooleanConstraint
public void addPart(float pFloat)
BooleanConstraint
Inserts a float value, which will be inserted without quotes.
addPart
in interface BooleanConstraint
public void addPart(double pDouble)
BooleanConstraint
Inserts a double value, which will be inserted without quotes.
addPart
in interface BooleanConstraint
public void addPart(boolean pBoolean)
BooleanConstraint
Inserts a boolean value, which will be inserted as the word
TRUE
, or FALSE
, respectively.
addPart
in interface BooleanConstraint
public void addPlaceholder()
BooleanConstraint
Inserts a placeholder.
addPlaceholder
in interface BooleanConstraint
public int getNumParts()
BooleanConstraint
Returns the number of parts.
getNumParts
in interface BooleanConstraint
public java.util.Iterator getParts()
BooleanConstraint
Returns an Iterator to the parts that have been added.
getParts
in interface BooleanConstraint
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |