[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

BackupPackageContents

inherits from PackageContents

Object <- PackageContents <- BackupPackageContents



Operations

Get list of all operations

BackupCorrupted
BackupFitsInMemory
CheckBackupCompatibility
IsBackupCompatible


Attributes

Get list of all attributes

Class BackupPackageContents defines no new attributes.


Fields

Field Type
HasDate: dateCreated: Signed
timeCreated: Unsigned
dateModified: Signed
timeModified: Unsigned
PackageContents: autoActivate: Boolean
installationList: ObjectList
BackupPackageContents: backupData: Buffer


Instance template

instance BackupPackageContents tag;
    dateCreated: 0;
    timeCreated: 0;
   dateModified: 0;
   timeModified: 0;
   autoActivate: false;
installationList: nilObject;
     backupData: nilObject;
end instance;

Class definition

Define Class BackupPackageContents;
    inherits from PackageContents;

    field backupData: Buffer;
    
    operation BackupCorrupted():Boolean;
      // integrity-check.  Only start restore if this returns false.
    operation IsBackupCompatible():Boolean;
      // compatibility check.  Only start restore if this returns true
    operation BackupFitsInMemory():Boolean;
      // Does our device have enough memory?  Only start restore if this returns true
    
// Private

    intrinsic CheckBackupCompatibility(backupHeader: Pointer): Boolean;
end class;