|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.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()
BooleanConstraintReturns the boolean constraints type.
getType in interface BooleanConstraintpublic void addPart(Value pValue)
BooleanConstraintInserts a constant value.
addPart in interface BooleanConstraintpublic void addPart(ColumnReference pColumn)
BooleanConstraintInserts a column reference.
addPart in interface BooleanConstraintpublic void addPart(ColumnReference[] pColumns)
BooleanConstraintInserts a set of column references.
addPart in interface BooleanConstraintpublic void addPart(SelectStatement pStatement)
BooleanConstraintInserts a subselect.
addPart in interface BooleanConstraintpublic void addPart(java.lang.String pString)
BooleanConstraintInserts a String. The String will be properly escaped.
addPart in interface BooleanConstraintpublic void addPart()
BooleanConstraintInserts a NULL value.
addPart in interface BooleanConstraintpublic void addPart(byte pByte)
BooleanConstraintInserts a byte value, which will be inserted without quotes.
addPart in interface BooleanConstraintpublic void addPart(int pInt)
BooleanConstraintInserts an int value, which will be inserted without quotes.
addPart in interface BooleanConstraintpublic void addPart(long pLong)
BooleanConstraintInserts a long value, which will be inserted without quotes.
addPart in interface BooleanConstraintpublic void addPart(short pShort)
BooleanConstraintInserts a short value, which will be inserted without quotes.
addPart in interface BooleanConstraintpublic void addPart(float pFloat)
BooleanConstraintInserts a float value, which will be inserted without quotes.
addPart in interface BooleanConstraintpublic void addPart(double pDouble)
BooleanConstraintInserts a double value, which will be inserted without quotes.
addPart in interface BooleanConstraintpublic void addPart(boolean pBoolean)
BooleanConstraintInserts a boolean value, which will be inserted as the word
TRUE, or FALSE, respectively.
addPart in interface BooleanConstraintpublic void addPlaceholder()
BooleanConstraintInserts a placeholder.
addPlaceholder in interface BooleanConstraintpublic int getNumParts()
BooleanConstraintReturns the number of parts.
getNumParts in interface BooleanConstraintpublic java.util.Iterator getParts()
BooleanConstraintReturns 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 | ||||||||||