ComponentTuplizer specific to the pojo entity mode.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private ReflectionOptimizer | |
| private final Getter | |
| private final Setter |
| Access | Constructor and Description |
|---|---|
| public |
| componentClass | back to summary |
|---|---|
| private final Class<T> componentClass | |
| optimizer | back to summary |
|---|---|
| private ReflectionOptimizer optimizer | |
| parentGetter | back to summary |
|---|---|
| private final Getter parentGetter | |
| parentSetter | back to summary |
|---|---|
| private final Setter parentSetter | |
| PojoComponentTuplizer | back to summary |
|---|---|
| public PojoComponentTuplizer(Component component) | |
| buildGetter | back to summary |
|---|---|
| protected Getter buildGetter(Component component, Property prop) Implements abstract org. | |
| buildInstantiator | back to summary |
|---|---|
| protected Instantiator buildInstantiator(Component component) Implements abstract org. | |
| buildSetter | back to summary |
|---|---|
| protected Setter buildSetter(Component component, Property prop) Implements abstract org. | |
| getMappedClass | back to summary |
|---|---|
| public Class Implements org. Doc from org. Return the pojo class managed by this tuplizer. Need to determine how to best handle this for the Tuplizers for EntityModes other than POJO. todo : be really nice to not have this here since it is essentially pojo specific...
| |
| getParent | back to summary |
|---|---|
| public Object getParent(Object component) Overrides org. Implements org. Doc from org. Retreive the current value of the parent property. | |
| getPropertyValues | back to summary |
|---|---|
| public Object[] getPropertyValues(Object component) throws HibernateException Overrides org. Implements org. Doc from org. Extract the current values contained on the given entity. | |
| hasParentProperty | back to summary |
|---|---|
| public boolean hasParentProperty() Overrides org. Implements org. Doc from org. Does the component managed by this tuuplizer contain a parent property?
| |
| isMethodOf | back to summary |
|---|---|
| public boolean isMethodOf(Method method) Overrides org. Implements org. Doc from org. Is the given method available via the managed component as a property getter?
| |
| setParent | back to summary |
|---|---|
| public void setParent(Object component, Object parent, SessionFactoryImplementor factory) Overrides org. Implements org. Doc from org. Set the value of the parent property.
| |
| setPropertyValues | back to summary |
|---|---|
| public void setPropertyValues(Object component, Object[] values) throws HibernateException Overrides org. Implements org. Doc from org. Inject the given values into the given entity. | |
| Modifier and Type | Field and Description |
|---|---|
| private final BasicProxyFactory | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | instantiate(Serializable
The id of the entity to be instantiated. id)Implements org. |
| public Object | instantiate()
Implements org. |
| public boolean | isInstance(Object
The object to be checked. object)Implements org. |
| factory | back to summary |
|---|---|
| private final BasicProxyFactory factory | |
| proxiedClass | back to summary |
|---|---|
| private final Class<T> proxiedClass | |
| ProxiedInstantiator | back to summary |
|---|---|
| public ProxiedInstantiator(Component component) | |
| instantiate | back to summary |
|---|---|
| public Object instantiate(Serializable id) Implements org. Doc from org. Perform the requested entity instantiation. This form is never called for component instantiation, only entity instantiation.
| |
| instantiate | back to summary |
|---|---|
| public Object instantiate() Implements org. Doc from org. Perform the requested instantiation.
| |
| isInstance | back to summary |
|---|---|
| public boolean isInstance(Object object) Implements org. Doc from org. Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
| |