Attribute instances. Exposes 3 main services for building
| Modifier and Type | Class and Description |
|---|---|
| private static interface | AttributeFactory.AttributeContext<
The owner type. X>Bundle's a Hibernate property mapping together with the JPA metamodel information of the attribute owner. |
| private static interface | AttributeFactory.AttributeMetadata<
The attribute owner type X, The attribute type. Y>Basic contract for describing an attribute. |
| private abstract class | |
| private static interface | AttributeFactory.MemberResolver
Contract for how we resolve the |
| private static interface | AttributeFactory.PluralAttributeMetadata<
The owner type X, The attribute type (the collection type) Y, The collection element type E>Attribute metadata contract for a plural attribute. |
| private class | |
| private static interface | AttributeFactory.SingularAttributeMetadata<
The owner type X, The attribute type Y>Attribute metadata contract for a non-plural attribute. |
| private class | |
| private static interface | AttributeFactory.ValueContext
A contract for defining the meta information about a |
| Modifier and Type | Field and Description |
|---|---|
| private final MetadataContext | |
| private final AttributeFactory. | |
| private final AttributeFactory. | |
| private static final EntityManagerMessageLogger | |
| private final AttributeFactory. | normalMemberResolver
A |
| private final AttributeFactory. | |
| private final AttributeFactory. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected <Y> Class | |
| public < The type of the owner X, The attribute type Y> PersistentAttributeDescriptor | Returns: The built attribute descriptor or null if the attribute is not part of the JPA 2 model (eg backrefs)The descriptor of the attribute owner (aka declarer). ownerType, Property The Hibernate property descriptor for the attribute property)Build a normal attribute. |
| public < The type of the owner X, The attribute type Y> SingularPersistentAttribute | Returns: The built attribute descriptorThe descriptor of the attribute owner (aka declarer). ownerType, Property The Hibernate property descriptor for the identifier attribute property)Build the identifier attribute descriptor |
| private <X, Y, E, K> PersistentAttributeDescriptor | |
| public < The type of the owner X, The attribute type Y> SingularAttributeImpl | Returns: The built attribute descriptorThe descriptor of the attribute owner (aka declarer). ownerType, Property The Hibernate property descriptor for the version attribute property)Build the version attribute descriptor |
| private < The owner type X, The attribute type Y> AttributeFactory. | Returns: The attribute descriptionThe attribute to be described attributeContext,Strategy for how to resolve the member defining the attribute. memberResolverHere is most of the nuts and bolts of this factory, where we interpret the known JPA metadata against the known Hibernate metadata and build a descriptor for the attribute. |
| public static PluralAttribute. | |
| private <Y> SimpleTypeDescriptor | |
| public static Attribute. | |
| private EntityMetamodel | |
| public static ParameterizedType | |
| public static boolean | |
| private <X> AttributeFactory. |