public class EmbeddableHierarchy extends java.lang.Object implements java.lang.Iterable<EmbeddableClass>
Modifier and Type | Method and Description |
---|---|
static EmbeddableHierarchy |
createEmbeddableHierarchy(java.lang.Class<?> embeddableClass,
java.lang.String propertyName,
javax.persistence.AccessType accessType,
AnnotationBindingContext context)
Builds the configured class hierarchy for a an embeddable class.
|
javax.persistence.AccessType |
getDefaultAccessType() |
EmbeddableClass |
getLeaf() |
java.util.Iterator<EmbeddableClass> |
iterator() |
java.lang.String |
toString() |
public static EmbeddableHierarchy createEmbeddableHierarchy(java.lang.Class<?> embeddableClass, java.lang.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 java.util.Iterator<EmbeddableClass> iterator()
iterator
in interface java.lang.Iterable<EmbeddableClass>
public EmbeddableClass getLeaf()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.