| |
|
| java.lang.Object org.jpox.store.query.StatementText
StatementText | public class StatementText (Code) | | Representation of a statement.
version: $Revision: 1.1 $ |
StatementText | public StatementText()(Code) | | Constructor
|
StatementText | public StatementText(String initialStatementText)(Code) | | Constructor
Parameters: initialStatementText - |
append | public StatementText append(char c)(Code) | | Append a char
Parameters: c - the char the StatementText |
appendParameter | public String appendParameter(JavaTypeMapping mapping, Object value)(Code) | | Append a parameter
Parameters: mapping - the mapping Parameters: value - the parameter value the generated parameter name |
clearStatement | public void clearStatement()(Code) | | Convenience method to reset the SQL for the statement.
This is used when updating an expression internally, and need to regenerate
the statement.
|
encloseWithInParentheses | public void encloseWithInParentheses()(Code) | | Whether to enclose this statement within parentheses
|
postpend | public StatementText postpend(String s)(Code) | | Set a String to the end of the statement.
Parameters: s - the string the StatementText |
setParameters | public void setParameters(ObjectManager om, Object datastoreStatement)(Code) | | Method to set the parameters in the datastore statement.
Parameters: om - ObjectManager Parameters: datastoreStatement - The datastore "statement" |
toStatementString | public String toStatementString(int mode)(Code) | | Accessor for the SQL of the statement.
Parameters: mode - (0=PROJECTION;1=FILTER) The SQL text |
toString | public String toString()(Code) | | Accessor for the string form of the statement.
String form of the statement |
|
|
|