Interface Assignment<T>

Type Parameters:
T - The target entity type of the assignment

@Incubating public interface Assignment<T>
An assignment to a field or property of an entity or embeddable.
Since:
7.2
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(SqmUpdateStatement<? extends T> update)
     
    static <T, X> Assignment<T>
    set(SingularAttribute<T,X> attribute, Path<T,X> value)
    An assigment of the entity or embeddable field or property identified by the given path from the root entity to the given attribute of the root entity.
    static <T, X> Assignment<T>
    set(SingularAttribute<T,X> attribute, X value)
    An assigment of the given literal value to the given attribute of the root entity.
    static <T, X> Assignment<T>
    set(Path<T,X> path, Path<T,X> value)
    An assigment of one entity or embeddable field or property to another entity or embeddable field or property, each identified by a given path from the root entity.
    static <T, X> Assignment<T>
    set(Path<T,X> path, X value)
    An assigment of the given literal value to the entity or embeddable field or property identified by the given path from the root entity.
  • Method Details

    • set

      static <T, X> Assignment<T> set(SingularAttribute<T,X> attribute, X value)
      An assigment of the given literal value to the given attribute of the root entity.
    • set

      static <T, X> Assignment<T> set(Path<T,X> path, X value)
      An assigment of the given literal value to the entity or embeddable field or property identified by the given path from the root entity.
    • set

      static <T, X> Assignment<T> set(SingularAttribute<T,X> attribute, Path<T,X> value)
      An assigment of the entity or embeddable field or property identified by the given path from the root entity to the given attribute of the root entity.
    • set

      static <T, X> Assignment<T> set(Path<T,X> path, Path<T,X> value)
      An assigment of one entity or embeddable field or property to another entity or embeddable field or property, each identified by a given path from the root entity.
    • apply

      void apply(SqmUpdateStatement<? extends T> update)