|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.query.Delete
public final class Delete
Class to generate SQL delete query statements.
Note: Be aware that the SQL statement will be invalid for empty compound conditions.
| Constructor Summary | |
|---|---|
Delete(String name)
Construct a SQL delete statement that deletes records of the table with given name. |
|
| Method Summary | |
|---|---|
void |
accept(Visitor visitor)
Accept method to handle incoming visitors. |
Condition |
getCondition()
Get condition that specifies which records to delete. |
Qualifier |
getQualifier()
Get method returning Qualifier currently set. |
void |
setCondition(Condition condition)
Set condition that specifies which records to delete. |
String |
toString()
Method constructing query string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Delete(String name)
name - Name of the table to delete records of.| Method Detail |
|---|
public Condition getCondition()
public void setCondition(Condition condition)
condition - Condition that specifies which records to delete.public Qualifier getQualifier()
Qualifier currently set.
public void accept(Visitor visitor)
accept in interface QueryObjectvisitor - Visitor to be handled.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||