X - the generic typeprivate class MetaModelBuilder.TypeBuilder<X> extends Object
| Modifier and Type | Class and Description |
|---|---|
private class |
MetaModelBuilder.TypeBuilder.AttributeBuilder<X,T>
The Class AttributeBuilder.
|
| Modifier and Type | Field and Description |
|---|---|
private Field |
attribute
The attribute.
|
private javax.persistence.metamodel.Attribute.PersistentAttributeType |
persistentAttribType
The persistent attribute type.
|
| Constructor and Description |
|---|
MetaModelBuilder.TypeBuilder(Field attribute)
Instantiates a new type builder.
|
MetaModelBuilder.TypeBuilder(Field attribute,
javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttribType)
Instantiates a new type builder.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
build(AbstractManagedType managedType,
Class attributeType)
Builds the.
|
(package private) <T> javax.persistence.metamodel.Type<T> |
buildType(Class<T> attribType)
Builds the type.
|
private void |
isValidId(AbstractManagedType superType) |
private void |
onPostProcess(AbstractManagedType<T> embeddableType)
Checks for constraint on embeddabletype and accordingly set it on
managedType
|
private AbstractManagedType |
processOnEmbeddables(Class attribType)
Process on embeddables.
|
private Field attribute
private javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttribType
MetaModelBuilder.TypeBuilder(Field attribute)
attribute - the attributeMetaModelBuilder.TypeBuilder(Field attribute, javax.persistence.metamodel.Attribute.PersistentAttributeType persistentAttribType)
attribute - the attributepersistentAttribType - the persistent attrib type<T> javax.persistence.metamodel.Type<T> buildType(Class<T> attribType)
T - the generic typeattribType - the attrib typeprivate AbstractManagedType processOnEmbeddables(Class attribType)
T - the generic typeattribType - the attrib typeprivate void onPostProcess(AbstractManagedType<T> embeddableType)
embeddableType - void build(AbstractManagedType managedType, Class attributeType)
managedType - the managed typeattributeType - the attribute typeprivate void isValidId(AbstractManagedType superType)
Copyright © 2015. All Rights Reserved.