Class BackupIdentityProjection

  • public class BackupIdentityProjection
    extends MorpheusModel
    Provides a subset of properties from the Backup object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object
    See Also:
    • Field Detail

      • externalId

        protected java.lang.String externalId
      • name

        protected java.lang.String name
      • typeCode

        protected java.lang.String typeCode
    • Constructor Detail

      • BackupIdentityProjection

        public BackupIdentityProjection()
      • BackupIdentityProjection

        public BackupIdentityProjection​(java.lang.Long id,
                                        java.lang.String externalId,
                                        java.lang.String name,
                                        java.lang.String typeCode)
    • Method Detail

      • getExternalId

        public java.lang.String getExternalId()
        returns the externalId also known as the API id of the equivalent object.
        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
        externalId - the external id or API id of the current record
      • getName

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

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