public class EmbeddableHierarchy extends Object implements Iterable<EmbeddableClass>
Modifier and Type | Method and Description |
---|---|
static EmbeddableHierarchy |
createEmbeddableHierarchy(Class<?> embeddableClass,
String propertyName,
javax.persistence.AccessType accessType,
AnnotationBindingContext context)
Builds the configured class hierarchy for a an embeddable class.
|
javax.persistence.AccessType |
getDefaultAccessType() |
EmbeddableClass |
getLeaf() |
Iterator<EmbeddableClass> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static EmbeddableHierarchy createEmbeddableHierarchy(Class<?> embeddableClass, String propertyName, javax.persistence.AccessType accessType, AnnotationBindingContext context)
embeddableClass
- the top level embedded classpropertyName
- the name of the property in the entity class embedding this embeddableaccessType
- the access type inherited from the class in which the embeddable gets embeddedcontext
- the annotation binding context with access to the service registry and the annotation indexConfiguredClassHierarchy
s. One for each "leaf" entity.public javax.persistence.AccessType getDefaultAccessType()
public Iterator<EmbeddableClass> iterator()
iterator
in interface Iterable<EmbeddableClass>
public EmbeddableClass getLeaf()
Copyright © 2022. All rights reserved.