Package org.hibernate.generator.values
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 Summary
Modifier and TypeMethodDescriptionvoid
addGeneratedValue
(ModelPart modelPart, Object value) Register a generated value for the correspondingModelPart
getGeneratedValue
(ModelPart modelPart) Retrieve a generated value for the requestedModelPart
.getGeneratedValues
(List<? extends ModelPart> modelParts) Retrieves a list of generated values corresponding to the list of requestedModelPart
s.
-
Method Details
-
addGeneratedValue
Register a generated value for the correspondingModelPart
-
getGeneratedValue
Retrieve a generated value for the requestedModelPart
. -
getGeneratedValues
Retrieves a list of generated values corresponding to the list of requestedModelPart
s. Ensures the order of the values in the returned list corresponds to the input properties.
-