public class EmbeddableHierarchy extends Object implements Iterable<EmbeddableClass>
Modifier and Type | Method and Description |
---|---|
static EmbeddableHierarchy |
createEmbeddableHierarchy(Class<?> embeddableClass,
String propertyName,
AccessType accessType,
AnnotationBindingContext context)
Builds the configured class hierarchy for a an embeddable class.
|
AccessType |
getDefaultAccessType() |
EmbeddableClass |
getLeaf() |
Iterator<EmbeddableClass> |
iterator() |
String |
toString() |
public static EmbeddableHierarchy createEmbeddableHierarchy(Class<?> embeddableClass, String propertyName, 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 AccessType getDefaultAccessType()
public Iterator<EmbeddableClass> iterator()
iterator
in interface Iterable<EmbeddableClass>
public EmbeddableClass getLeaf()
Copyright © 2018 JBoss by Red Hat. All rights reserved.