Module io.github.mmm.entity.bean
Class InsertInto<E extends EntityBean>
- java.lang.Object
-
- io.github.mmm.marshall.AbstractMarshallingObject
-
- io.github.mmm.entity.bean.sql.AbstractClause
-
- io.github.mmm.entity.bean.sql.AbstractTypedClause<E,SELF>
-
- io.github.mmm.entity.bean.sql.AbstractEntityClause<E,SELF>
-
- io.github.mmm.entity.bean.sql.Into<E,InsertInto<E>>
-
- io.github.mmm.entity.bean.sql.insert.InsertInto<E>
-
- Type Parameters:
E- type of theentity.
- All Implemented Interfaces:
Clause,MainClause<E>,TypedClause<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 InsertInto<E extends EntityBean> extends Into<E,InsertInto<E>>
- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from class io.github.mmm.entity.bean.sql.AbstractEntityClause
entity, NAME_ALIAS, NAME_ENTITY
-
-
Constructor Summary
Constructors Constructor Description InsertInto(Insert insert, E entity)The constructor.InsertInto(Insert insert, E entity, String entityName)The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsertStatement<E>get()<V> InsertValues<E>values(io.github.mmm.property.criteria.PropertyAssignment<V> assignment)<V> InsertValues<E>values(io.github.mmm.property.criteria.PropertyAssignment<V>... assignments)<V> InsertValues<E>values(io.github.mmm.value.PropertyPath<V> property, V value)Convenience method forvalues(PropertyAssignment.of(property, value)).-
Methods inherited from class io.github.mmm.entity.bean.sql.Into
getMarshallingName
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractEntityClause
as, getAlias, getEntity, getEntityName, readProperty, setEntityName, writeProperties
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractTypedClause
self
-
Methods inherited from class io.github.mmm.entity.bean.sql.AbstractClause
toString
-
-
-
-
Method Detail
-
values
public <V> InsertValues<E> values(io.github.mmm.property.criteria.PropertyAssignment<V> assignment)
- Specified by:
valuesin classInto<E extends EntityBean,InsertInto<E extends EntityBean>>- Type Parameters:
V- type of thevalue.- Parameters:
assignment- thePropertyAssignmentto set.- Returns:
- the
Valuesfor fluent API.
-
values
public <V> InsertValues<E> values(io.github.mmm.property.criteria.PropertyAssignment<V>... assignments)
- Specified by:
valuesin classInto<E extends EntityBean,InsertInto<E extends EntityBean>>- Type Parameters:
V- type of thevalue.- Parameters:
assignments- thePropertyAssignments to set.- Returns:
- the
Valuesfor fluent API.
-
values
public <V> InsertValues<E> values(io.github.mmm.value.PropertyPath<V> property, V value)
Description copied from class:IntoConvenience method forvalues(PropertyAssignment.of(property, value)).- Specified by:
valuesin classInto<E extends EntityBean,InsertInto<E extends EntityBean>>- Type Parameters:
V- type of thevalue.- Parameters:
property- thepropertyto set.value- theLiteralvalue to insert (assign thepropertyto).- Returns:
- the
Valuesfor fluent API.
-
get
public InsertStatement<E> get()
-
-