|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jaxme.sqls.impl.StatementImpl net.sf.jaxme.sqls.impl.SetStatementImpl
Nested Class Summary | |
static class |
SetStatementImpl.SetValueImpl
|
Nested classes inherited from class net.sf.jaxme.sqls.SetStatement |
SetStatement.SetValue |
Constructor Summary | |
protected |
SetStatementImpl(SQLFactory pFactory)
|
Method Summary | |
void |
addSet(Column.Name pColumn)
Adds a SET clause setting the given column to a value given by a placeholder. |
void |
addSet(Column.Name pColumn,
boolean pValue)
Adds a SET clause setting the given column to the value TRUE or FALSE, depending on pValue |
void |
addSet(Column.Name pColumn,
byte pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(Column.Name pColumn,
float pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(Column.Name pColumn,
int pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(Column.Name pColumn,
long pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(Column.Name pColumn,
short pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(Column.Name pColumn,
java.lang.String pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(Column.Name pColumn,
Value pValue)
|
void |
addSet(Column pColumn)
Adds a SET clause setting the given column to a value given by a placeholder. |
void |
addSet(Column pColumn,
boolean pValue)
Adds a SET clause setting the given column to the value TRUE or FALSE, depending on pValue |
void |
addSet(Column pColumn,
byte pValue)
Adds a SET clause setting the given column to the value pValue |
void |
addSet(Column pColumn,
float pValue)
Adds a SET clause setting the given column to the value pValue |
void |
addSet(Column pColumn,
int pValue)
Adds a SET clause setting the given column to the value pValue |
void |
addSet(Column pColumn,
long pValue)
Adds a SET clause setting the given column to the value pValue |
void |
addSet(ColumnReference pColumn,
Value pValue)
|
void |
addSet(Column pColumn,
short pValue)
Adds a SET clause setting the given column to the value pValue |
void |
addSet(Column pColumn,
java.lang.String pValue)
Adds a SET clause setting the given column to the value pValue |
void |
addSet(Column pColumn,
Value pValue)
|
void |
addSet(java.lang.String pColumn)
Adds a SET clause setting the given column to a value given by a placeholder. |
void |
addSet(java.lang.String pColumn,
boolean pValue)
Adds a SET clause setting the given column to the value TRUE or FALSE, depending on pValue |
void |
addSet(java.lang.String pColumn,
byte pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(java.lang.String pColumn,
float pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(java.lang.String pColumn,
int pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(java.lang.String pColumn,
long pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(java.lang.String pColumn,
short pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(java.lang.String pColumn,
java.lang.String pValue)
Adds a SET clause setting the given column to the value pValue . |
void |
addSet(java.lang.String pColumn,
Value pValue)
|
void |
addSetDate(Column.Name pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the date value pValue . |
void |
addSetDate(Column pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the date value pValue |
void |
addSetDate(java.lang.String pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the date value pValue . |
void |
addSetDateTime(Column.Name pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the datetime value pValue . |
void |
addSetDateTime(Column pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the datetime value pValue |
void |
addSetDateTime(java.lang.String pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the datetime value pValue . |
void |
addSetNull(Column.Name pColumn)
Adds a SET clause setting the given column to NULL. |
void |
addSetNull(Column pColumn)
Adds a SET clause setting the given column to NULL. |
void |
addSetNull(java.lang.String pColumn)
Adds a SET clause setting the given column to NULL. |
void |
addSetTime(Column.Name pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the time value pValue . |
void |
addSetTime(Column pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the time value pValue |
void |
addSetTime(java.lang.String pColumn,
java.util.Calendar pValue)
Adds a SET clause setting the given column to the time value pValue . |
java.util.Iterator |
getSetValues()
Returns an Iterator to all values being set.
|
Methods inherited from class net.sf.jaxme.sqls.impl.StatementImpl |
getSQLFactory, getTableReference, newTableReference, setTable |
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.Statement |
getSQLFactory, getTableReference, setTable |
Constructor Detail |
protected SetStatementImpl(SQLFactory pFactory)
Method Detail |
public java.util.Iterator getSetValues()
SetStatement
Returns an Iterator
to all values being set.
Any element in the iterator is an instance of SetStatement.SetValue
.
getSetValues
in interface SetStatement
public void addSet(ColumnReference pColumn, Value pValue)
public void addSet(Column pColumn, Value pValue)
public void addSet(Column.Name pColumn, Value pValue)
public void addSet(java.lang.String pColumn, Value pValue)
public void addSetNull(Column pColumn)
SetStatement
Adds a SET clause setting the given column to NULL.
addSetNull
in interface SetStatement
public void addSetNull(Column.Name pColumn)
SetStatement
Adds a SET clause setting the given column to NULL.
addSetNull
in interface SetStatement
public void addSetNull(java.lang.String pColumn)
SetStatement
Adds a SET clause setting the given column to NULL.
addSetNull
in interface SetStatement
public void addSet(Column pColumn)
SetStatement
Adds a SET clause setting the given column to a value given by a placeholder.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn)
SetStatement
Adds a SET clause setting the given column to a value given by a placeholder.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn)
SetStatement
Adds a SET clause setting the given column to a value given by a placeholder.
addSet
in interface SetStatement
public void addSet(Column pColumn, byte pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, byte pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, byte pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column pColumn, short pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, short pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, short pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column pColumn, int pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, int pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, int pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column pColumn, long pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, long pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, long pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column pColumn, float pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, float pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, float pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column pColumn, boolean pValue)
SetStatement
Adds a SET clause setting the given column to the value
TRUE or FALSE, depending on pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, boolean pValue)
SetStatement
Adds a SET clause setting the given column to the value
TRUE or FALSE, depending on pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, boolean pValue)
SetStatement
Adds a SET clause setting the given column to the value
TRUE or FALSE, depending on pValue
.
addSet
in interface SetStatement
public void addSet(Column pColumn, java.lang.String pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(Column.Name pColumn, java.lang.String pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSet(java.lang.String pColumn, java.lang.String pValue)
SetStatement
Adds a SET clause setting the given column to the value
pValue
.
addSet
in interface SetStatement
public void addSetDateTime(Column pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the datetime
value pValue
.
addSetDateTime
in interface SetStatement
public void addSetDateTime(Column.Name pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the datetime
value pValue
.
addSetDateTime
in interface SetStatement
public void addSetDateTime(java.lang.String pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the datetime
value pValue
.
addSetDateTime
in interface SetStatement
public void addSetTime(Column pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the time value
pValue
. Shortcut for
addSet(getTable().newColumnReference(pColumn), pValue)
.
addSetTime
in interface SetStatement
public void addSetTime(Column.Name pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the time value
pValue
. Shortcut for
addSet(getTable().newColumnReference(pColumn), pValue)
.
addSetTime
in interface SetStatement
public void addSetTime(java.lang.String pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the time value
pValue
.
addSetTime
in interface SetStatement
public void addSetDate(Column pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the date value
pValue
.
addSetDate
in interface SetStatement
public void addSetDate(Column.Name pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the date value
pValue
.
addSetDate
in interface SetStatement
public void addSetDate(java.lang.String pColumn, java.util.Calendar pValue)
SetStatement
Adds a SET clause setting the given column to the date value
pValue
.
addSetDate
in interface SetStatement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |