Interface DbResultValue<V>

Type Parameters:
V - type of the value.

public interface DbResultValue<V>
A single value value with name of a DbResult.
  • Method Details

    • getName

      String getName()
      Returns:
      the database name of this entry. That is the name of the column, the explicit alias, or a String representation derived from the selection criteria.
    • getDeclaration

      default String getDeclaration()
      Returns:
      the optional database declaration.
    • getValue

      V getValue()
      Returns:
      the result value from the database. May be null.
    • withValue

      DbResultValue<V> withValue(V newValue)
      Parameters:
      newValue - the new value.
      Returns:
      a new instance of DbResultValue with the same name and declaration but the given value as value.