Class UnitOfWorkTransformerValueHolder

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, ValueHolderInterface, WeavedAttributeValueHolderInterface, WrappingValueHolder

    public class UnitOfWorkTransformerValueHolder
    extends UnitOfWorkValueHolder
    UnitOfWorkTransformerValueHolder wraps a database-stored object and implements behavior to access it. The object is read from the database by invoking a user-specified transformer object. This value holder is used only in the unit of work. Most of the methods ignore the actual attribute values and are simply used to trigger instantiation.
    Author:
    Sati
    See Also:
    Serialized Form
    • Field Detail

      • cloneOfObject

        protected transient java.lang.Object cloneOfObject
      • object

        protected transient java.lang.Object object
    • Method Detail

      • buildBackupCloneFor

        protected java.lang.Object buildBackupCloneFor​(java.lang.Object cloneAttributeValue)
        Backup the clone attribute value.
        Specified by:
        buildBackupCloneFor in class UnitOfWorkValueHolder
      • buildCloneFor

        public java.lang.Object buildCloneFor​(java.lang.Object originalAttributeValue)
        Clone the original attribute value.
        Specified by:
        buildCloneFor in class UnitOfWorkValueHolder
      • getCloneOfObject

        protected java.lang.Object getCloneOfObject()
      • getObject

        protected java.lang.Object getObject()