com.siviam.bobup.general
Interface IBackup


public interface IBackup

Objects that implement this interface indicate that they are business objects that can be backed up. An IBackup instance does not strictly correspond to a particular business object. In fact, more than one type of IBackup instance could correspond to a business object. However, every IBackup instance is uniquely identifiable through the getId() method and associated with the unique business object through the getBusinessObjectId() method.

Author:
vishnu

Method Summary
 java.lang.String getBusinessObjectId()
          Obtains the unique identifier of the business object associated with this IBackup instance.
 java.lang.String getId()
          Obtains the unique identifier of this object.
 IBackupPart[] getParts(java.lang.Object object)
          Obtains the constituent parts of this backup object.
 

Method Detail

getBusinessObjectId

public java.lang.String getBusinessObjectId()
Obtains the unique identifier of the business object associated with this IBackup instance.

Returns:
the business object unique id.

getId

public java.lang.String getId()
Obtains the unique identifier of this object.

Returns:
the unique identifier of this object.

getParts

public IBackupPart[] getParts(java.lang.Object object)
                       throws java.lang.Exception
Obtains the constituent parts of this backup object.

Parameters:
object - any object needed for this implementation to generate its constituent parts.
Returns:
the constituent parts of the backup object.
Throws:
java.lang.Exception


Copyright © 2001-2006. All Rights Reserved.