RbDe rbde-349 (20120127151154)

edu.mssm.crover.scentral
Interface UpgradableObject

All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomizedDiagramImpl3_0, CustomizedDiagramImpl5_0

public interface UpgradableObject
extends Serializable

Objects that implement this interface are able to transfer their contents to another upgradable object.


Method Summary
 void dispose()
          Dispose of the resources used by this instance.
 void postTransfer(UpgradableObject source)
          Post transfer operation.
 void transfer(UpgradableObject destination)
          Transfers the content of this instance to the destination.
 

Method Detail

dispose

void dispose()
Dispose of the resources used by this instance.


transfer

void transfer(UpgradableObject destination)
Transfers the content of this instance to the destination.

Parameters:
destination - The object to transfer to

postTransfer

void postTransfer(UpgradableObject source)
Post transfer operation. Called by the source on the destination to give it an opportunity to initialize the part of its state that is unknown to the source. The destination can use the source reference to obtain any required extra information that was not initialized during transfer(UpgradableObject).

Parameters:
source - The source of the transfer

RbDe rbde-349 (20120127151154)

Copyright © 2003-2012 Institute for Computational Biomedicine, All Rights Reserved.