Interface ValueAccess

All Known Implementing Classes:
EmbeddableInitializerImpl.EmbeddableInitializerData, NonAggregatedIdentifierMappingInitializer.NonAggregatedIdentifierMappingInitializerData, StructAttributeValues

@Incubating public interface ValueAccess
Provides access to the values for a managed type (currently just embeddables).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default Object
    Access to the owner of the instance being instantiated
    default <T> T
    getValue(int i, Class<T> clazz)
    Access to an individual value.
    The complete set of values.
  • Method Details

    • getValues

      Object[] getValues()
      The complete set of values.
    • getValue

      default <T> T getValue(int i, Class<T> clazz)
      Access to an individual value.
      API Note:
      It is important to remember that attributes are sorted alphabetically. So the values here will be in alphabetically order according to the names of the corresponding attribute
    • getOwner

      default Object getOwner()
      Access to the owner of the instance being instantiated