|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.dbmaintainer.script.StatementBuilder
public class StatementBuilder
A class for building statements.
| Constructor Summary | |
|---|---|
StatementBuilder()
|
|
| Method Summary | |
|---|---|
void |
append(char c)
Append a character to the statement. |
void |
clear()
Clear the statement. |
String |
createStatement()
Creates the resulting statement out of the given characters. |
int |
getLength()
Returns the length (character count) of the statement. |
char[] |
getTrailingSeparatorCharsToRemove()
Returns the characters that should be removed from the statements. |
boolean |
isExecutable()
|
void |
setExecutable(boolean executable)
Change the statement executable flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatementBuilder()
| Method Detail |
|---|
public boolean isExecutable()
public void setExecutable(boolean executable)
executable - True if the statement is executablepublic void append(char c)
c - The characterpublic int getLength()
public void clear()
public char[] getTrailingSeparatorCharsToRemove()
public String createStatement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||