@ Override public void becomeCloneOf ( ManagedObject clone ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "becomeCloneOf" , "Clone=" + clone ) ; PersistableMetaData theOther = ( PersistableMetaData ) clone ; _uniqueID = theOther . _uniqueID ; _streamID = theOther . _streamID ; _lockID = theOther . _lockID ; _referredID = theOther . _referredID ; _sequence = theOther . _sequence ; _expiryTime = theOther . _expiryTime ; _storageStrategy = theOther . _storageStrategy ; _priority = theOther . _priority ; _persistentSize = theOther . _persistentSize ; _maxDepth = theOther . _maxDepth ; _canExpireSilently = theOther . _canExpireSilently ; _logicallyDeleted = theOther . _logicallyDeleted ; _type = theOther . _type ; _className = theOther . _className ; _transactionId = theOther . _transactionId ; _streamListToken = theOther . _streamListToken ; _itemListToken = theOther . _itemListToken ; _rawDataToken = theOther . _rawDataToken ; _containsExpirables = theOther . _containsExpirables ; _redeliveredCount = theOther . _redeliveredCount ; _deliveryDelayTime = theOther . _deliveryDelayTime ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "becomeCloneOf" ) ; }
Replace the state of this object with the same object in some other state . Used to restore the before image if a transaction rolls back .