Class DbSelection<V>

java.lang.Object
io.github.mmm.orm.mapping.DbSelection<V>
Type Parameters:
V - type of the Java value to select and to map.

public final class DbSelection<V> extends Object
Container with information about the a single selected column.
Since:
1.0.0
  • Constructor Details

    • DbSelection

      public DbSelection(io.github.mmm.value.CriteriaObject<V> selection, io.github.mmm.value.converter.TypeMapper<V,?> typeMapper)
      The constructor.
      Parameters:
      selection - the selection.
      typeMapper - the type mapper.
  • Method Details

    • getSelection

      public io.github.mmm.value.CriteriaObject<V> getSelection()
      Returns:
      the Supplier with the selection from the DbStatement.
    • getTypeMapper

      public io.github.mmm.value.converter.TypeMapper<V,?> getTypeMapper()
      Returns:
      the TypeMapper for the selection.
    • toString

      public String toString()
      Overrides:
      toString in class Object