Top Description Methods
org.hibernate.metamodel.spi

public Interface ValueAccess

Known Direct Implementers
org.hibernate.sql.results.graph.embeddable.AbstractEmbeddableInitializer, org.hibernate.sql.results.graph.embeddable.internal.AbstractNonAggregatedIdentifierMappingInitializer
Annotations
@Incubating
Imports
org.hibernate.Incubating

Provides access to the values for a managed type (currently just embeddables).
Author
Christian Beikov
See Also
EmbeddableInstantiator

Method Summary

Modifier and TypeMethod and Description
public default Object
getOwner()

Access to the owner of the instance being instantiated

public default <T> T
getValue(int i, Class<T> clazz)

Access to an individual value.

public Object[]
getValues()

The complete set of values.

Method Detail

getOwnerback to summary
public default Object getOwner()

Access to the owner of the instance being instantiated

getValueback to summary
public 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

getValuesback to summary
public Object[] getValues()

The complete set of values.