Module io.github.mmm.entity.bean
Class InsertStatement<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.insert.InsertStatement<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 InsertStatement<E extends EntityBean> extends AbstractStatement<E>
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description InsertStatement(Insert insert, InsertInto<E> into)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddClauses(List<Clause> list)InsertgetInsert()InsertInto<E>getInto()InsertgetStart()Deprecated.usegetInsert()to make it more explicit.InsertValues<E>getValues()-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractStatement
getClauses, readProperty, toString, writeProperties
-
-
-
-
Constructor Detail
-
InsertStatement
public InsertStatement(Insert insert, InsertInto<E> into)
The constructor.- Parameters:
insert- theinsert.into- the #getInto
-
-
Method Detail
-
getStart
@Deprecated public Insert getStart()
Deprecated.usegetInsert()to make it more explicit.- Returns:
- the
StartClause
-
getInto
public InsertInto<E> getInto()
-
getValues
public InsertValues<E> getValues()
-
addClauses
protected void addClauses(List<Clause> list)
- Specified by:
addClausesin classAbstractStatement<E extends EntityBean>- Parameters:
list- theListwhere toaddtheClauses.- See Also:
AbstractStatement.getClauses()
-
-