Class IntoClause<E extends io.github.mmm.entity.bean.EntityBean,V extends ValuesClause<E,?>,SELF extends IntoClause<E,V,SELF>>

Type Parameters:
E - type of the entity.
V - type of the ValuesClause.
SELF - type of this class itself.
All Implemented Interfaces:
DbClause, TypedClause<E>, ValuesFragment<E,V>
Direct Known Subclasses:
InsertInto, MergeInto, UpsertInto

public abstract class IntoClause<E extends io.github.mmm.entity.bean.EntityBean,V extends ValuesClause<E,?>,SELF extends IntoClause<E,V,SELF>> extends AbstractEntityClause<E,E,SELF> implements ValuesFragment<E,V>
An INTO-clause of a DbStatement such as INSERT or UPSERT.
Since:
1.0.0
  • Constructor Details

    • IntoClause

      protected IntoClause(AliasMap aliasMap, E entity, String entityName)
      The constructor.
      Parameters:
      aliasMap - the AliasMap.
      entity - the entity to operate on.
      entityName - the entity name.
  • Method Details

    • valuesAll

      public V valuesAll()
      Sets all properties of the entity that are not null.
      Returns:
      the ValuesClause for fluent API.
    • isIncludeNullValues

      protected boolean isIncludeNullValues()
      Returns:
      true to include null values, false otherwise (to ignore them).