Package org.hibernate.tuple
Interface ValueGenerator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
Defines a generator for in-VM generation of (non-identifier) attribute values.
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptiongenerateValue(Session session, Object owner) Deprecated, for removal: This API element is subject to removal in a future version.Generate the value.default TgenerateValue(Session session, Object owner, Object currentValue) Deprecated, for removal: This API element is subject to removal in a future version.Generate the value.
-
Method Details
-
generateValue
Deprecated, for removal: This API element is subject to removal in a future version.Generate the value.- Parameters:
session- The Session from which the request originates.owner- The instance of the object owning the attribute for which we are generating a value.- Returns:
- The generated value
-
generateValue
Deprecated, for removal: This API element is subject to removal in a future version.Generate the value.- Parameters:
session- The Session from which the request originates.owner- The instance of the object owning the attribute for which we are generating a value.currentValue- The current value assigned to the property- Returns:
- The generated value
-
Generator