Package org.hibernate.tuple
Interface Tuplizer
-
@Deprecated public interface Tuplizer
Deprecated.A tuplizer defines the contract for things which know how to manage a particular representation of a piece of data, given that representation'sRepresentationMode
(the entity-mode essentially defining which representation). If that given piece of data is thought of as a data structure, then a tuplizer is the thing which knows how to- create such a data structure appropriately
- extract values from and inject values into such a data structure
- create the data structure by calling the POJO's constructor
- extract and inject values through getters/setter, or by direct field access, etc
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Getter
getGetter(int i)
Deprecated.Retrieve the getter for the specified property.Class<?>
getMappedClass()
Deprecated.Return the pojo class managed by this tuplizer.Object
getPropertyValue(Object entity, int i)
Deprecated.Extract the value of a particular property from the given entity.
-
-
-
Method Detail
-
getPropertyValue
Object getPropertyValue(Object entity, int i)
Deprecated.Extract the value of a particular property from the given entity.- Parameters:
entity
- The entity from which to extract the property value.i
- The index of the property for which to extract the value.- Returns:
- The current value of the given property on the given entity.
-
getMappedClass
Class<?> getMappedClass()
Deprecated.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...- Returns:
- The persistent class.
-
getGetter
Getter getGetter(int i)
Deprecated.Retrieve the getter for the specified property.- Parameters:
i
- The property index.- Returns:
- The property getter.
-
-