Package org.hibernate.metamodel.spi
Interface ValueAccess
-
- All Known Implementing Classes:
AbstractEmbeddableInitializer
,AbstractNonAggregatedIdentifierMappingInitializer
,AggregateEmbeddableFetchInitializer
,AggregateEmbeddableResultInitializer
,EmbeddableFetchInitializer
,EmbeddableResultInitializer
,NonAggregatedIdentifierMappingFetchInitializer
,NonAggregatedIdentifierMappingResultInitializer
@Incubating public interface ValueAccess
Provides access to the values for a managed type (currently just embeddables).- See Also:
EmbeddableInstantiator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Object
getOwner()
Access to the owner of the instance being instantiateddefault <T> T
getValue(int i, Class<T> clazz)
Access to an individual value.Object[]
getValues()
The complete set of values.
-
-
-
Method Detail
-
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
-
-