Interface GeneratedValues

All Known Implementing Classes:
GeneratedValuesImpl

public interface GeneratedValues
A container for database generated values retrieved by the mutation operation. The values are stored relative to the property they represent.
See Also:
  • Method Details

    • addGeneratedValue

      void addGeneratedValue(ModelPart modelPart, Object value)
      Register a generated value for the corresponding ModelPart
    • getGeneratedValue

      Object getGeneratedValue(ModelPart modelPart)
      Retrieve a generated value for the requested ModelPart.
    • getGeneratedValues

      List<Object> getGeneratedValues(List<? extends ModelPart> modelParts)
      Retrieves a list of generated values corresponding to the list of requested ModelParts. Ensures the order of the values in the returned list corresponds to the input properties.