Module io.github.mmm.orm
Package io.github.mmm.orm.statement
Interface ValuesFragment<E extends io.github.mmm.entity.bean.EntityBean,C extends DbClause>
- All Known Implementing Classes:
InsertInto,InsertValues,IntoClause,MergeInto,MergeValues,UpsertInto,UpsertValues,ValuesClause
public interface ValuesFragment<E extends io.github.mmm.entity.bean.EntityBean,C extends DbClause>
Interface for a fragment or clause to
add values.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvalue(io.github.mmm.property.criteria.PropertyAssignment<?> assignment) default <V> Cvalue(io.github.mmm.value.PropertyPath<V> property) Convenience method forvalue(PropertyAssignment.ofValue(property)).default <V> Cvalue(io.github.mmm.value.PropertyPath<V> property, io.github.mmm.value.PropertyPath<V> valueProperty) Convenience method forvalue(PropertyAssignment.(property, valueProperty)).invalid reference
ofdefault <V> Cvalue(io.github.mmm.value.PropertyPath<V> property, V value) Convenience method forvalue(PropertyAssignment.of(property, value)).values(io.github.mmm.property.criteria.PropertyAssignment<?>... assignments)
-
Method Details
-
value
- Parameters:
assignment- thePropertyAssignmentto add.- Returns:
- the
DbClausefor fluent API calls.
-
value
Convenience method forvalue(PropertyAssignment.ofValue(property)).- Type Parameters:
V- type of thevalue.- Parameters:
property- thepropertyto set.- Returns:
- the
DbClausefor fluent API calls.
-
value
Convenience method forvalue(PropertyAssignment.of(property, value)).- Type Parameters:
V- type of thevalue.- Parameters:
property- thepropertyto set.value- theLiteralvalue to insert (assign thepropertyto).- Returns:
- the
DbClausefor fluent API calls.
-
value
default <V> C value(io.github.mmm.value.PropertyPath<V> property, io.github.mmm.value.PropertyPath<V> valueProperty) Convenience method forvalue(PropertyAssignment.(property, valueProperty)).invalid reference
of- Type Parameters:
V- type of thevalue.- Parameters:
property- thepropertyto set.valueProperty- thepropertyfrom where to read the value to set.- Returns:
- the
UpdateSetfor fluent API.
-
values
- Parameters:
assignments- thePropertyAssignments to add.- Returns:
- the
DbClausefor fluent API calls.
-