Class Update<E extends EntityBean>

    • Constructor Detail

      • Update

        public Update​(E entity)
        The constructor.
        Parameters:
        entity - the entity to operate on.
      • Update

        public Update​(E entity,
                      String entityName)
        The constructor.
        Parameters:
        entity - the entity to operate on.
        entityName - the entity name.
    • Method Detail

      • set

        public <V> UpdateSet<E> set​(io.github.mmm.property.criteria.PropertyAssignment<V> assignment)
        Type Parameters:
        V - type of the value.
        Parameters:
        assignment - the PropertyAssignment to set.
        Returns:
        the UpdateSet for fluent API.
      • set

        public <V> UpdateSet<E> set​(io.github.mmm.property.criteria.PropertyAssignment<V>... assignments)
        Type Parameters:
        V - type of the value.
        Parameters:
        assignments - the PropertyAssignments to set.
        Returns:
        the UpdateSet for fluent API.
      • set

        public <V> UpdateSet<E> 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 set (assign the property to).
        Returns:
        the UpdateSet for fluent API.