Class TransformationMappingChangeRecord

    • Constructor Detail

      • TransformationMappingChangeRecord

        public TransformationMappingChangeRecord()
        This default constructor.
      • TransformationMappingChangeRecord

        public TransformationMappingChangeRecord​(ObjectChangeSet owner)
        This is the basic constructor for this change Record. This change record stores the fields that have changed as that is our current method of comparing changes.
    • Method Detail

      • getRecord

        public Record getRecord()
        ADVANCED: This method is used to access the changes of the fields in a transformation mapping.
        Specified by:
        getRecord in interface TransformationMappingChangeRecord
        Returns:
        org.eclipse.persistence.sessions.Record
      • setRow

        public void setRow​(AbstractRecord record)
        This method is used to add a changed value to the changeRecord. The changes in a transformation mapping are recorded on the database field level
        Parameters:
        record - Record the values from the transformation mapping
      • updateReferences

        public void updateReferences​(UnitOfWorkChangeSet mergeToChangeSet,
                                     UnitOfWorkChangeSet mergeFromChangeSet)
        INTERNAL: This method will be used to update the objectsChangeSets references There is nothing to do for this mapping type as there are no object references
        Specified by:
        updateReferences in class ChangeRecord
      • getOldValue

        public Object getOldValue()
        ADVANCED: Return the old value of the attribute represented by this ChangeRecord.
        Specified by:
        getOldValue in interface ChangeRecord
      • setOldValue

        public void setOldValue​(Object oldValue)
        INTERNAL: Set the old value of the attribute represented by this ChangeRecord.