|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdbf.engine.sql
Class SQLStatement

java.lang.Objectorg.jdbf.engine.sql.SQLStatement
- Direct Known Subclasses:
- DeleteStatement, InsertStatement, SelectStatement, UpdateStatement
- public abstract class SQLStatement
- extends java.lang.Object
SQLStatement is an abstract class that represents the sql
statement.
SQLStatement handles the creation of sql statement with the informations
specified in a RepositoryView object.
| Field Summary | |
protected java.lang.String |
className
class name |
protected static java.lang.String |
CLOSE_BRACE
identifies ) |
protected org.jdbf.engine.criteria.Criteria |
criteria
Cirteria object |
protected static java.lang.String |
OPEN_BRACE
identifies ( |
protected java.lang.String |
statement
sql statement |
protected static java.lang.String |
WHERE
identifies WHERE clause |
| Constructor Summary | |
SQLStatement()
|
|
SQLStatement(org.jdbf.engine.repository.RepositoryView repository,
java.lang.String[] propertiesNames,
org.jdbf.engine.criteria.Criteria criteria)
|
|
| Method Summary | |
abstract java.lang.String |
buildStatement(org.jdbf.engine.repository.RepositoryView repository,
java.lang.String[] propertiesNames)
|
abstract java.lang.String |
buildStatementForCriteria(org.jdbf.engine.repository.RepositoryView repository,
java.lang.String[] propertiesNames)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
className
protected java.lang.String className
- class name
statement
protected java.lang.String statement
- sql statement
criteria
protected org.jdbf.engine.criteria.Criteria criteria
- Cirteria object
WHERE
protected static final java.lang.String WHERE
- identifies WHERE clause
OPEN_BRACE
protected static final java.lang.String OPEN_BRACE
- identifies (
- See Also:
- Constant Field Values
CLOSE_BRACE
protected static final java.lang.String CLOSE_BRACE
- identifies )
- See Also:
- Constant Field Values
| Constructor Detail |
SQLStatement
public SQLStatement()
SQLStatement
public SQLStatement(org.jdbf.engine.repository.RepositoryView repository, java.lang.String[] propertiesNames, org.jdbf.engine.criteria.Criteria criteria)
| Method Detail |
buildStatement
public abstract java.lang.String buildStatement(org.jdbf.engine.repository.RepositoryView repository, java.lang.String[] propertiesNames)
buildStatementForCriteria
public abstract java.lang.String buildStatementForCriteria(org.jdbf.engine.repository.RepositoryView repository, java.lang.String[] propertiesNames)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> jdbf >> engine >> [ sql overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdbf.engine.sql.SQLStatement