Class GeneratedJpqlParameter

java.lang.Object
io.jmix.aitools.dataload.execution.GeneratedJpqlParameter

@NullMarked public class GeneratedJpqlParameter extends Object
A single named query parameter as produced by the JPQL generation layer.

The value is still untyped at this stage and is converted to the actual Java type before execution.

  • Field Details

    • name

      protected String name
    • type

      protected String type
    • value

      protected @Nullable Object value
  • Constructor Details

    • GeneratedJpqlParameter

      public GeneratedJpqlParameter(String name, String type, @Nullable Object value)
      Parameters:
      name - parameter name as used in the JPQL text
      type - declared Java type name of the parameter (for example "String" or "java.util.UUID")
      value - raw parameter value
  • Method Details

    • getName

      public String getName()
      Returns the parameter name as used in the JPQL text.
      Returns:
      parameter name
    • getType

      public String getType()
      Returns the declared Java type name of the parameter, for example "String" or "java.util.UUID".
      Returns:
      Java type name
    • getValue

      public @Nullable Object getValue()
      Returns the raw, not-yet-converted parameter value.
      Returns:
      parameter value, or null if none was provided
    • toString

      public String toString()
      Overrides:
      toString in class Object