Module io.github.mmm.entity.bean
Class DeleteStatement<E extends EntityBean>
- java.lang.Object
-
- io.github.mmm.marshall.AbstractMarshallingObject
-
- io.github.mmm.entity.bean.sql.AbstractStatement<E>
-
- io.github.mmm.entity.bean.sql.delete.DeleteStatement<E>
-
- Type Parameters:
E- type of theentity.
- All Implemented Interfaces:
Statement<E>,io.github.mmm.marshall.MarshallableObject,io.github.mmm.marshall.Marshaller<Object>,io.github.mmm.marshall.Marshalling<Object>,io.github.mmm.marshall.MarshallingObject,io.github.mmm.marshall.UnmarshallableObject,io.github.mmm.marshall.Unmarshaller<Object>
public class DeleteStatement<E extends EntityBean> extends AbstractStatement<E>
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description DeleteStatement(Delete delete, DeleteFrom<E> from)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddClauses(List<Clause> list)DeletegetDelete()DeleteFrom<E>getFrom()StartClausegetStart()Deprecated.usegetDelete()to make it more explicit.DeleteWhere<E>getWhere()-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractStatement
getClauses, readProperty, toString, writeProperties
-
-
-
-
Constructor Detail
-
DeleteStatement
public DeleteStatement(Delete delete, DeleteFrom<E> from)
The constructor.- Parameters:
delete- thedelete.from- the #getFrom
-
-
Method Detail
-
getStart
@Deprecated public StartClause getStart()
Deprecated.usegetDelete()to make it more explicit.- Returns:
- the
StartClause
-
getFrom
public DeleteFrom<E> getFrom()
-
getWhere
public DeleteWhere<E> getWhere()
-
addClauses
protected void addClauses(List<Clause> list)
- Specified by:
addClausesin classAbstractStatement<E extends EntityBean>- Parameters:
list- theListwhere toaddtheClauses.- See Also:
AbstractStatement.getClauses()
-
-