Class Into<E extends EntityBean,​SELF extends Into<E,​SELF>>

  • Type Parameters:
    E - type of the entity.
    SELF - type of this class itself.
    All Implemented Interfaces:
    Clause, 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>
    Direct Known Subclasses:
    InsertInto

    public abstract class Into<E extends EntityBean,​SELF extends Into<E,​SELF>>
    extends AbstractEntityClause<E,​SELF>
    A Into-Clause of an SQL Statement such as Insert or Upsert.
    Since:
    1.0.0
    • Constructor Detail

      • Into

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

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

      • values

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

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

        public abstract <V> Values<E,​?> values​(io.github.mmm.value.PropertyPath<V> property,
                                                     V value)
        Convenience method for values(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 Values for fluent API.
      • values

        public Values<E,​?> values()
        Sets all properties of the entity that are not null.
        Returns:
        the Values for fluent API.