| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static interface | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final EntityMetamodel | |
| protected final Getter[] | |
| protected final boolean | |
| private final CompositeType | |
| private final Getter | |
| private final Setter | |
| private final Instantiator | |
| private final AbstractEntityTuplizer. | |
| protected final int | |
| private final ProxyFactory | |
| protected final Setter[] |
| Access | Constructor and Description |
|---|---|
| public | AbstractEntityTuplizer(EntityMetamodel
The "interpreted" information relating to the mapped entity. entityMetamodel, PersistentClass The parsed "raw" mapping data relating to the given entity. mappingInfo)Constructs a new AbstractEntityTuplizer instance. |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterInitialize(Object
The entity being initialized. entity, SharedSessionContractImplementor The session initializing this entity. session)Implements org. |
| protected abstract Instantiator | Returns: An appropriate Instantiator instance.The mapping information regarding the mapped entity. mappingInfo)Build an appropriate Instantiator for the given mapped entity. |
| private static AbstractEntityTuplizer. | buildMappedIdentifierValueMarshaller(String entityName, SessionFactoryImplementor sessionFactory, ComponentType mappedIdClassComponentType, ComponentType virtualIdComponent, KeyValue identifier)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| protected abstract Getter | Returns: An appropriate Getter instance.The property to be accessed via the built Getter. mappedProperty, PersistentClass The entity information regarding the mapped entity owning this property. mappedEntity)Build an appropriate Getter for the given property. |
| protected abstract Setter | Returns: An appropriate Setter instance.The property to be accessed via the built Setter. mappedProperty, PersistentClass The entity information regarding the mapped entity owning this property. mappedEntity)Build an appropriate Setter for the given property. |
| protected abstract ProxyFactory | Returns: An appropriate ProxyFactory instance.The mapping information regarding the mapped entity. mappingInfo, Getter The constructed Getter relating to the entity's id property. idGetter, Setter The constructed Setter relating to the entity's id property. idSetter)Build an appropriate ProxyFactory for the given mapped entity. |
| public final Object | createProxy(Serializable
The id of the instance for which to generate a proxy. id, SharedSessionContractImplementor The session to which the proxy should be bound. session)Implements org. |
| private static Serializable | determineEntityId(Object entity, AssociationType associationType, SharedSessionContractImplementor session, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private int | |
| protected Object | Returns: The property value extracted.The component property types. type, Object The component instance itself. component, String The property path for the property to be extracted. propertyPath)Extract a component property value. |
| protected final EntityMetamodel | |
| protected String | |
| protected final SessionFactoryImplementor | |
| public Getter | getGetter(int
The property index. i)Implements org. |
| public Serializable | getIdentifier(Object
The entity from which to extract the identifier value. entity)Implements org. |
| public Serializable | getIdentifier(Object
The entity from which to extract the identifier value. entity, SharedSessionContractImplementor The session from which is requests originates session)Implements org. |
| public Getter | getIdentifierGetter()
Implements org. |
| public Type | |
| protected final Instantiator | |
| public Object | getPropertyValue(Object
The entity from which to extract the property value. entity, int The index of the property for which to extract the value. i)Implements org. |
| public Object | getPropertyValue(Object
The entity from which to extract the property value. entity, String The name of the property for which to extract the value. propertyPath)Implements org. |
| public Object[] | getPropertyValues(Object
The entity from which to extract values. entity)Implements org. |
| public Object[] | getPropertyValuesToInsert(Object
The entity from which to extract. entity, Map<K, V> a map of instances being merged to merged instances mergeMap, SharedSessionContractImplementor The session in which the result set is being made. session)Implements org. |
| public final ProxyFactory | |
| protected Set | Returns: Any subclass entity-names.Retrieves the defined entity-names for any subclasses defined for this entity. |
| public Object | getVersion(Object
The entity from which to extract the version value. entity)Implements org. |
| public Getter | getVersionGetter()
Implements org. |
| public boolean | hasProxy()
Implements org. |
| public final Object | instantiate(Serializable
The identifier value for the entity to be instantiated. id)Implements org. |
| public final Object | instantiate(Serializable
The identifier value for the entity to be instantiated. id, SharedSessionContractImplementor The session from which is requests originates session)Implements org. |
| public final Object | |
| public final boolean | isInstance(Object
The object to be checked. object)Implements org. |
| public boolean | isLifecycleImplementor()
Implements org. class managed by this tuplizer implement
the org. interface.
|
| protected void | |
| public void | resetIdentifier(Object
The entity for which to reset the id/version values entity, Serializable The identifier value to inject into the entity. currentId, Object The version value to inject into the entity. currentVersion)Implements org. |
| public void | resetIdentifier(Object
The entity for which to reset the id/version values entity, Serializable The identifier value to inject into the entity. currentId, Object The version value to inject into the entity. currentVersion, SharedSessionContractImplementor The session from which the request originated session)Implements org. |
| private static EntityPersister | resolveEntityPersister(Object entity, AssociationType associationType, SharedSessionContractImplementor session, SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| public void | setIdentifier(Object
The entity to inject with the identifier value. entity, Serializable The value to be injected as the identifier. id)Implements org. |
| public void | setIdentifier(Object
The entity to inject with the identifier value. entity, Serializable The value to be injected as the identifier. id, SharedSessionContractImplementor The session from which is requests originates session)Implements org. |
| public void | setPropertyValue(Object
The entity into which to inject the value. entity, int The property's index. i, Object The property value to inject. value)Implements org. |
| public void | setPropertyValue(Object
The entity into which to inject the value. entity, String The name of the property. propertyName, Object The property value to inject. value)Implements org. |
| public void | setPropertyValues(Object
The entity. entity, Object[] The values to be injected. values)Implements org. |
| private void | |
| protected boolean | |
| public String |