Interface SetFragment<E extends io.github.mmm.entity.bean.EntityBean,C extends DbClause>

Type Parameters:
E - type of the entity.
C - type of DbClause to return for fluent API.
All Known Implementing Classes:
SetClause, UpdateClause, UpdateSet

public interface SetFragment<E extends io.github.mmm.entity.bean.EntityBean,C extends DbClause>
Interface for a fragment or clause to set assignments.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    set(io.github.mmm.property.criteria.PropertyAssignment<?> assignment)
     
    default <V> C
    set(io.github.mmm.value.PropertyPath<V> property)
    Convenience method for set(PropertyAssignment.ofValue(property)).
    default <V> C
    set(io.github.mmm.value.PropertyPath<V> property, io.github.mmm.value.PropertyPath<V> valueProperty)
    Convenience method for set(PropertyAssignment.
    invalid reference
    of
    (property, valueProperty)).
    default <V> C
    set(io.github.mmm.value.PropertyPath<V> property, V value)
    Convenience method for set(PropertyAssignment.of(property, value)).
    setAll(io.github.mmm.property.criteria.PropertyAssignment<?>... assignments)
     
  • Method Details

    • set

      C set(io.github.mmm.property.criteria.PropertyAssignment<?> assignment)
      Parameters:
      assignment - the PropertyAssignment to add.
      Returns:
      the DbClause for fluent API calls.
    • set

      default <V> C set(io.github.mmm.value.PropertyPath<V> property)
      Convenience method for set(PropertyAssignment.ofValue(property)).
      Type Parameters:
      V - type of the value.
      Parameters:
      property - the property to set.
      Returns:
      the DbClause for fluent API calls.
    • set

      default <V> C set(io.github.mmm.value.PropertyPath<V> property, V value)
      Convenience method for set(PropertyAssignment.of(property, value)).
      Type Parameters:
      V - type of the value.
      Parameters:
      property - the property to set.
      value - the Literal value to insert (assign the property to).
      Returns:
      the DbClause for fluent API calls.
    • set

      default <V> C set(io.github.mmm.value.PropertyPath<V> property, io.github.mmm.value.PropertyPath<V> valueProperty)
      Convenience method for set(PropertyAssignment.
      invalid reference
      of
      (property, valueProperty)).
      Type Parameters:
      V - type of the value.
      Parameters:
      property - the property to set.
      valueProperty - the property from where to read the value to set.
      Returns:
      the UpdateSet for fluent API.
    • setAll

      C setAll(io.github.mmm.property.criteria.PropertyAssignment<?>... assignments)
      Parameters:
      assignments - the PropertyAssignments to add.
      Returns:
      the DbClause for fluent API calls.