org.castor.cpa.persistence.sql.query
public final class Delete extends java.lang.Object implements QueryObject
Constructor and Description |
---|
Delete(java.lang.String name)
Construct a SQL delete statement that deletes records of the table with given name.
|
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
toString()
Method constructing query string.
|
public Delete(java.lang.String name)
name
- Name of the table to delete records of.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 QueryObject
visitor
- Visitor to be handled.public java.lang.String toString()
toString
in class java.lang.Object
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com