Attribute instances. Exposes 3 main services for building
| Modifier and Type | Field and Description |
|---|---|
| private final MetadataContext | |
| private static final MemberResolver | |
| private final MemberResolver | |
| private static final EntityManagerMessageLogger | |
| private static final MemberResolver | normalMemberResolver
A |
| private final MemberResolver | |
| private static final MemberResolver |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static <Y> DomainType | |
| public < The type of the owner X, The attribute type Y> PersistentAttribute | 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 static <X, Y> PersistentAttribute | |
| 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 |
| 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 static <Y> EmbeddableDomainType | |
| private < The owner type X, The attribute type Y> AttributeMetadata | Returns: The attribute descriptionThe attribute to be described attributeContext, MemberResolver Strategy for how to resolve the member defining the attribute. memberResolver)Here 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. |
| private static <X, Y> AttributeMetadata | determineAttributeMetadata(AttributeContext<X> attributeContext, MemberResolver memberResolver, MetadataContext context)
|
| private static JavaType | determineRelationalJavaType(ValueContext typeContext, DomainType<?> metaModelType, MetadataContext context)
|
| private <Y> DomainType | |
| public static <Y> DomainType | |
| public static AttributeClassification | |
| private static <Y> EmbeddableTypeImpl | |
| private static <Y> EmbeddableDomainType | |
| private static <Y> DomainType | |
| private static EntityPersister | |
| private static EntityPersister | |
| public static ParameterizedType | |
| public static boolean | |
| private static <X> AttributeContext |
| context | back to summary |
|---|---|
| private final MetadataContext context | |
| embeddedMemberResolver | back to summary |
|---|---|
| private static final MemberResolver embeddedMemberResolver | |
| identifierMemberResolver | back to summary |
|---|---|
| private final MemberResolver identifierMemberResolver | |
| LOG | back to summary |
|---|---|
| private static final EntityManagerMessageLogger LOG | |
| normalMemberResolver | back to summary |
|---|---|
| private static final MemberResolver normalMemberResolver A | |
| versionMemberResolver | back to summary |
|---|---|
| private final MemberResolver versionMemberResolver | |
| virtualIdentifierMemberResolver | back to summary |
|---|---|
| private static final MemberResolver virtualIdentifierMemberResolver | |
| AttributeFactory | back to summary |
|---|---|
| public AttributeFactory(MetadataContext context) | |
| basicDomainType | back to summary |
|---|---|
| private static <Y> DomainType | |
| buildAttribute | back to summary |
|---|---|
| public <X, Y> PersistentAttribute Build a normal attribute.
| |
| buildAttribute | back to summary |
|---|---|
| public static <X, Y> PersistentAttribute | |
| buildIdAttribute | back to summary |
|---|---|
| public <X, Y> SingularPersistentAttribute Build the identifier attribute descriptor
| |
| buildVersionAttribute | back to summary |
|---|---|
| public <X, Y> SingularAttributeImpl Build the version attribute descriptor
| |
| classEmbeddableType | back to summary |
|---|---|
| private static <Y> EmbeddableDomainType | |
| determineAttributeMetadata | back to summary |
|---|---|
| private <X, Y> AttributeMetadata Here 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.
| |
| determineAttributeMetadata | back to summary |
|---|---|
| private static <X, Y> AttributeMetadata | |
| determineRelationalJavaType | back to summary |
|---|---|
| private static JavaType | |
| determineSimpleType | back to summary |
|---|---|
| private <Y> DomainType | |
| determineSimpleType | back to summary |
|---|---|
| public static <Y> DomainType | |
| determineSingularAssociationClassification | back to summary |
|---|---|
| public static AttributeClassification determineSingularAssociationClassification(Member member) | |
| dynamicEmbeddableType | back to summary |
|---|---|
| private static <Y> EmbeddableTypeImpl | |
| embeddableDomainType | back to summary |
|---|---|
| private static <Y> EmbeddableDomainType | |
| entityDomainType | back to summary |
|---|---|
| private static <Y> DomainType | |
| getDeclarerEntityPersister | back to summary |
|---|---|
| private static EntityPersister getDeclarerEntityPersister(AbstractIdentifiableType<?> ownerType, MetadataContext metadataContext) | |
| getDeclaringEntity | back to summary |
|---|---|
| private static EntityPersister getDeclaringEntity(AbstractIdentifiableType<?> ownerType, MetadataContext metadataContext) | |
| getSignatureType | back to summary |
|---|---|
| public static ParameterizedType getSignatureType(Member member) | |
| isManyToMany | back to summary |
|---|---|
| public static boolean isManyToMany(Member member) | |
| wrap | back to summary |
|---|---|
| private static <X> AttributeContext | |