|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.dbtools.DBDelete
public class DBDelete
DBDelete
provides the creation of the SQL provider specific
DELETE statement.
Constructor Summary | |
---|---|
DBDelete(DBFactory fact)
Constructor |
Method Summary | |
---|---|
DBWhere |
createDBWhere()
Creates a new DBWhere instance (calling 'setWhere(...)' is still required in order to used the created DBWhere instance for this DBDelete). |
DBFactory |
getFactory()
Gets the DBFactory defined for this DBDelete |
java.lang.String |
getTranslatedTableName()
Gets the table name for this DBSelect |
java.lang.String |
getUntranslatedTableName()
Gets the untranslated table name for this DBDelete |
java.lang.String |
getWhere()
Gets the where clause for this DBDelete |
boolean |
hasFactory()
Returns true if a DBFactory has been defined |
boolean |
hasWhere()
Returns true if this DBDelete has a defined where clause |
void |
setUntranslatedTableName(java.lang.String utableName)
Sets the untranslated table name for this DBDelete (if not set, the table name of the defined DBFactory will be used). |
void |
setWhere(java.lang.String wh)
Sets the DBWhere instance used for this DBDelete |
java.lang.String |
toString()
Returns the DELETE statement for this DBDelete |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DBDelete(DBFactory fact)
fact
- The table DBFactoryMethod Detail |
---|
public boolean hasFactory()
public DBFactory getFactory()
public void setUntranslatedTableName(java.lang.String utableName)
utableName
- The table namepublic java.lang.String getUntranslatedTableName()
public java.lang.String getTranslatedTableName()
public DBWhere createDBWhere()
public void setWhere(java.lang.String wh)
wh
- The DBWhere instance used for this DBDeletepublic boolean hasWhere()
public java.lang.String getWhere()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |