Class UpdateIdentityProjection

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UpdateDefinition, UpdateOperation

public class UpdateIdentityProjection extends MorpheusIdentityModel
Identity projection for UpdateDefinition records.

Used by MorpheusUpdateDefinitionService and MorpheusSynchronousUpdateDefinitionService for efficient identity-based sync operations without loading full model state.

Stable sync identity: The code field is the recommended stable identity for matching update definitions during sync. It should be unique within a given refType/refId scope (i.e., within a specific resource type). The appliance id (inherited from MorpheusIdentityModel via MorpheusModel) is the internal database key and should not be constructed by plugin authors — use code for authoring and sync matching.

Scope: Update definitions are scoped to a resource type via UpdateDefinition.getRefType() and UpdateDefinition.getRefId() on the full model. Expected refType values include "ComputeServerType", "StorageServerType", and "NetworkServerType".

See Also:
  • Field Details

    • code

      protected String code
      The stable plugin-defined code for this update definition. Used as the primary identity key during sync operations. Should be unique within a refType/refId scope.
    • name

      protected String name
      Display name of the update definition.
  • Constructor Details

    • UpdateIdentityProjection

      public UpdateIdentityProjection()
  • Method Details

    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getName

      public String getName()
    • setName

      public void setName(String name)