Class BackupResultIdentityProjection


  • public class BackupResultIdentityProjection
    extends MorpheusModel
    • Field Detail

      • externalId

        protected java.lang.String externalId
      • backupName

        protected java.lang.String backupName
    • Constructor Detail

      • BackupResultIdentityProjection

        public BackupResultIdentityProjection()
      • BackupResultIdentityProjection

        public BackupResultIdentityProjection​(java.lang.Long id,
                                              java.lang.String externalId,
                                              java.lang.String backupName)
    • Method Detail

      • getExternalId

        public java.lang.String getExternalId()
        returns the externalId also known as the API id of the equivalent object.
        Returns:
        the external id or API id of the current record
      • setExternalId

        public void setExternalId​(java.lang.String externalId)
        Sets the externalId of the backup. In this class this should not be called directly
        Parameters:
        externalId - the external id or API id of the current record
      • getBackupName

        public java.lang.String getBackupName()
        Gets the name of the backup. This is on the identity projection in case a fallback match needs to happen by name
        Returns:
        the current name of the backup
      • setBackupName

        public void setBackupName​(java.lang.String backupName)
        Sets the name of the Backup. Typically this isnt called directly.
        Parameters:
        backupName - the name of the backup to be assigned.